Unable to set flavor description with flavor name

Bug #1844708 reported by Martin Kennelly
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-openstackclient (Ubuntu)
In Progress
Undecided
Gabriel Ramirez

Bug Description

Using OS CLI 4.0.0, I am unable to set a flavors description with a flavors name.
It works as expected with flavor ID.

Command:
openstack flavor set ${flavor_name} --description "sample description"

Result:
Flavor ${flavor_name} could not be found. (HTTP 404)

Expected Result:
Flavor description successfully changed

Revision history for this message
Martin Kennelly (martinkennelly) wrote :

usage: openstack flavor set [-h] [--no-property] [--property <key=value>]
                            [--project <project>]
                            [--description <description>]
                            [--project-domain <project-domain>]
                            <flavor>

Set flavor properties

positional arguments:
  <flavor> Flavor to modify (name or ID)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-openstackclient (Ubuntu):
status: New → Confirmed
Changed in python-openstackclient (Ubuntu):
assignee: nobody → Gabriel Ramirez (gabriel1109)
Changed in python-openstackclient (Ubuntu):
status: Confirmed → In Progress
Changed in python-openstackclient (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Gabriel Ramirez (gabriel1109) wrote :
Changed in python-openstackclient (Ubuntu):
status: Fix Committed → In Progress
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.