월간 인기 게시물

게시물 718건
   
heat stack-create --enable-rollback
글쓴이 : 최고관리자 날짜 : 2016-09-26 (월) 13:31 조회 : 3935
                                
:: stack 작성시 에러가 발생되면 stack에 의해 생성된 자원 리소스들을 삭제
  -r, --enable-rollback
                        Enable rollback on create/update failure.


# tail -f /var/log/heat/heat-engine.log
..................................................
2016-09-26 11:53:37.190 10256 INFO heat.engine.stack [-] Stack CREATE IN_PROGRESS (test): Stack CREATE started
2016-09-26 11:53:37.202 10256 INFO heat.engine.resource [-] creating AutoScalingResourceGroup "asg" Stack "test" [a47dda04-0a72-47d4-bfec-fa66a79a922d]
2016-09-26 11:53:37.245 10261 INFO heat.engine.service [req-20b16f07-b916-42cc-881c-f4e63cb9648c - akanaka - 9a152f2f5ecd48b88c6c521b8041ba52 9a152f2f5ecd48b88c6c521b8041ba52] Creating stack test-asg-5ii2c5l5rvij
2016-09-26 11:53:37.264 10261 INFO heat.engine.resource [req-20b16f07-b916-42cc-881c-f4e63cb9648c - akanaka - 9a152f2f5ecd48b88c6c521b8041ba52 9a152f2f5ecd48b88c6c521b8041ba52] Validating TemplateResource "d3sbdozy2kky"
2016-09-26 11:53:37.264 10261 WARNING heat.engine.rsrc_defn [req-20b16f07-b916-42cc-881c-f4e63cb9648c - akanaka - 9a152f2f5ecd48b88c6c521b8041ba52 9a152f2f5ecd48b88c6c521b8041ba52] Reading the ResourceDefinition as if it were a snippet of a CloudFormation template is deprecated, and the ability to treat it as such will be removed in the future. Resource plugins should use the ResourceDefinition API to work with the definition of the resource instance.
2016-09-26 11:53:37.264 10261 WARNING heat.engine.rsrc_defn [req-20b16f07-b916-42cc-881c-f4e63cb9648c - akanaka - 9a152f2f5ecd48b88c6c521b8041ba52 9a152f2f5ecd48b88c6c521b8041ba52] Reading the ResourceDefinition as if it were a snippet of a CloudFormation template is deprecated, and the ability to treat it as such will be removed in the future. Resource plugins should use the ResourceDefinition API to work with the definition of the resource instance.
2016-09-26 11:53:37.265 10261 WARNING heat.engine.rsrc_defn [req-20b16f07-b916-42cc-881c-f4e63cb9648c - akanaka - 9a152f2f5ecd48b88c6c521b8041ba52 9a152f2f5ecd48b88c6c521b8041ba52] Reading the ResourceDefinition as if it were a snippet of a CloudFormation template is deprecated, and the ability to treat it as such will be removed in the future. Resource plugins should use the ResourceDefinition API to work with the definition of the resource instance.
2016-09-26 11:53:37.273 10256 INFO heat.engine.resource [-] CREATE: AutoScalingResourceGroup "asg" Stack "test" [a47dda04-0a72-47d4-bfec-fa66a79a922d]
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource Traceback (most recent call last):
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 704, in _action_recorder
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource     yield
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 775, in _do_action
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource     yield self.action_handler_task(action, args=handler_args)
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 297, in wrapper
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource     step = next(subtask)
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 746, in action_handler_task
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource     handler_data = handler(*args)
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resources/aws/autoscaling/autoscaling_group.py", line 192, in handle_create
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource     return self.create_with_template(self.child_template())
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resources/stack_resource.py", line 296, in create_with_template
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource     self.raise_local_exception(ex)
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource   File "/usr/lib/python2.7/dist-packages/heat/engine/resources/stack_resource.py", line 338, in raise_local_exception
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource     raise exception.ResourceFailure(message, self, action=self.action)
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource ResourceFailure: resources.asg: Property error: resources.d3sbdozy2kky.properties: Property subnet not assigned
2016-09-26 11:53:37.273 10256 ERROR heat.engine.resource
2016-09-26 11:53:37.316 10256 INFO heat.engine.stack [-] Stack ROLLBACK IN_PROGRESS (test): Stack ROLLBACK started
2016-09-26 11:53:38.381 10256 INFO heat.engine.resource [-] deleting AutoScalingResourceGroup "asg" Stack "test" [a47dda04-0a72-47d4-bfec-fa66a79a922d]
2016-09-26 11:53:39.859 10256 INFO heat.engine.stack [-] Stack ROLLBACK COMPLETE (test): Stack ROLLBACK completed successfully
2016-09-26 11:53:39.878 10256 INFO heat.engine.service [-] Stack create failed, status COMPLETE


이름 패스워드
스타일
굴림
10pt
<html> <body>
 
 
 
 
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.