No output in the "nova interface-attach" command when it is successful

Bug #1816511 reported by Takashi Natsume
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Medium
Takashi Natsume

Bug Description

No output in the "nova interface-attach" command when it is successful though the response body is returned.

There is output in the nova "volume-attach" command.

stack@devstack-master:/opt/devstack$ nova volume-attach server1 7c4e9c7c-da0b-434b-8ad8-0f5f54818825
+----------+--------------------------------------+
| Property | Value |
+----------+--------------------------------------+
| device | /dev/vdb |
| id | 7c4e9c7c-da0b-434b-8ad8-0f5f54818825 |
| serverId | 21b45e03-7039-4fe2-9890-6af5111fe50a |
| volumeId | 7c4e9c7c-da0b-434b-8ad8-0f5f54818825 |
+----------+--------------------------------------+

The output should be added in the "nova interface-attach" command.

Revision history for this message
Takashi Natsume (natsume-takashi) wrote :
Changed in python-novaclient:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/637677
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=7e56102201f92212285f6860ee1952fe025d3e21
Submitter: Zuul
Branch: master

commit 7e56102201f92212285f6860ee1952fe025d3e21
Author: Takashi NATSUME <email address hidden>
Date: Tue Feb 19 11:07:48 2019 +0900

    Fix output of interface-attach command

    Add output of a result in the 'nova interface-attach'
    command when it is successful.
    Make the following methods return a 'NetworkInterface'
    object instead of a 'Server' object.

    * The 'interface_attach' method
      in the 'novaclient.v2.Server' class
    * The 'interface_attach' method
      in the 'novaclient.v2.ServerManager' class

    Remove unnecessary code in the 'nova interface-detach'
    command because the response body is not returned.

    Change-Id: Id5316d8ad4a4b67e8399b51e602aafc83bc128c6
    Closes-Bug: #1816511

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

This issue was fixed in the openstack/python-novaclient 13.0.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.