Bug 694060

Summary: Image imports: On importing non existent image , unhandled error is thrown
Product: [Retired] CloudForms Cloud Engine Reporter: Shveta <ssachdev>
Component: aeolus-conductorAssignee: Matt Wagner <matt.wagner>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.3.1CC: akarol, athomas, dajohnso, deltacloud-maint, dgao, morazi, ssachdev
Target Milestone: beta   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 684278, 697919    
Attachments:
Description Flags
err none

Description Shveta 2011-04-06 11:01:54 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Administration --> Image imports
2.Enter any value(ex:abc) and click on import
3.Error displayed :

nvalidAMIID.Malformed: Invalid id: "abcd" (expecting "ami-...") REQUEST=ec2.us-east-1.amazonaws.com:443/?AWSAccessKeyId=AKIAI2KPFDYVZKSRTJMQ&Action=DescribeImages&ImageId.1=abcd&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-04-06T11%3A00%3A07.000Z&Version=2010-08-31&Signature=3y9hcSoZqmwfCOGGQgvJw3T9jRdr7TErZugUDwpvkfk%3D REQUEST ID=b0ae19a7-a46a-4e6e-a37f-75df52043dc4 
  
Actual results:


Expected results:


Additional info:

rpm -qa|grep aeolus
aeolus-conductor-daemons-0.0.3-0.fc14.20110401225256git6800ed8.x86_64
aeolus-configure-2.0.0-5.fc14.20110401173241git4d62feb.noarch
aeolus-conductor-debuginfo-0.0.3-0.fc1420110326042517git943202e.x86_64
aeolus-conductor-0.0.3-0.fc14.20110401225256git6800ed8.x86_64
aeolus-conductor-doc-0.0.3-0.fc14.20110401225256git6800ed8.x86_64

Comment 1 Shveta 2011-04-06 11:03:18 UTC
Created attachment 490241 [details]
err

Comment 2 wes hayutin 2011-04-12 12:17:51 UTC
*** Bug 695664 has been marked as a duplicate of this bug. ***

Comment 3 Shveta 2011-04-18 11:12:44 UTC
Bug recreated in ami-18fa0671

rpm -qa|grep aeolus
aeolus-conductor-doc-0.0.3-6.el6.x86_64
aeolus-conductor-0.0.3-6.el6.x86_64
aeolus-conductor-daemons-0.0.3-6.el6.x86_64
aeolus-configure-2.0.0-8.el6.noarch

Comment 4 Matt Wagner 2011-04-25 21:04:16 UTC
I have a patch pushed to next for this, f02d50934: 'Graceful handling of errors when importing non-existent image'

A red flash error message should now be shown in this case, to the effect of 'Could not import image: InvalidAMIID.Malformed: Invalid id: "abcd" (expecting "ami-...")'

Comment 5 wes hayutin 2011-04-26 21:03:34 UTC
Could not import image: InvalidAMIID.Malformed: Invalid id: "asdf" (expecting "ami-...")


[root@hp-xw8600-01 ~]# rpm -qa | grep conductor
aeolus-conductor-0.2.0-1.el6.x86_64
aeolus-conductor-doc-0.2.0-1.el6.x86_64
aeolus-conductor-daemons-0.2.0-1.el6.x86_64
[root@hp-xw8600-01 ~]#

Comment 6 wes hayutin 2011-08-01 19:58:23 UTC
release pending...

Comment 7 wes hayutin 2011-08-01 19:59:26 UTC
release pending...

Comment 9 wes hayutin 2011-12-08 13:58:41 UTC
closing out old bugs

Comment 10 wes hayutin 2011-12-08 14:11:29 UTC
perm close