← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1211138] Re: nova interface-list does not work

 

** Changed in: nova
       Status: New => Invalid

** Changed in: nova
     Assignee: (unassigned) => Michael Holdridge (michael-holdridge)

-- 
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/1211138

Title:
  nova interface-list does not work

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Using the interface-list command returns a 404 error. Here is the
  debug output:

  REQ: curl -i
  https://dfw.servers.api.rackspacecloud.com/v2/$account/servers/$instance
  /os-interface -X POST -H "X-Auth-Project-Id: $account" -H "User-Agent:
  python-novaclient" -H "Content-Type: application/json" -H "Accept:
  application/json" -H "X-Auth-Token: $token" -d
  '{"interfaceAttachment": {}}'

  RESP: [404] CaseInsensitiveDict({'date': 'Mon, 12 Aug 2013 03:12:46 GMT', 'content-length': '52', 'content-type': 'text/plain;charset=UTF-8', 'server': 'Jetty(8.0.y.z-SNAPSHOT)'})
  RESP BODY: 404 Not Found

  The resource could not be found.


  
  Per the API docs, the URL should end with "os-virtual-interfacesv2" instead of "os-interface".

  http://docs.rackspace.com/servers/api/v2/cn-
  gettingstarted/content/summary_virtual_interfaces.html

  
  Searching for the incorrect URL in the git repo:

  $ grep -r os-virtual-interfacesv2 *
  $ grep -r os-interface *
  nova/nova/tests/integrated/test_api_samples.py:        response = self._do_get('servers/%s/os-interface' % instance_uuid)
  nova/nova/tests/integrated/test_api_samples.py:        response = self._do_get('servers/%s/os-interface/%s' %
  nova/nova/tests/integrated/test_api_samples.py:        response = self._do_post('servers/%s/os-interface' % instance_uuid,
  nova/nova/tests/integrated/test_api_samples.py:        response = self._do_delete('servers/%s/os-interface/%s' %
  nova/nova/tests/api/openstack/compute/contrib/test_attach_interfaces.py:        req = webob.Request.blank('/v2/fake/os-interfaces/show')
  nova/nova/tests/api/openstack/compute/contrib/test_attach_interfaces.py:        req = webob.Request.blank('/v2/fake/os-interfaces/show')
  nova/nova/tests/api/openstack/compute/contrib/test_attach_interfaces.py:        req = webob.Request.blank('/v2/fake/os-interfaces/delete')
  nova/nova/tests/api/openstack/compute/contrib/test_attach_interfaces.py:        req = webob.Request.blank('/v2/fake/os-interfaces/delete')
  nova/nova/tests/api/openstack/compute/contrib/test_attach_interfaces.py:        req = webob.Request.blank('/v2/fake/os-interfaces/attach')
  nova/nova/tests/api/openstack/compute/contrib/test_attach_interfaces.py:        req = webob.Request.blank('/v2/fake/os-interfaces/attach')
  nova/nova/tests/api/openstack/compute/contrib/test_attach_interfaces.py:        req = webob.Request.blank('/v2/fake/os-interfaces/attach')
  nova/nova/api/openstack/compute/contrib/attach_interfaces.py:        res = extensions.ResourceExtension('os-interface',

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