← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1576755] [NEW] Paramiko 2.0 does not work with Nova

 

Public bug reported:

Paramiko 2.0 has just been release and breaks nova which currently has a
requirement for 'paramiko>=1.16.0 # LGPL'

2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions [req-2e14bc90-999a-46ba-95f6-de817548014e 8fbdaf628d114c32a81f7587df939771 be553343f9674e61b53b6b2516d4be2f - - -] Unexpected exception in API method
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/api/openstack/compute/keypairs.py", line 111, in create
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return self._create(req, body)
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/api/openstack/compute/keypairs.py", line 132, in _create
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     context, user_id, name, key_type)
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/exception.py", line 110, in wrapped
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     payload)
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     self.force_reraise()
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     six.reraise(self.type_, self.value, self.tb)
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/exception.py", line 89, in wrapped
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return f(self, context, *args, **kw)
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/compute/api.py", line 4046, in create_key_pair
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     user_id, key_type)
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/compute/api.py", line 4068, in _generate_key_pair
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return crypto.generate_key_pair()
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/crypto.py", line 152, in generate_key_pair
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     key = generate_key(bits)
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/crypto.py", line 144, in generate_key
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     key = paramiko.RSAKey(vals=(rsa.e, rsa.n))
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions TypeError: __init__() got an unexpected keyword argument 'vals'
2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions
2016-04-29 14:56:58.395 2175 INFO nova.api.openstack.wsgi [req-2e14bc90-999a-46ba-95f6-de817548014e 8fbdaf628d114c32a81f7587df939771 be553343f9674e61b53b6b2516d4be2f - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Paramiko 2.0 does not work with Nova

Status in OpenStack Compute (nova):
  New

Bug description:
  Paramiko 2.0 has just been release and breaks nova which currently has
  a requirement for 'paramiko>=1.16.0 # LGPL'

  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions [req-2e14bc90-999a-46ba-95f6-de817548014e 8fbdaf628d114c32a81f7587df939771 be553343f9674e61b53b6b2516d4be2f - - -] Unexpected exception in API method
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/api/openstack/compute/keypairs.py", line 111, in create
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return self._create(req, body)
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/api/openstack/compute/keypairs.py", line 132, in _create
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     context, user_id, name, key_type)
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/exception.py", line 110, in wrapped
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     payload)
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     self.force_reraise()
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     six.reraise(self.type_, self.value, self.tb)
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/exception.py", line 89, in wrapped
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return f(self, context, *args, **kw)
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/compute/api.py", line 4046, in create_key_pair
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     user_id, key_type)
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/compute/api.py", line 4068, in _generate_key_pair
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     return crypto.generate_key_pair()
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/crypto.py", line 152, in generate_key_pair
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     key = generate_key(bits)
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions   File "/openstack/venvs/nova-master/lib/python2.7/site-packages/nova/crypto.py", line 144, in generate_key
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions     key = paramiko.RSAKey(vals=(rsa.e, rsa.n))
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions TypeError: __init__() got an unexpected keyword argument 'vals'
  2016-04-29 14:56:58.381 2175 ERROR nova.api.openstack.extensions
  2016-04-29 14:56:58.395 2175 INFO nova.api.openstack.wsgi [req-2e14bc90-999a-46ba-95f6-de817548014e 8fbdaf628d114c32a81f7587df939771 be553343f9674e61b53b6b2516d4be2f - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.

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


Follow ups