Bug 741939

Summary: instance pem key is empty when downloaded
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-conductorAssignee: Jan Provaznik <jprovazn>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 1.0.0CC: akarol, dajohnso, deltacloud-maint, dgao, jprovazn, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://10.11.230.102/conductor/deployments/14
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-15 22:03:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description wes hayutin 2011-09-28 14:39:09 UTC
Description of problem:


https://10.11.230.102/conductor/deployments/14

Instances
newRHELAMI/frontend
IP Address: ec2-75-101-228-195.compute-1.amazonaws.com
State: running
Download key

[whayutin@minidoe Downloads]$ cat newRHELAMI_frontend_1317219907_key_70278155016980.pem 

[whayutin@minidoe Downloads]$ cat Fedora15_01_f15frontend_1317217685_key_70278154250800.pem 

[whayutin@minidoe Downloads]$ 


[root@unused ~]# rpm -qa | grep aeolus
aeolus-conductor-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-conductor-daemons-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-all-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-conductor-doc-0.4.0-0.20110926211730git1cc372b.fc15.noarch
aeolus-conductor-devel-0.4.0-0.20110926211730git1cc372b.fc15.noarch
rubygem-aeolus-image-0.1.0-3.20110919115936gitd1d24b4.fc15.noarch
aeolus-configure-2.0.2-4.20110926142838git5044e56.fc15.noarch

Comment 1 wes hayutin 2011-09-28 14:41:04 UTC
conductor=# select * from instance_keys;
 id | instance_id |                         name                          | pem |         created_at         |     
    updated_at         
----+-------------+-------------------------------------------------------+-----+----------------------------+-----
-----------------------
  1 |          12 | Fedora15_01_f15frontend_1317217685_key_70278154250800 |    +| 2011-09-28 13:48:06.857034 | 2011
-09-28 13:48:06.857034
    |             |                                                       |     |                            | 
  2 |          13 | newRHELAMI_frontend_1317219907_key_70278155016980     |    +| 2011-09-28 14:25:10.204572 | 2011
-09-28 14:25:10.204572
    |             |                                                       |     |                            | 
(2 rows)

conductor=#

Comment 2 wes hayutin 2011-09-28 16:41:27 UTC
making sure all the bugs are at the right version for future queries

Comment 4 Jan Provaznik 2011-09-29 13:09:33 UTC
pushed to master, commit 7594098a824c49d30a5f88bd840fa4f652cbada6

Comment 5 Jan Provaznik 2011-09-29 13:11:07 UTC
deltacloud-client version 0.4.0 slightly changed return value of create_key method -> we had to update on conductor side too

Comment 6 wes hayutin 2011-09-29 15:19:49 UTC
verified...

[whayutin@localhost Downloads]$ cat wesTESTKey01_frontend_1317308825_key_70298938133740.pem 

-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAhCuihOyNfCkexStT63QXFitXSFdPhtTGt2c4m9KgznZ5Nw/1s1xZyTyb5pCQ
/TvndTF1E5mq0OzFj2AfocZnbInB3h5mYE6Jn+ZemKCuxico0ZJRKvPlneuIIAIJZBTvLQRbTDmG
sYmB01fppMBgWfNQiaSLLE5OGXBCP+DFUv4X03unPd417SKFqi5NiXuX3rOOUjpBSWahVIzaT7cn
lldDAx8n7AQmIDkp9+AH1nRpmGrHbB7IUgYYbi9nyHcsEvtzPz4mdjqsoYWT9GODdPk5DL/KFyjA
cn4WCeZtqqddw+j6nsnipHmdrIjtysKfuG11V6H73RUQt1R6Lj5
njIoVovqYyHb2o6gcrKSXQKBgQCQBH/70GHcgCMWJu5cNADpRdQNiuMC7LyolpAX3otwjOnNWsoD
pB/3zLsV/7rfC6VfBs0r/7aDv1qXqcf0C77DBdajnZGbk73Cw9nmT72+a+JGhScJmbYT0fY44GN2
IgGXR0QC6x4Bf2bjX+3wqfRmZBux0c1moC0N3ciVVYbC2QKBgQC6g9TT7RqUmF77arwpGdWgC+wM
UkjuuWqTr66o8z8XW0un3BXRsgkTFgUd6aRqDGD7iv024snC1v4Y/3D2s+CTMvk/jRC9A73zYs/o
b72zXwv7BJnJ+aj5bQQFDUTGCZ9YHFSjD5fwMo2xN8b6SlJNZDQQO02l04vj+ChFRsaSPw==
-----END RSA PRIVATE KEY-----

[root@unused bin]# rpm -qa | grep aeolus
aeolus-conductor-doc-0.4.0-0.20110929145941git7594098.fc15.noarch
aeolus-conductor-0.4.0-0.20110929145941git7594098.fc15.noarch
aeolus-conductor-daemons-0.4.0-0.20110929145941git7594098.fc15.noarch
aeolus-conductor-devel-0.4.0-0.20110929145941git7594098.fc15.noarch
aeolus-all-0.4.0-0.20110929145941git7594098.fc15.noarch
rubygem-aeolus-image-0.1.0-3.20110919115936gitd1d24b4.fc15.noarch
aeolus-configure-2.0.2-4.20110926142838git5044e56.fc15.noarch

Comment 8 errata-xmlrpc 2012-05-15 22:03:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-0583.html