“openstack compute service set” output a strange msg

Bug #1517804 reported by xiexs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
xiexs

Bug Description

While the OSC "openstack compute service set" executing, following strange msg displayed:
$ openstack compute service set RX300S5 nova-compute --enable
'Service' object is not iterable

Furthermore, there is no echo info to display the new service status, for instance:
+---------+--------------+----------+
| Host | Binary | Status |
+---------+--------------+----------+
| RX300S5 | nova-compute | enabled |
+---------+--------------+----------+

xiexs (xiexs)
Changed in python-openstackclient:
assignee: nobody → xiexs (xiexs)
Revision history for this message
Steve Martinelli (stevemar) wrote :

the error message should be deleted. But, we do not echo out status on a 'set' command, no errors means it was successful, just like `cd /opt` doesn't return anything

Changed in python-openstackclient:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/251646

Changed in python-openstackclient:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

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

commit fad7126e7929621e37a021ee474b6aa771a92912
Author: xiexs <email address hidden>
Date: Wed Dec 2 13:45:58 2015 +0800

    Remove list output from "compute service set"

    Replace the super class from lister.Lister to command.Command,
    as no need to display the status for the "set" command.

    Change-Id: Ibaf3c1e349633223fca19937bbd9060d4f9ecbda
    Closes-Bug: #1517804

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-openstackclient 2.1.0

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

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.