Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Build and image [root@nec-em11 templates]# aeolus-image build --target ec2 --template fedora15_template.tpl Target Image: 4eb83b80-e319-45ec-9961-cfe9cadf7e67 Image: 7153ca33-cfac-4f4d-bbcc-8a436e1fb728 Build: e0ea5d69-ac79-4a81-a1ac-004ba6dbedf5 Status: COMPLETED Percent Complete: 100 2.push the image. [root@nec-em11 templates]# aeolus-image push --provider ec2-us-east-1 --id 7153ca33-cfac-4f4d-bbcc-8a436e1fb728 ERROR: This image has already been pushed, to push to another provider please push via build-id rather than image-id e.g. aeolus-image push --provider <provider> --build <build-id> Even if the image is not pushed, aeolus-image push for ec2 displays "ERROR: This image has already been pushed" Additional info: [root@nec-em11 ~]# rpm -qa | egrep 'aeolus|imagefactory|iwhd' aeolus-conductor-doc-0.5.0-0.20111021031626gita5004c6.fc15.noarch aeolus-conductor-daemons-0.5.0-0.20111021031626gita5004c6.fc15.noarch aeolus-all-0.5.0-0.20111021031626gita5004c6.fc15.noarch rubygem-aeolus-cli-0.1.0-3.20111003133323git9451323.fc15.noarch aeolus-configure-2.2.0-1.20111020103152gitc9b6c03.fc15.noarch imagefactory-0.7.0-1.fc15.noarch aeolus-conductor-0.5.0-0.20111021031626gita5004c6.fc15.noarch imagefactory-jeosconf-ec2-fedora-0.1.0-1.fc15.noarch iwhd-0.991-1.fc15.x86_64 imagefactory-jeosconf-ec2-rhel-0.1.0-1.fc15.noarch rubygem-imagefactory-console-0.5.0-4.20110824113238gitd9debef.fc15.noarch rubygem-aeolus-image-0.1.0-3.20111003170706git8f23238.fc15.noarch
recreated w/ MOCK.. which means we should have some failing cuke tests
Recreated with rhevm: [root@dell-pe1950-01 templates]# aeolus-image build --target rhevm --template fedora15_template.tpl Target Image: 89f84eb4-23ad-4a3a-b804-608c175250f0 Image: 1b4ea683-1e4c-486a-86e9-64697fcbe082 Build: 52421814-2cd1-4618-81a0-f110b998e582 Status: BUILDING Percent Complete: 0 [root@dell-pe1950-01 templates]# aeolus-image push --provider rhevm --id 1b4ea683-1e4c-486a-86e9-64697fcbe082 ERROR: This image has already been pushed, to push to another provider please push via build-id rather than image-id e.g. aeolus-image push --provider <provider> --build <build-id>
I believe this is the same syntax issue as 747209, but we are also not returning the correct error message. Maros, can you comment please?
This all is now working, successfully pushed images for ec2 and rhevm using the following rpm versions [root@qeblade26 ~]# rpm -qa | egrep 'aeolus|imagefactory|iwhd' | sort aeolus-all-0.5.0-0.20111025005411git5ff5abd.fc15.noarch aeolus-conductor-0.5.0-0.20111025005411git5ff5abd.fc15.noarch aeolus-conductor-daemons-0.5.0-0.20111025005411git5ff5abd.fc15.noarch aeolus-conductor-doc-0.5.0-0.20111025005411git5ff5abd.fc15.noarch aeolus-configure-2.2.0-1.20111024205543gitf9232cc.fc15.noarch imagefactory-0.8.0-1.fc15.noarch imagefactory-jeosconf-ec2-fedora-0.8.0-1.fc15.noarch imagefactory-jeosconf-ec2-rhel-0.8.0-1.fc15.noarch iwhd-0.991-1.fc15.x86_64 rubygem-aeolus-cli-0.1.0-3.20111024205439gitc3aa990.fc15.noarch rubygem-aeolus-image-0.1.0-4.20111024205454git6b2b696.fc15.noarch rubygem-imagefactory-console-0.5.0-4.20110824113238gitd9debef.fc15.noarch