← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2043673] [NEW] Creating flavors with --id auto

 

Public bug reported:

The doc on flavors
(https://docs.openstack.org/nova/latest/user/flavors.html) is
inaccurate.

It mentions that Flavor ID is:

| Unique ID (integer or UUID) for the new flavor. This property is
required. If specifying ‘auto’, a UUID will be automatically generated.


But it seems that the "auto" keyword is no longer supported.

The Octavia devstack plugin uses it:

https://opendev.org/openstack/octavia/src/branch/master/devstack/plugin.sh#L610

but it generates a flavor with the id "auto":

$ openstack flavor show m1.amphora
+----------------------------+---------------------------------+
| Field                      | Value                           |
+----------------------------+---------------------------------+
| OS-FLV-DISABLED:disabled   | False                           |
| OS-FLV-EXT-DATA:ephemeral  | 0                               |
| access_project_ids         | []                              |
| description                | None                            |
| disk                       | 3                               |
| id                         | auto                            |
| name                       | m1.amphora                      |
| os-flavor-access:is_public | False                           |
| properties                 | disk='5', hw_rng:allowed='True' |
| ram                        | 1024                            |
| rxtx_factor                | 1.0                             |
| swap                       | 0                               |
| vcpus                      | 1                               |
+----------------------------+---------------------------------+


Can you clarify that? is it a doc bug? or a bug in the client?

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: doc

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

Title:
  Creating flavors with --id auto

Status in OpenStack Compute (nova):
  New

Bug description:
  The doc on flavors
  (https://docs.openstack.org/nova/latest/user/flavors.html) is
  inaccurate.

  It mentions that Flavor ID is:

  | Unique ID (integer or UUID) for the new flavor. This property is
  required. If specifying ‘auto’, a UUID will be automatically
  generated.

  
  But it seems that the "auto" keyword is no longer supported.

  The Octavia devstack plugin uses it:

  https://opendev.org/openstack/octavia/src/branch/master/devstack/plugin.sh#L610

  but it generates a flavor with the id "auto":

  $ openstack flavor show m1.amphora
  +----------------------------+---------------------------------+
  | Field                      | Value                           |
  +----------------------------+---------------------------------+
  | OS-FLV-DISABLED:disabled   | False                           |
  | OS-FLV-EXT-DATA:ephemeral  | 0                               |
  | access_project_ids         | []                              |
  | description                | None                            |
  | disk                       | 3                               |
  | id                         | auto                            |
  | name                       | m1.amphora                      |
  | os-flavor-access:is_public | False                           |
  | properties                 | disk='5', hw_rng:allowed='True' |
  | ram                        | 1024                            |
  | rxtx_factor                | 1.0                             |
  | swap                       | 0                               |
  | vcpus                      | 1                               |
  +----------------------------+---------------------------------+

  
  Can you clarify that? is it a doc bug? or a bug in the client?

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