Bug 694060 - Image imports: On importing non existent image , unhandled error is thrown
Summary: Image imports: On importing non existent image , unhandled error is thrown
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 0.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
Assignee: Matt Wagner
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks: ce-beta ce-ami
TreeView+ depends on / blocked
 
Reported: 2011-04-06 11:01 UTC by Shveta
Modified: 2014-08-17 22:27 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
err (101.75 KB, image/png)
2011-04-06 11:03 UTC, Shveta
no flags Details

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


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