| Summary: | Test connection succeeds even if account number is invalid. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Aziza Karol <akarol> | ||||
| Component: | aeolus-conductor | Assignee: | Imre Farkas <ifarkas> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | wes hayutin <whayutin> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.0.0 | CC: | akarol, athomas, dajohnso, deltacloud-maint, dgao, ifarkas, ssachdev | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-11-29 11:58:26 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Aziza Karol
2011-11-22 12:46:54 UTC
Created attachment 535010 [details]
test connection
I just happened to push for this invalid account number.
imagefactory log displayed:
46e1-8481-e630b0350a09)
2011-11-22 07:10:23,963 DEBUG imgfac.builders.BaseBuilder.Fedora_ec2_Builder pid(7372) Message: Exception caught in ImageFactory
2011-11-22 07:10:23,964 DEBUG imgfac.builders.BaseBuilder.Fedora_ec2_Builder pid(7372) Message: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/imgfac/builders/Fedora_ec2_Builder.py", line 443, in push_image
credentials)
File "/usr/lib/python2.6/site-packages/imgfac/builders/Fedora_ec2_Builder.py", line 687, in push_image_snapshot_ec2
' '.join(command))
File "/usr/lib/python2.6/site-packages/imgfac/builders/Fedora_ec2_Builder.py", line 72, in guest_execute_command
return super(FedoraRemoteGuest, self).guest_execute_command(guestaddr, command, timeout, tunnels)
File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line 476, in guest_execute_command
command, timeout, tunnels)
File "/usr/lib/python2.6/site-packages/oz/ozutil.py", line 355, in ssh_execute_command
return subprocess_check_output(cmd)
File "/usr/lib/python2.6/site-packages/oz/ozutil.py", line 323, in subprocess_check_output
raise SubprocessException("'%s' failed(%d): %s" % (cmd, retcode, stderr), retcode)
SubprocessException: 'ssh -i /tmp/tmpT47yj4 -F /dev/null -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o ConnectTimeout=30 -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no root.amazonaws.com euca-register -U http://ec2.ap-southeast-1.amazonaws.com/ -A AKIAJRCPNVJYQBHCOBEA -S KQaCCub8PfyshHi7SvNOupRSbozSduObirlMUpvo imagefactory-ec2-ap-southeast-1-9/4eae5bf3-1da9-46e1-8481-e630b0350a09.manifest.xml' failed(1): Warning: Permanently added 'ec2-50-19-192-70.compute-1.amazonaws.com,50.19.192.70' (RSA) to the list of known hosts.^M
2011-11-22 07:10:23,965 DEBUG imgfac.BuildJob.BuildJob pid(7372) Message: Builder (4eae5bf3-1da9-46e1-8481-e630b0350a09) changed status from PUSHING to FAILED
Imagefactory log should also display an error message for an invalid account number.
Deltacloud is not capable of validating the account number. |