Bug 835210 - cloud provider names are hardcoded in BuildDispatcher.py
Summary: cloud provider names are hardcoded in BuildDispatcher.py
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: imagefactory
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
Assignee: Ian McLeod
QA Contact: Rehana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-25 19:25 UTC by Ricky Nelson
Modified: 2018-12-02 19:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-16 15:45:15 UTC
Embargoed:


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

Description Ricky Nelson 2012-06-25 19:25:54 UTC
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.