** Project changed: nova => python-novaclient

-- 
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/1423885

Title:
  nova flavor-show inconsistent with mixed case in names

Status in Python client library for Nova:
  New

Bug description:
  The nova flavor-show command accepts a flavor name as its parameter.
  The search via names works with an exact match and all-lowercase, but
  not with any other character casing. E.g. given an existing flavor
  named 'ASAv', 'nova flavor-show ASAv' will get the same result as
  'nova flavor-show asav', but 'nova flavor-show Asav' will return
  failure.

  Also note that 'nova flavor-create Asav ...' will reject flavor
  creation because the flavor exists already.

  # nova flavor-show asav
  +----------------------------+--------------------------------------+
  | Property                   | Value                                |
  +----------------------------+--------------------------------------+
  | OS-FLV-DISABLED:disabled   | False                                |
  | OS-FLV-EXT-DATA:ephemeral  | 0                                    |
  | disk                       | 0                                    |
  | extra_specs                | {}                                   |
  | id                         | a9215596-5f05-43ff-b150-7344a3112304 |
  | name                       | ASAv                                 |
  | os-flavor-access:is_public | True                                 |
  | ram                        | 2048                                 |
  | rxtx_factor                | 1.0                                  |
  | swap                       |                                      |
  | vcpus                      | 1                                    |
  +----------------------------+--------------------------------------+

  # nova flavor-show ASAv
  +----------------------------+--------------------------------------+
  | Property                   | Value                                |
  +----------------------------+--------------------------------------+
  | OS-FLV-DISABLED:disabled   | False                                |
  | OS-FLV-EXT-DATA:ephemeral  | 0                                    |
  | disk                       | 0                                    |
  | extra_specs                | {}                                   |
  | id                         | a9215596-5f05-43ff-b150-7344a3112304 |
  | name                       | ASAv                                 |
  | os-flavor-access:is_public | True                                 |
  | ram                        | 2048                                 |
  | rxtx_factor                | 1.0                                  |
  | swap                       |                                      |
  | vcpus                      | 1                                    |
  +----------------------------+--------------------------------------+

  # nova flavor-show Asav
  ERROR: No flavor with a name or ID of 'Asav' exists.

  # nova flavor-create Asav 100000 1024 10 1
  ERROR: Flavor with name Asav already exists. (HTTP 409) (Request-ID: 
req-c90d775c-6846-47e5-a32e-9badf568fbd1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-novaclient/+bug/1423885/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to