← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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      |
+-----------------------+--------------------------+-----------+------+-----------+------+-------+-------------+-----------+

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References