← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1522349] [NEW] FixedIpNotFoundForAddress should be catched when create instance

 

Public bug reported:


nova --debug boot --image 9eee793a-25e5-4f42-bd9e-b869e60d3dbd --flavor m1.micro --user-data 't.py' --nic net-id=7b2133b4-57a7-4010-ad60-68e07ceb298a,v4-fixed-ip=10.10.20.20 t2


RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'FixedIpNotFoundForAddress_Remote'>", "code": 500}}

DEBUG (shell:916) Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'FixedIpNotFoundForAddress_Remote'> (HTTP 500) (Request-ID: req-eee88d6a-a602-4893-b232-842981d6bd6e)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 914, in main
    OpenStackComputeShell().main(argv)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 841, in main
    args.func(self.cs, args)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 521, in do_boot
    server = cs.servers.create(*boot_args, **boot_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 1011, in create
    **boot_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 544, in _boot
    return_raw=return_raw, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 172, in _create
    _resp, body = self.api.client.post(url, body=body)
  File "/usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 176, in post
    return self.request(url, 'POST', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 93, in request
    raise exceptions.from_response(resp, body, url, method)
ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'FixedIpNotFoundForAddress_Remote'> (HTTP 500) (Request-ID: req-eee88d6a-a602-4893-b232-842981d6bd6e)
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'FixedIpNotFoundForAddress_Remote'> (HTTP 500) (Request-ID: req-eee88d6a-a602-4893-b232-842981d6bd6e)
(reverse-i-search)`vim /': sudo ^Cm /usr/local/lib/python2.7/dist-packages/novaclient/__init__.py

** Affects: nova
     Importance: Low
     Assignee: jichenjc (jichenjc)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => jichenjc (jichenjc)

** Changed in: nova
   Importance: Undecided => Low

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

Title:
  FixedIpNotFoundForAddress should be catched when create instance

Status in OpenStack Compute (nova):
  New

Bug description:
  
  nova --debug boot --image 9eee793a-25e5-4f42-bd9e-b869e60d3dbd --flavor m1.micro --user-data 't.py' --nic net-id=7b2133b4-57a7-4010-ad60-68e07ceb298a,v4-fixed-ip=10.10.20.20 t2

  
  RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'FixedIpNotFoundForAddress_Remote'>", "code": 500}}

  DEBUG (shell:916) Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'FixedIpNotFoundForAddress_Remote'> (HTTP 500) (Request-ID: req-eee88d6a-a602-4893-b232-842981d6bd6e)
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 914, in main
      OpenStackComputeShell().main(argv)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 841, in main
      args.func(self.cs, args)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 521, in do_boot
      server = cs.servers.create(*boot_args, **boot_kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 1011, in create
      **boot_kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 544, in _boot
      return_raw=return_raw, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 172, in _create
      _resp, body = self.api.client.post(url, body=body)
    File "/usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 176, in post
      return self.request(url, 'POST', **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 93, in request
      raise exceptions.from_response(resp, body, url, method)
  ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'FixedIpNotFoundForAddress_Remote'> (HTTP 500) (Request-ID: req-eee88d6a-a602-4893-b232-842981d6bd6e)
  ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'FixedIpNotFoundForAddress_Remote'> (HTTP 500) (Request-ID: req-eee88d6a-a602-4893-b232-842981d6bd6e)
  (reverse-i-search)`vim /': sudo ^Cm /usr/local/lib/python2.7/dist-packages/novaclient/__init__.py

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


Follow ups