Bug 835210 - cloud provider names are hardcoded in BuildDispatcher.py
cloud provider names are hardcoded in BuildDispatcher.py
Status: CLOSED CANTFIX
Product: CloudForms Cloud Engine
Classification: Red Hat
Component: imagefactory (Show other bugs)
1.0.0
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Ian McLeod
Rehana
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-25 15:25 EDT by Ricky Nelson
Modified: 2013-07-16 11:45 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-16 11:45:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
traceback from new provider titled "amazon" (3.13 KB, text/plain)
2012-06-25 15:25 EDT, Ricky Nelson
no flags Details

  None (edit)
Description Ricky Nelson 2012-06-25 15:25:54 EDT
Created attachment 594261 [details]
traceback from new provider titled "amazon"

Description of problem:

When creating a new account and entering the provider information, the provider name must start with 'ec2' or 'rackspace'. Naming the provider 'amazon' fails with the traceback attached.



Steps to Reproduce:
1. Select /conductor/providers/new url.
2. Create a new provider with a name that does not start with 'ec2' or 'rackspace', for example "amazon".
3. Traceback should be produced.
  

Additional info:
It is hard coded in /usr/lib/python2.6/site-packages/imgfac/BuildDispatcher.py

        elif provider.startswith('ec2-'):
            return 'ec2'
        elif provider == 'rackspace':

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