OSC doesn't support list server by searching flavor and image name.

Bug #1521492 reported by Tang Chen on 2015-12-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Tang Chen

Bug Description

Nova API only supports list servers searching by flavor and image ID. So OSC only supports this. But the doc of the command help doesn't tell the user that they can only specify the ID.

The solution is simple, just map the name to the ID so that OSC will also support list servers by searching flavor and image name.

Tang Chen (tangchen) wrote :
Changed in python-openstackclient:
assignee: nobody → Tang Chen (tangchen)
status: New → In Progress

Reviewed: https://review.openstack.org/251657
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=0069a0196717eb7ba60bcda5b89bf87608cc01dd
Submitter: Jenkins
Branch: master

commit 0069a0196717eb7ba60bcda5b89bf87608cc01dd
Author: Tang Chen <email address hidden>
Date: Wed Dec 2 13:47:15 2015 +0800

    Support "server list" searching by both flavor name and ID.

    Nova API only supports list servers searching by flavor ID.
    In OSC, we can support both flavor name and ID by mapping
    the name to ID.

    This patch also fix the inconsistent doc in .py and .rst files.

    Partial-Bug: 1521492

    Change-Id: I1d1a6aa91aef4e2846745babe8382481185fa96e

Changed in python-openstackclient:
status: In Progress → Fix Committed

Reviewed: https://review.openstack.org/251658
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=106f928cb66fbfb3fb99f32b9d3e8ffdbda04d75
Submitter: Jenkins
Branch: master

commit 106f928cb66fbfb3fb99f32b9d3e8ffdbda04d75
Author: Tang Chen <email address hidden>
Date: Wed Dec 2 14:02:12 2015 +0800

    Support "server list" searching by both image name and ID.

    Nova API only supports list servers searching by image ID.
    In OSC, we can support both image name and ID by mapping
    the name to ID.

    This patch also fix the inconsistent doc in .py and .rst files.

    Closes-Bug: 1521492

    Change-Id: I70613843f82d74732bd32a457cd4a31aba57825f

Changed in python-openstackclient:
importance: Undecided → Medium

This issue was fixed in the openstack/python-openstackclient 2.1.0 release.

Steve Martinelli (stevemar) wrote :

Automatically unassigning due to inactivity.

Changed in python-openstackclient:
assignee: Tang Chen (tangchen) → nobody
Changed in python-openstackclient:
status: Fix Committed → Fix Released
assignee: nobody → Tang Chen (tangchen)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers