Description of problem: Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.Login to conductor 2.Build,push image to ec2 3.remove ami from EC2 console 4.launch instance using the image on conductor Actual results: Instance status is stuck in 'New' state Expected results: It should go to "create_failed" state Additional info: : INSERT INTO "events" ("created_at", "deleted_at", "status_code", "updated_at", "summary", "event_time", "source_type", "description", "source_id") VALUES ('2012-10-05 09:56:25.226744', NULL, 'deployment_launch_failed', '2012-10-05 09:56:25.226744', 'Failed to launch deployment', '2012-10-05 09:56:25.000000', 'Deployment', 'Match not found: jprovazn-ec2-test02/rhel62-rhem: RPrivate_Cloud: Frontend Cloud Resource Cluster Ecluster is not mapped to an applicable Cloud Resource Provider or Provider Realm, jprovazn-ec2-test02/rhel62-rhem: mock: Cloud Resource Provider must be enabled, jprovazn-ec2-test02/rhel62-rhem: VPrivate_cloud: Image is not pushed to this Cloud Resource Provider Account', 17) RETURNING "id" on rpm -qa | grep aeolus aeolus-conductor-doc-0.13.16-1.el6cf.noarch rubygem-aeolus-cli-0.7.3-1.el6cf.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch aeolus-configure-2.8.8-1.el6cf.noarch aeolus-conductor-0.13.16-1.el6cf.noarch aeolus-all-0.13.16-1.el6cf.noarch aeolus-conductor-daemons-0.13.16-1.el6cf.noarch
I think we should fix this for 1.1 release. It should be simple
this is caused by too short column in DB, and an exception in rescue block is raised (so create_failed state is not set properly.
*** Bug 861408 has been marked as a duplicate of this bug. ***
a patch sent: https://github.com/aeolusproject/conductor/pull/110
pushed both to master and 1.1, 1.1 commit is: 7245cbf059eb67e97bf233b39829573522ce5d1c
Retested, Instance status changed to create_failed Verified on rpm -qa| grep aeolus rubygem-aeolus-cli-0.7.5-1.el6cf.noarch rubygem-aeolus-image-0.3.0-12.el6.noarch aeolus-conductor-0.13.20-1.el6cf.noarch aeolus-all-0.13.20-1.el6cf.noarch aeolus-conductor-doc-0.13.20-1.el6cf.noarch aeolus-configure-2.8.9-1.el6cf.noarch aeolus-conductor-daemons-0.13.20-1.el6cf.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2012-1516.html