Creating flavors with --id auto

Bug #2043673 reported by Gregory Thiemonge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

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?

Tags: doc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.