The upper-constraint for paramiko in stable/mitaka is 1.16.0:
https://github.com/openstack/requirements/blob/stable/mitaka/upper-
constraints.txt#L235
2.0.0 was never tested in the upstream CI system and won't work, as
you've noticed. Deployments should be using upper-constraints if they
aren't going to be installing services in venvs or containers. So this
isn't something that we're going to fix in nova on stable/mitaka.
** Changed in: nova
Status: New => Invalid
--
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/1639057
Title:
Nova API Error when creating key pair on stable/mitaka
Status in OpenStack Compute (nova):
Invalid
Bug description:
When creating a keypair, we get the following tracelog in nova api
log:
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions
[req-4aeca8b7-2616-4eea-a092-c18c669ba91b 57b7e0d93f354d789392d8f06561f85f
2a12f4e0d4e54a18a7102087eb7def77 - - -] Unexpected exception in API method
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions Traceback
(most recent call last):
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/api/openstack/extensions.py",
line 478, in wrapped
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions return
f(*args, **kwargs)
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/api/validation/__init__.py",
line 73, in wrapper
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions return
func(*args, **kwargs)
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/api/validation/__init__.py",
line 73, in wrapper
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions return
func(*args, **kwargs)
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/api/openstack/compute/keypairs.py",
line 111, in create
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions return
self._create(req, body)
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/api/openstack/compute/keypairs.py",
line 132, in _create
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions context,
user_id, name, key_type)
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/exception.py",
line 110, in wrapped
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions payload)
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/oslo_utils/excutils.py",
line 221, in __exit__
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions
self.force_reraise()
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/oslo_utils/excutils.py",
line 197, in force_reraise
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions
six.reraise(self.type_, self.value, self.tb)
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/exception.py",
line 89, in wrapped
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions return
f(self, context, *args, **kw)
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/compute/api.py",
line 4009, in create_key_pair
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions user_id,
key_type)
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/compute/api.py",
line 4031, in _generate_key_pair
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions return
crypto.generate_key_pair()
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/crypto.py",
line 185, in generate_key_pair
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions key =
generate_key(bits)
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions File
"/opt/mhos/openstack/nova/local/lib/python2.7/site-packages/nova/crypto.py",
line 177, in generate_key
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions key =
paramiko.RSAKey(vals=(rsa.e, rsa.n))
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions TypeError:
__init__() got an unexpected keyword argument 'vals'
2016-11-03 14:47:35.484 649 ERROR nova.api.openstack.extensions
2016-11-03 14:47:35.485 649 INFO nova.api.openstack.wsgi
[req-4aeca8b7-2616-4eea-a092-c18c669ba91b 57b7e0d93f354d789392d8f06561f85f
2a12f4e0d4e54a18a7102087eb7def77 - - -] HTTP exception thrown: Unexpected API
Error. Please report this at http://bugs.launchpad.net/nova/ and attach the
Nova API log if possible.
<type 'exceptions.TypeError'>
2016-11-03 14:47:35.485 649 DEBUG nova.api.openstack.wsgi
[req-4aeca8b7-2616-4eea-a092-c18c669ba91b 57b7e0d93f354d789392d8f06561f85f
2a12f4e0d4e54a18a7102087eb7def77 - - -] Returning 500 to user: Unexpected API
Error. Please report this at http://bugs.launchpad.net/nova/ and attach the
Nova API log if possible.
Import works fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1639057/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp