[Bug 1365251] Re: TypeError: __init__() got an unexpected keyword argument 'retry_after'

Chuck Short chuck.short at canonical.com
Thu Oct 20 13:54:02 UTC 2016


** Changed in: python-novaclient (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-novaclient in Ubuntu.
https://bugs.launchpad.net/bugs/1365251

Title:
  TypeError: __init__() got an unexpected keyword argument 'retry_after'

Status in python-novaclient:
  Fix Released
Status in python-novaclient package in Ubuntu:
  Fix Released

Bug description:
  Using " nova --debug boot --image=0bdcbe3b-b909-4455-8e66-fbaefef82f4a
  --flavor=42 bob"

  output:

   http://paste.ubuntu.com/8229361/

  DEBUG (shell:802) __init__() got an unexpected keyword argument 'retry_after'
  Traceback (most recent call last):
    File "/mnt/stack/python-novaclient/novaclient/shell.py", line 799, in main
      OpenStackComputeShell().main(argv)
    File "/mnt/stack/python-novaclient/novaclient/shell.py", line 729, in main
      args.func(self.cs, args)
    File "/mnt/stack/python-novaclient/novaclient/v1_1/shell.py", line 469, in do_boot
      server = cs.servers.create(*boot_args, **boot_kwargs)
    File "/mnt/stack/python-novaclient/novaclient/v1_1/servers.py", line 883, in create
      **boot_kwargs)
    File "/mnt/stack/python-novaclient/novaclient/v1_1/servers.py", line 546, in _boot
      return_raw=return_raw, **kwargs)
    File "/mnt/stack/python-novaclient/novaclient/base.py", line 100, in _create
      _resp, body = self.api.client.post(url, body=body)
    File "/mnt/stack/python-novaclient/novaclient/client.py", line 490, in post
      return self._cs_request(url, 'POST', **kwargs)
    File "/mnt/stack/python-novaclient/novaclient/client.py", line 465, in _cs_request
      resp, body = self._time_request(url, method, **kwargs)
    File "/mnt/stack/python-novaclient/novaclient/client.py", line 439, in _time_request
      resp, body = self.request(url, method, **kwargs)
    File "/mnt/stack/python-novaclient/novaclient/client.py", line 433, in request
      raise exceptions.from_response(resp, body, url, method)
    File "/mnt/stack/python-novaclient/novaclient/exceptions.py", line 249, in from_response
      return cls(**kwargs)
  TypeError: __init__() got an unexpected keyword argument 'retry_after'
  ERROR (TypeError): __init__() got an unexpected keyword argument 'retry_after'

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-novaclient/+bug/1365251/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list