¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 708°Ç
   
Heat Alarm Err - Liberty
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2016-01-19 (È­) 11:54 Á¶È¸ : 2958
                                
# tail -f /var/log/heat/heat-engine.log
2016-01-18 15:44:24.399 2836 ERROR heat.engine.resource BadRequest: Expecting to find domain in project - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-be9e5a3d-cd2a-441e-ba53-0175d9dd11d5)
2016-01-18 15:44:24.399 2836 ERROR heat.engine.resource
2016-01-18 15:44:25.445 2836 INFO heat.engine.service [-] Stack create failed, status FAILED
2016-01-18 15:44:25.472 2836 INFO heat.engine.stack [-] Stack CREATE FAILED (Autoscailing_demo1): Resource CREATE failed: BadRequest: resources.cpu_alarm_low: Expecting to find domain in project - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-be9e5a3d-cd2a-441e-ba53-0175d9dd11d5)


¾Æ·¡ °æ·Î¿¡ ÆÄÀÏ ¼öÁ¤ 
# pwd
/usr/lib/python2.7/dist-packages/heat/engine/clients/os
# vim ceilometer.py
.............................
        args = {
            'auth_url': con.auth_url,
            'service_type': self.METERING,
#            'project_name': con.tenant,
            'project_id': con.tenant_id,
            'token': lambda: self.auth_token,
            'endpoint_type': endpoint_type,
            'os_endpoint': endpoint,
.............................


»¡°£»öÀ¸·Î µÇ¾îÀÖ´Â ºÎºÐ¿¡ ÁÖ¼®Ã³¸®
# vim /etc/heat/heat.conf
[trustee]
auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
#project_name = service
username = heat
password = XXXXXXXXXXX

[ec2authtoken]
#auth_uri = http://controller:5000


heat µ¥¸ó Àç½ÃÀÛ
# for i in $(ls /etc/init.d/heat* |cut -d/ -f4); do service $i restart; done


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.