fab install_contrail fails due to umnet dependecny on mitaka contrail-networking pkg

Bug #1644483 reported by Sudheendra Rao
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Critical
amudhar
R3.2
Fix Committed
Critical
amudhar

Bug Description

fab install_contrail fails while installing contrail-openstack-database due to unmet dependency on mitaka contrail-networking package on R3.2 build5.

2016-11-24 13:43:39:893897: [root@10.204.217.179] out: Reading state information... Done
2016-11-24 13:43:39:894364: [root@10.204.217.179] out:
2016-11-24 13:43:39:894818: [root@10.204.217.179] out: Some packages could not be installed. This may mean that you have
2016-11-24 13:43:39:895267: [root@10.204.217.179] out: requested an impossible situation or if you are using the unstable
2016-11-24 13:43:39:895723: [root@10.204.217.179] out: distribution that some required packages have not yet been created
2016-11-24 13:43:39:896071: [root@10.204.217.179] out: or been moved out of Incoming.
2016-11-24 13:43:39:896387: [root@10.204.217.179] out: The following information may help to resolve the situation:
2016-11-24 13:43:39:896664: [root@10.204.217.179] out:
2016-11-24 13:43:39:896940: [root@10.204.217.179] out: The following packages have unmet dependencies:
2016-11-24 13:43:39:897216: [root@10.204.217.179] out: contrail-openstack-database : Depends: contrail-nodemgr (>= 3.2.0.0-5) but it is not going to be installed
2016-11-24 13:43:39:897559: [root@10.204.217.179] out: Depends: contrail-utils (>= 3.2.0.0-5) but it is not going to be installed
2016-11-24 13:43:39:897919: [root@10.204.217.179] out: E: Unable to correct problems, you have held broken packages.
2016-11-24 13:43:39:899258: [root@10.204.217.179] out:
2016-11-24 13:43:39:899696:

2016-11-24 13:43:39:916724: Fatal error: sudo() received nonzero return code 100 while executing!
2016-11-24 13:43:39:916724:
2016-11-24 13:43:39:916724: Requested: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack-database
2016-11-24 13:43:39:916724: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack-database"
2016-11-24 13:43:39:916724:
2016-11-24 13:43:39:916799: Aborting.

Tags: packaging
Jeba Paulaiyan (jebap)
Changed in juniperopenstack:
milestone: none → r4.0
Revision history for this message
Nagendra Prasath (npchandran) wrote :

probably needs to be tagged to *-openstack-extra package type appropriately. Also *-openstack-extra is missing in mitaka openstack package depends config files. Assigning to Amudha.

Changed in juniperopenstack:
assignee: Nagendra Prasath (npchandran) → amudhar (amudha)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/26694
Submitter: amudha ramachandran (<email address hidden>)

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

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

commit 9ff9568d6315a2fa799444d8c029ca19b9f905a1
Author: Amudha <email address hidden>
Date: Thu Dec 1 21:08:43 2016 -0800

Mitaka: Adding package_type in depends files

Adding package_type vrouter-openstack-extra and cfgm-openstack-extra.
Additionally, adding python-kombu into the *-openstack-extra packages for kilo, liberty and mitaka.

Change-Id: I90b3b7858d5c23dc5cad3bc35cd408874d165fb5
Closes-Bug: #1644483

Revision history for this message
Sudheendra Rao (sudheendra-k) wrote :

problem still exists on build11.

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

Review in progress for https://review.opencontrail.org/27159
Submitter: amudha ramachandran (<email address hidden>)

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

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

commit 49493746586bb16bf0685597b1f0b7a928b30144
Author: Amudha <email address hidden>
Date: Mon Dec 12 20:31:11 2016 -0800

Mitaka: Sort dependent and openstack package config files

-> Move trusty-updates-mitaka packages to depends_contrail_dependent_packages.cfg
-> Move trusty and tursty-updates packages to depends_contrail_openstack_packages.cfg

Change-Id: I6c4b1ef6f42e106f8a7304372e1cedb7c44bd0ab
Closes-Bug: #1644483

Revision history for this message
amudhar (amudha) wrote :

The issue reported in the bug originally was contrail-networking install without
(contrail bundled openstack packages) was failing.

In our test environment, we provide these openstack repo packages required for contrail install
by means of cfg-openstack-extra, database-openstack-extra and vrouter-openstack-extra. The issue
reported in the bug was due to missing packages in these <>-openstack-extra.tgz of mitaka.

On analysis, there were two issues to be fixed.

-> Have only openstack repo packages bundled into contrail-openstack-packages
   https://review.opencontrail.org/#/c/27159/ addresses this for R3.2, and the fix is reviewed now.

-> Bundle all contrail required openstack packages into the <>-openstack-extra.tgz that we package.
   I see this is the case with liberty as well.
   Since customer scenario would have the openstack repo setup, and this seems to be our test
   environment specific issue, will fix and test this issue for all SKUs in 4.0.

Revision history for this message
amudhar (amudha) wrote :

Additional fix required committed into R3.2 through https://review.opencontrail.org/#/c/29545/.

Revision history for this message
amudhar (amudha) wrote :

Fix committed into mainline through https://review.opencontrail.org/#/c/29746/.

Changed in juniperopenstack:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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