overcloud node delete prints list of UUIDs

Bug #1633449 reported by Ryan Brady
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Low
Dougal Matthews

Bug Description

Problem:
https://review.openstack.org/#/c/383731/2/tripleoclient/v1/overcloud_node.py@a66

This prints out a raw list for the UUID's - I guess this has always been like this but it is a bit ugly.

print("deleting nodes {0} from stack {1}".format(parsed_args.nodes,
                                                         parsed_args.stack))

Desired result:

Make information presented to user less ugly.

Dougal Matthews (d0ugal)
Changed in tripleo:
assignee: nobody → Dougal Matthews (d0ugal)
importance: Undecided → Medium
importance: Medium → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

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

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

Reviewed: https://review.openstack.org/395083
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=2cc4eef66060bf4fc4071c2368b59fe4df7ace14
Submitter: Jenkins
Branch: master

commit 2cc4eef66060bf4fc4071c2368b59fe4df7ace14
Author: Dougal Matthews <email address hidden>
Date: Tue Nov 8 16:44:49 2016 +0000

    Format the nodes list in openstack overcloud delete node

    The current command will output something like the following:

      deleting nodes [u'UUID-UUID'] from stack overcloud

    This change adds simple string formatting so that a raw Python list
    isn't displayed.

    Change-Id: Ibf8bc40f0c45be60e869c5ab3d99d892e24f8a94
    Closes-Bug: #1633449

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 5.5.0

This issue was fixed in the openstack/python-tripleoclient 5.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/406096

Julie Pichon (jpichon)
tags: added: newton-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/newton)

Reviewed: https://review.openstack.org/406096
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=0955bc5731b41051757081707ce91ff9c2267e6c
Submitter: Jenkins
Branch: stable/newton

commit 0955bc5731b41051757081707ce91ff9c2267e6c
Author: Dougal Matthews <email address hidden>
Date: Tue Nov 8 16:44:49 2016 +0000

    Format the nodes list in openstack overcloud delete node

    The current command will output something like the following:

      deleting nodes [u'UUID-UUID'] from stack overcloud

    This change adds simple string formatting so that a raw Python list
    isn't displayed.

    Change-Id: Ibf8bc40f0c45be60e869c5ab3d99d892e24f8a94
    Closes-Bug: #1633449
    (cherry picked from commit 2cc4eef66060bf4fc4071c2368b59fe4df7ace14)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 5.4.1

This issue was fixed in the openstack/python-tripleoclient 5.4.1 release.

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

Other bug subscribers

Related blueprints

Remote bug watches

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