Bug 747860 - aeolus-image push fails to detect pushed images.
Summary: aeolus-image push fails to detect pushed images.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: rubygem-aeolus-image
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
Assignee: Maros Zatko
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-21 07:55 UTC by Aziza Karol
Modified: 2012-08-30 17:13 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-30 17:13:21 UTC


Attachments (Terms of Use)

Description Aziza Karol 2011-10-21 07:55:12 UTC
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

Comment 1 wes hayutin 2011-10-21 17:21:33 UTC
recreated w/ MOCK.. which means we should have some failing cuke tests

Comment 2 Aziza Karol 2011-10-24 06:48:11 UTC
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>

Comment 3 Hugh Brock 2011-10-27 15:43:09 UTC
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?

Comment 4 Dave Johnson 2011-10-28 19:11:18 UTC
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


Note You need to log in before you can comment on or make changes to this bug.