Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1336566

Summary: Paramiko needs to be updated to 2.0 to match upstream requirement
Product: [Community] RDO Reporter: David Moreau Simard <dmsimard>
Component: distributionAssignee: Alan Pevec <apevec>
Status: CLOSED NEXTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: dmsimard, emacchi, karlthered, markmc, mmosesohn, srevivo
Target Milestone: ---Keywords: Reopened
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-paramiko-2.0.0-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-30 08:35:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1329341    

Description David Moreau Simard 2016-05-16 22:05:28 UTC
Nova has bumped the version of Paramiko to >=2.0 upstream in commit https://github.com/openstack/nova/commit/12385e18793a63622690cd8848bd7762b3c35d6e

which originates from global-requirements in https://github.com/openstack/requirements/commit/e379813e9ccd41138af969f4c8e57abd062af527

EmilienM has reported issues in Newton testing that occurred intermittently that look like the following:
http://logs.openstack.org/70/316970/1/experimental/gate-puppet-openstack-integration-4-scenario002-tempest-centos-7/e72489f/logs/nova/nova-api.txt.gz#_2016-05-16_16_54_38_576

Matt Riedemann suggested we try updating the version of Paramiko to match the requirement and that it should probably fix the issue.

RDO has 1.15.1 for Mitaka (although upstream req is >=1.16).

Comment 1 Alan Pevec 2016-05-16 23:00:58 UTC
https://ci.centos.org/view/rdo/view/weirdo/job/weirdo-generic-packstack-scenario001/31/ is running with Mitaka testing repo + http://cbs.centos.org/repos/cloud7-openstack-common-pending/x86_64/os/Packages/ to verify if those updates are safe for RDO Mitaka. We might want to run other jobs for more coverage, any suggestions?

Comment 2 David Moreau Simard 2016-05-17 03:07:31 UTC
I'm afraid this doesn't look possible to include in Mitaka, all six jobs (3 Packstack, 3 Puppet OpenStack) failed:

https://ci.centos.org/view/rdo/view/weirdo/job/weirdo-generic-packstack-scenario001/32/
https://ci.centos.org/view/rdo/view/weirdo/job/weirdo-generic-packstack-scenario002/46/
https://ci.centos.org/view/rdo/view/weirdo/job/weirdo-generic-packstack-scenario003/29/
https://ci.centos.org/view/rdo/view/weirdo/job/weirdo-generic-puppet-openstack-scenario001/28/
https://ci.centos.org/view/rdo/view/weirdo/job/weirdo-generic-puppet-openstack-scenario002/27/
https://ci.centos.org/view/rdo/view/weirdo/job/weirdo-generic-puppet-openstack-scenario003/26/

Couple different errors such as:
2016-05-17 03:25:35.998 799 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/crypto.py", line 177, in generate_key
2016-05-17 03:25:35.998 799 ERROR nova.api.openstack.extensions     key = paramiko.RSAKey(vals=(rsa.e, rsa.n))
2016-05-17 03:25:35.998 799 ERROR nova.api.openstack.extensions TypeError: __init__() got an unexpected keyword argument 'vals'

2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging Traceback (most recent call last):
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging   File "/usr/lib/python2.7/site-packages/oslo_messaging/notify/messaging.py", line 49, in notify
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging     retry=retry)
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send_notification
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging     retry=retry)
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 474, in send_notification
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging     envelope=(version == 2.0), notify=True, retry=retry)
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 422, in _send
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging     msg = rpc_common.serialize_msg(msg)
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/common.py", line 287, in serialize_msg
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging     _MESSAGE_KEY: jsonutils.dumps(raw_msg)}
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging   File "/usr/lib/python2.7/site-packages/oslo_serialization/jsonutils.py", line 178, in dumps
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging     return json.dumps(obj, default=default, **kwargs)
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging   File "/usr/lib64/python2.7/json/__init__.py", line 250, in dumps
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging     sort_keys=sort_keys, **kw).encode(obj)
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging   File "/usr/lib64/python2.7/json/encoder.py", line 207, in encode
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging     chunks = self.iterencode(o, _one_shot=True)
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging   File "/usr/lib64/python2.7/json/encoder.py", line 270, in iterencode
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging     return _iterencode(o, 0)
2016-05-17 03:22:35.386 5941 ERROR oslo_messaging.notify.messaging ValueError: Circular reference detected

Comment 3 Alan Pevec 2016-05-17 21:54:06 UTC
Alright, so we can't push them to common-testing/release.
I've requested set of CBS tags for Newton: https://bugs.centos.org/view.php?id=10870 as a first step for creating newton testing repo on buildlogs.centos.org

Comment 4 David Moreau Simard 2016-05-18 20:19:42 UTC
The centos bug was marked as fixed.

Comment 5 Chandan Kumar 2016-05-19 16:04:18 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.

Comment 6 Alan Pevec 2016-05-20 20:59:09 UTC
Available for testing from a temporary newton-testing repo until buildlogs is setup for RDO Newton:
http://cbs.centos.org/repos/cloud7-openstack-newton-testing/x86_64/os/