Very old incomplete bug, marking closed at this point. Please feel free
to reopen if this is still an issue. Would be great to have a reproduce
for it.

** Changed in: nova
     Assignee: Shane Wang (shane-wang) => (unassigned)

** Changed in: nova
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1189564

Title:
  Instance Type already exists when creating flavor

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Hi,

  Here is some history as to why I noticed this:

  A few weeks ago I created a flavor and marked it as non-public and assigned 
it to a specific project/tenant.  Today I attempted to create a new flavor with 
Horizon and was unable to.  In the dashboard's apache error_log it had:
  ClientException: Instance Type New64GB4CPU200GB already exists. (HTTP 409) 
(Request-ID: req-f3989efa-5f06-4c83-831d-0d040eccbe38)
  I'll paste the full stanza of the Python stack dump at the bottom of this 
message.

  The bug:
  Since horizon does not ask for the ID of the flavor, I attempted to do it via 
command line as admin.  The same message appeared. as I specified the next 
seemingly available flavor ID.  However, the flavor that I created non-public 
had the ID number allocated, but it didn't appear in the list for nova 
flavor-list as admin.  This gave me the same error message as in Horizon.  As 
soon as I created it with the next-higher ID again, it worked.

  I'm using Folsom EPEL packages for CentOS 6.

  openstack-nova-api-2012.2.3-1.el6.noarch
  openstack-dashboard-2012.2.3-1.el6.noarch

  Thanks
  -Dave

  
  [Mon Jun 10 17:00:29 2013] [error] Traceback (most recent call last):
  [Mon Jun 10 17:00:29 2013] [error]   File 
"/usr/lib/python2.6/site-packages/horizon/dashboards/syspanel/flavors/forms.py",
 line 65, in handle
  [Mon Jun 10 17:00:29 2013] [error]     ephemeral=data['eph_gb'])
  [Mon Jun 10 17:00:29 2013] [error]   File 
"/usr/lib/python2.6/site-packages/horizon/api/nova.py", line 239, in 
flavor_create
  [Mon Jun 10 17:00:29 2013] [error]     ephemeral=int(ephemeral))
  [Mon Jun 10 17:00:29 2013] [error]   File 
"/usr/lib/python2.6/site-packages/novaclient/v1_1/flavors.py", line 176, in 
create
  [Mon Jun 10 17:00:29 2013] [error]     return self._create("/flavors", body, 
"flavor")
  [Mon Jun 10 17:00:29 2013] [error]   File 
"/usr/lib/python2.6/site-packages/novaclient/base.py", line 148, in _create
  [Mon Jun 10 17:00:29 2013] [error]     _resp, body = 
self.api.client.post(url, body=body)
  [Mon Jun 10 17:00:29 2013] [error]   File 
"/usr/lib/python2.6/site-packages/novaclient/client.py", line 244, in post
  [Mon Jun 10 17:00:29 2013] [error]     return self._cs_request(url, 'POST', 
**kwargs)
  [Mon Jun 10 17:00:29 2013] [error]   File 
"/usr/lib/python2.6/site-packages/novaclient/client.py", line 228, in 
_cs_request
  [Mon Jun 10 17:00:29 2013] [error]     **kwargs)
  [Mon Jun 10 17:00:29 2013] [error]   File 
"/usr/lib/python2.6/site-packages/novaclient/client.py", line 210, in 
_time_request
  [Mon Jun 10 17:00:29 2013] [error]     resp, body = self.request(url, method, 
**kwargs)
  [Mon Jun 10 17:00:29 2013] [error]   File 
"/usr/lib/python2.6/site-packages/novaclient/client.py", line 204, in request
  [Mon Jun 10 17:00:29 2013] [error]     raise exceptions.from_response(resp, 
body)
  [Mon Jun 10 17:00:29 2013] [error] ClientException: Instance Type 
64GB-4CPU-200GB already exists. (HTTP 409) (Request-ID: 
req-2b647be6-5dc4-4457-8a74-9d275b07fc50)
  [Mon Jun 10 17:00:47 2013] [error] \x1b[31;1mRecoverable error: Instance Type 
64GB-4CPU-200GB already exists. (HTTP 409) (Request-ID: 
req-ed81214a-3aa6-4093-b37f-a77bd7f8889d)\x1b[0m

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1189564/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to