SM: Install fails due to upstream paramiko package change

Bug #1578429 reported by Nitish Krishna Kaveri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Critical
Nitish Krishna Kaveri
Trunk
Fix Committed
Critical
Nitish Krishna Kaveri

Bug Description

Paramiko package installed in Server Manager Postinst has changed upstream from version 1.17.0 to 2.0.0
Package version 2.0.0 has dependency failures as seen below:

Best match: paramiko 2.0.0
Adding paramiko 2.0.0 to easy-install.pth file

Using /usr/local/lib/python2.7/dist-packages
Processing dependencies for paramiko
Searching for cryptography>=1.1
Reading https://pypi.python.org/simple/cryptography/
Best match: cryptography 1.3.2
Downloading https://pypi.python.org/packages/04/da/35f9a1d34dab5d777f65fb87731288f338ab0ae46a525ffdf0405b573dd0/cryptography-1.3.2.tar.gz#md5=0359190f291824dc8ad9e6d477a607b2
Processing cryptography-1.3.2.tar.gz
Writing /tmp/easy_install-j70Cxh/cryptography-1.3.2/setup.cfg
Running cryptography-1.3.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-j70Cxh/cryptography-1.3.2/egg-dist-tmp-b5QXgC
Searching for cffi>=1.4.1
Reading https://pypi.python.org/simple/cffi/
Best match: cffi 1.6.0
Downloading https://pypi.python.org/packages/b6/98/11feff87072e2e640fb8320712b781eccdef05d588618915236b32289d5a/cffi-1.6.0.tar.gz#md5=2fae9160991afefb20ff0fbde3b14faf
Processing cffi-1.6.0.tar.gz
Writing /tmp/easy_install-j70Cxh/cryptography-1.3.2/temp/easy_install-j1L4i8/cffi-1.6.0/setup.cfg
Running cffi-1.6.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-j70Cxh/cryptography-1.3.2/temp/easy_install-j1L4i8/cffi-1.6.0/egg-dist-tmp-gFdy0w
compiling '_configtest.c':
__thread int some_threadlocal_variable_42;

x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
 #include <ffi.h>
                 ^
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Fix is to tie paramiko package version to old 1.17.0 version (same as done in CI infra)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19910
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/19911
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/19910
Committed: http://github.org/Juniper/contrail-packaging/commit/782bf20354d70e955e1150f8c5f2b86488143cd1
Submitter: Zuul
Branch: R3.0

commit 782bf20354d70e955e1150f8c5f2b86488143cd1
Author: nitishkrishna <email address hidden>
Date: Wed May 4 16:06:12 2016 -0700

Closes-Bug: #1578429 - SM Dependent paramiko package causes dependency failures

The paramiko package installed in SM Postinst caused dependency failures
It was caused as upstream paramiko package changed to 2.0.0 version
Fixed by reverting to previously used 1.17.0 version

Change-Id: Id8a15e43e4a772396e7a7d84eb8f94bb6914e329

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/19911
Committed: http://github.org/Juniper/contrail-packaging/commit/5da7c79fd112d994c20e49f4ebc69b83cfb7def6
Submitter: Zuul
Branch: master

commit 5da7c79fd112d994c20e49f4ebc69b83cfb7def6
Author: nitishkrishna <email address hidden>
Date: Wed May 4 16:06:12 2016 -0700

Closes-Bug: #1578429 - SM Dependent paramiko package causes dependency failures

The paramiko package installed in SM Postinst caused dependency failures
It was caused as upstream paramiko package changed to 2.0.0 version
Fixed by reverting to previously used 1.17.0 version

Change-Id: Id8a15e43e4a772396e7a7d84eb8f94bb6914e329

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.