SM Lite R3.2 build 7: installation of SM Lite fails at broken packages at python-dev

Bug #1646832 reported by sundarkh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0.3.x
Fix Committed
Critical
Siva Gurumurthy
R3.1
Fix Committed
Critical
Siva Gurumurthy
R3.2
Fix Committed
Critical
Siva Gurumurthy
Trunk
Fix Committed
Critical
Siva Gurumurthy

Bug Description

SM Lite R3.2 build 7: installation of SM Lite fails at broken packages at python-dev

/opt/contrail/contrail_server_manager/provision.sh -c /root/contrail-install-packages*.tgz -t /root/testbed_smgr_single_node.py -cid clusterh8

leads to failure at installation of SM Lite

distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 contrail-server-manager-lite : Depends: python-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Tried manually :

root@nodeh8:~# apt-get install python-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python-dev : Depends: libpython-dev (= 2.7.5-5ubuntu3) but it is not going to be installed
              Depends: python2.7-dev (>= 2.7.5-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@nodeh8:~#

Revision history for this message
Abhay Joshi (abhayj) wrote :

Is this a problem seen always or something that happened on one of your servers? It could be something to do with the server setup. Siva will look into this, but please debug such issues to some extent as part of opening the bug. Especially it helps to know if the problem is easily reproducible or something that happened once on a particular server.

Revision history for this message
Siva Gurumurthy (sgurumurthy) wrote :

This issue is happening because the smlite fetches python-dev from the internet and they have updated the package but it's dependency packages are part of contrail package and they are still at the old version and hence the error.

The solution will be to make cache python-dev with contrail

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

Review in progress for https://review.opencontrail.org/26757
Submitter: sgurumurthy (<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/26758
Submitter: sgurumurthy (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/26757
Committed: http://github.org/Juniper/contrail-packaging/commit/c1163694170b7fabf97e2f380e46f6546f49c12b
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit c1163694170b7fabf97e2f380e46f6546f49c12b
Author: sgurumurthy <email address hidden>
Date: Fri Dec 2 17:01:47 2016 -0800

Closes-Bug: #1646832
Make the python-dev as part of the contrail-package rather than fetch from the internet

Change-Id: I0ad1574547f0c8e1dfad3f9a054ef7468a181e4a

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

Review in progress for https://review.opencontrail.org/26778
Submitter: sgurumurthy (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/26758
Committed: http://github.org/Juniper/contrail-packaging/commit/8dfe6b60cc9d9dc711c1edb75fda18da2db7af48
Submitter: Zuul (<email address hidden>)
Branch: master

commit 8dfe6b60cc9d9dc711c1edb75fda18da2db7af48
Author: sgurumurthy <email address hidden>
Date: Fri Dec 2 17:01:47 2016 -0800

Closes-Bug: #1646832
Make the python-dev as part of the contrail-package rather than fetch from the internet

Change-Id: I0ad1574547f0c8e1dfad3f9a054ef7468a181e4a

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

Reviewed: https://review.opencontrail.org/26778
Committed: http://github.org/Juniper/contrail-packaging/commit/99ecc6183f7dbbd2a37197a246b9c2af7ae7c4ba
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit 99ecc6183f7dbbd2a37197a246b9c2af7ae7c4ba
Author: sgurumurthy <email address hidden>
Date: Fri Dec 2 17:01:47 2016 -0800

Closes-Bug: #1646832
Make the python-dev as part of the contrail-package rather than fetch from the internet

Change-Id: I0ad1574547f0c8e1dfad3f9a054ef7468a181e4a

Revision history for this message
sundarkh (sundar-kh) wrote :

Issue seen with R3.0.3.x build 10

Revision history for this message
sundarkh (sundar-kh) wrote :

Seen in R3.0.3.x build 16

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

Review in progress for https://review.opencontrail.org/28985
Submitter: sgurumurthy (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/28985
Committed: http://github.org/Juniper/contrail-packaging/commit/9d1eb162bd21fd18cc18d8421adc8a69fa24b91d
Submitter: Zuul (<email address hidden>)
Branch: R3.0.3.x

commit 9d1eb162bd21fd18cc18d8421adc8a69fa24b91d
Author: sgurumurthy <email address hidden>
Date: Fri Dec 2 17:01:47 2016 -0800

Closes-Bug: #1646832
Make the python-dev as part of the contrail-package rather than fetch from the internet

Change-Id: I0ad1574547f0c8e1dfad3f9a054ef7468a181e4a

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.