← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1426806] Re: flavor created successfully when flavorid neither integer nor UUID

 

Closing this bug since the help message in python-novaclient was updated
to reflect the actual behaviour.

    Before: "Unique ID (integer or UUID) for the new flavor. If specifying 'auto', a UUID will be generated as ID."
    After: "Unique ID of the new flavor. Specifying 'auto' will generated a UUID for the ID."

https://git.openstack.org/cgit/openstack/python-
novaclient/commit/?id=d10486f064630bb04d0e084df456514770e62160

** Changed in: nova
       Status: In Progress => 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/1426806

Title:
  flavor created successfully when flavorid neither integer nor UUID

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  version: 2014.1 icehouse-stable

  # nova help flavor-create
  ...
    <id>                  Unique ID (integer or UUID) for the new flavor. If
                          specifying 'auto', a UUID will be generated as id
  ...

  
  "id" should be integer or UUID.

  But when the "id" was set to non-integer or non-UUID, the flavor was
  also created successfully.

  # nova flavor-create flv-testdddfasdfsfdsfdsf jljdfsfojgnngllllllll  512 1 1
  +-----------------------+--------------------------+-----------+------+-----------+------+-------+-------------+-----------+
  | ID                    | Name                     | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
  +-----------------------+--------------------------+-----------+------+-----------+------+-------+-------------+-----------+
  | jljdfsfojgnngllllllll | flv-testdddfasdfsfdsfdsf | 512       | 1    | 0         |      | 1     | 1.0         | True      |
  +-----------------------+--------------------------+-----------+------+-----------+------+-------+-------------+-----------+

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


References