Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. using deployment cli build and pushed image http://aeolusproject.org/page/Launching_a_Deployment_with_CLI_Tools 2. From aeolus made deployment in default pool 3. Launching an instance throws this error .. Actual results: Expected results: Additional info:Steps are as given below 1) imgfac.py --debug --template template2.tpl --target ec2 2011-06-28 05:02:14,071 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-06-28 05:02:14,072 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-06-28 05:02:14,084 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Setting metadata ({'object_type': 'image', 'uuid': 'b10cc0c1-153f-4cda-b1a3-3afa4e292250'}) for http://localhost:9090/images/b10cc0c1-153f-4cda-b1a3-3afa4e292250 2011-06-28 05:02:14,090 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Setting metadata ({'image': 'b10cc0c1-153f-4cda-b1a3-3afa4e292250', 'object_type': 'build', 'uuid': '18fea1b7-fa1c-423f-abb6-5ac7b47656a1'}) for http://localhost:9090/builds/18fea1b7-fa1c-423f-abb6-5ac7b47656a1 2011-06-28 05:02:14,095 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Created Image Warehouse instance http://localhost:9090 - buckets(target_images, templates, icicles, provider_images) 2011-06-28 05:02:14,096 DEBUG imagefactory.builders.BaseBuilder.FedoraBuilder pid(6441) Message: Building Linux for non-upload cloud (ec2) Building build 18fea1b7-fa1c-423f-abb6-5ac7b47656a1 of image b10cc0c1-153f-4cda-b1a3-3afa4e292250 to target ec2 2011-06-28 05:02:14,097 DEBUG imagefactory.builders.BaseBuilder.FedoraBuilder pid(6441) Message: Storing placeholder object for non upload cloud image 2011-06-28 05:02:14,099 INFO imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Creating a bucket returned status 500. If only iwhd would provide a sane way to know if a bucket exists so we wouldn't have to try and create one every time... 2011-06-28 05:02:14,102 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Setting metadata ({'object_type': 'template', 'uuid': '087ae88a-f4ff-496d-9fcf-7be18e0296f9'}) for http://localhost:9090/templates/087ae88a-f4ff-496d-9fcf-7be18e0296f9 2011-06-28 05:02:14,109 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Setting metadata ({'icicle': 'none', 'uuid': 'e041d3e3-03a4-4b3e-9134-73474370bf8e', 'template': '087ae88a-f4ff-496d-9fcf-7be18e0296f9', 'target_parameters': None, 'object_type': 'target_image', 'target': 'ec2', 'build': '18fea1b7-fa1c-423f-abb6-5ac7b47656a1'}) for http://localhost:9090/target_images/e041d3e3-03a4-4b3e-9134-73474370bf8e 2011-06-28 05:02:14,120 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Getting metadata (['latest_unpushed']) from http://localhost:9090/images/b10cc0c1-153f-4cda-b1a3-3afa4e292250 2011-06-28 05:02:14,121 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Getting metadata (['latest_build']) from http://localhost:9090/images/b10cc0c1-153f-4cda-b1a3-3afa4e292250 2011-06-28 05:02:14,122 DEBUG imagefactory.ImageWarehouse.ImageWarehouse pid(6441) Message: Setting metadata ({'latest_unpushed': '18fea1b7-fa1c-423f-abb6-5ac7b47656a1'}) for http://localhost:9090/images/b10cc0c1-153f-4cda-b1a3-3afa4e292250 2011-06-28 05:02:14,124 DEBUG imagefactory.builders.BaseBuilder.FedoraBuilder pid(6441) Message: Completed placeholder warehouse object for linux non-upload image... ===================================================== sudo imgfac.py --image b10cc0c1-153f-4cda-b1a3-3afa4e292250 --provider ec2-us-east-1 --credentials ec2-credentials.xml Pushing build 18fea1b7-fa1c-423f-abb6-5ac7b47656a1 of image b10cc0c1-153f-4cda-b1a3-3afa4e292250 to provider ec2-us-east-1 2011-06-28 05:07:10,918 WARNING boto pid(6519) Message: Error converting code (pending) to int ====================================================== [root@hp-ml150g6-01 ~]# cp /usr/lib/ruby/gems/1.8/gems/aeolus-cli-0.0.1/spec/sample_data/aeolus-cli /root/.aeolus-cli [root@hp-ml150g6-01 ~]# aeolus-image build --target ec2 --template template2.tpl Target Image: 0c5bc40a-1cf6-4d2d-88a1-d4d255b9b2f8 Image: 5aeeddab-cd04-4c47-a6d0-c7b4a77eb890 Build: 1dde8e42-77f1-4624-8eee-0ccef41c8755 Status: COMPLETED Percent Complete: 100 -================================================================ [root@hp-ml150g6-01 ~]# aeolus-image push --provider ec2-us-east-1 --id 5aeeddab-cd04-4c47-a6d0-c7b4a77eb890 Provider Image: f1abb59e-30bb-4e9a-a66f-c100ffc4ffed Image: 5aeeddab-cd04-4c47-a6d0-c7b4a77eb890 Build: 1dde8e42-77f1-4624-8eee-0ccef41c8755 Status: PUSHING Percent Complete: 0 ======================================================== From aeolus launched new deployable in default pool. ================================== Deployables.xml ----------------- <deployable name="Sample"> <description>desc</description> <assemblies> <assembly name="frontend" hwp="hwp1"> <image id="b10cc0c1-153f-4cda-b1a3-3afa4e292250"> </image> </assembly> </assemblies> </deployable> ============================================= rpm -qa|grep aeolus aeolus-conductor-0.3.0-0.fc14.20110627173747git2a88782.noarch rubygem-aeolus-cli-0.0.1-1.fc14.20110627173747git2a88782.noarch aeolus-conductor-daemons-0.3.0-0.fc14.20110627173747git2a88782.noarch aeolus-all-0.3.0-0.fc14.20110627173747git2a88782.noarch aeolus-configure-2.0.1-0.fc14.20110624144850git38b0c06.noarch aeolus-conductor-doc-0.3.0-0.fc14.20110627173747git2a88782.noarch
I believe this is caused by having hw profile with nil property. Most probably you added a vmware provider which is known to have nil values for some hw profiles. There is a patch from Matt in mailing list which adds nil properties support to conductor.
Yes you are right, it comes when vsphere vmware provider is added .(Tried with and without vmware provider)
This should be fixed with 95116478d701b11d870480e6f873c6d688053f2a, which has been pushed and is in the latest RPMs in the testing repo.
With no hardware profile validation message is displayed . Verified
removing ce-p2-beta
second attempt to remove ce-p2-beta
release pending...
perm close