← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1420192] Re: Nova interface-attach command has optional arguments to add network details. It should be positional arguments otherwise command fails.

 

I tried to reproduce the issue with nova-network
from the API layer, this issue should be fixed via this bug:
https://bugs.launchpad.net/nova/+bug/1428481

park@park-ThinkPad-T420:/opt/stack/nova$ nova interface-attach vm1
ERROR (HTTPNotImplemented): Network driver does not support this function. (HTTP 501) 
park@park-ThinkPad-T420:/opt/stack/nova$ nova interface-list vm1
ERROR (HTTPNotImplemented): Network driver does not support this function. (HTTP 501) 

so I will close this bug

** Changed in: nova
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1420192

Title:
  Nova interface-attach command has optional arguments to add network
  details. It should be positional arguments otherwise command fails.

Status in OpenStack Compute (Nova):
  Fix Released
Status in Python client library for Nova:
  Confirmed

Bug description:
  On execution of nova interface-attach command without optional
  arguments command fails.

  root@ubuntu:~# nova interface-attach vm1
  ERROR (ClientException): Failed to attach interface (HTTP 500) (Request-ID: req-ebca9af6-8d2f-4f68-8a80-ad002b03c2fc)
  root@ubuntu:~# 

  To add a network interface atleast one amongst the optional arguments
  must be provided. Thus, help message needs to be modified.

  root@ubuntu:~# nova help interface-attach
  usage: nova interface-attach [--port-id <port_id>] [--net-id <net_id>]
                               [--fixed-ip <fixed_ip>]
                               <server>

  Attach a network interface to a server.

  Positional arguments:
    <server>               Name or ID of server.

  Optional arguments:
    --port-id <port_id>    Port ID.
    --net-id <net_id>      Network ID
    --fixed-ip <fixed_ip>  Requested fixed IP.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1420192/+subscriptions