Vcenter-only: Fresh install 3.1#52 fab install_contrail fails due to unmet dependencies default-jre-headless

Bug #1656457 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
Critical
Rudra Rugge
R3.2
Fix Committed
Critical
Rudra Rugge
Trunk
Fix Committed
Critical
Rudra Rugge

Bug Description

During Fresh install 3.1 build 52, fab install_contrail fails due to unmet dependencies and please find below the fab logs,

<--snip-->
2017-01-14 05:10:06:926517: [root@10.204.216.61] Executing task 'install_database'
2017-01-14 05:10:06:926624: [root@10.204.216.61] sudo: python -c 'from platform import linux_distribution; print linux_distribution()'
2017-01-14 05:10:06:926760: [root@10.204.216.61] out: ('Ubuntu', '14.04', 'trusty')
2017-01-14 05:10:06:944482: [root@10.204.216.61] out:
2017-01-14 05:10:06:947856:
2017-01-14 05:10:06:960658: [root@10.204.216.61] sudo: python -c 'from platform import linux_distribution; print linux_distribution()'
2017-01-14 05:10:06:960813: [root@10.204.216.61] out: ('Ubuntu', '14.04', 'trusty')
2017-01-14 05:10:07:025261: [root@10.204.216.61] out:
2017-01-14 05:10:07:025421:
2017-01-14 05:10:07:025712: [root@10.204.216.61] sudo: echo "manual" >> /etc/init/supervisor-database.override
2017-01-14 05:10:07:025897: [root@10.204.216.61] sudo: python -c 'from platform import linux_distribution; print linux_distribution()'
2017-01-14 05:10:07:069231: [root@10.204.216.61] out: ('Ubuntu', '14.04', 'trusty')
2017-01-14 05:10:07:149505: [root@10.204.216.61] out:
2017-01-14 05:10:07:152904:
2017-01-14 05:10:07:165879: [root@10.204.216.61] sudo: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install default-jre-headless
2017-01-14 05:10:07:166039: [root@10.204.216.61] out:
2017-01-14 05:10:07:230538: [root@10.204.216.61] out: Reading package lists... 0%
2017-01-14 05:10:07:230649: [root@10.204.216.61] out:
2017-01-14 05:10:07:230747: [root@10.204.216.61] out: Reading package lists... 100%
2017-01-14 05:10:07:230818: [root@10.204.216.61] out:
2017-01-14 05:10:07:230893: [root@10.204.216.61] out: Reading package lists... Done
2017-01-14 05:10:07:230947: [root@10.204.216.61] out:
2017-01-14 05:10:07:231000: [root@10.204.216.61] out:
2017-01-14 05:10:07:262551: [root@10.204.216.61] out: Building dependency tree... 0%
2017-01-14 05:10:07:262681: [root@10.204.216.61] out:
2017-01-14 05:10:07:262734: [root@10.204.216.61] out: Building dependency tree... 0%
2017-01-14 05:10:07:262774: [root@10.204.216.61] out:
2017-01-14 05:10:07:262822: [root@10.204.216.61] out: Building dependency tree... 50%
2017-01-14 05:10:07:262862: [root@10.204.216.61] out:
2017-01-14 05:10:07:262919: [root@10.204.216.61] out: Building dependency tree... 50%
2017-01-14 05:10:07:263032: [root@10.204.216.61] out:
2017-01-14 05:10:07:264372: [root@10.204.216.61] out: Building dependency tree
2017-01-14 05:10:07:264443: [root@10.204.216.61] out:
2017-01-14 05:10:07:264487: [root@10.204.216.61] out:
2017-01-14 05:10:07:264528: [root@10.204.216.61] out: Reading state information... 0%
2017-01-14 05:10:07:264569: [root@10.204.216.61] out:
2017-01-14 05:10:07:264610: [root@10.204.216.61] out: Reading state information... 0%
2017-01-14 05:10:07:264650: [root@10.204.216.61] out:
2017-01-14 05:10:07:264690: [root@10.204.216.61] out: Reading state information... Done
2017-01-14 05:10:07:264730: [root@10.204.216.61] out:
2017-01-14 05:10:07:264771: [root@10.204.216.61] out: Some packages could not be installed. This may mean that you have
2017-01-14 05:10:07:296474: [root@10.204.216.61] out: requested an impossible situation or if you are using the unstable
2017-01-14 05:10:07:296548: [root@10.204.216.61] out: distribution that some required packages have not yet been created
2017-01-14 05:10:07:296592: [root@10.204.216.61] out: or been moved out of Incoming.
2017-01-14 05:10:07:296635: [root@10.204.216.61] out: The following information may help to resolve the situation:
2017-01-14 05:10:07:296678: [root@10.204.216.61] out:
2017-01-14 05:10:07:296719: [root@10.204.216.61] out: The following packages have unmet dependencies:
2017-01-14 05:10:07:296759: [root@10.204.216.61] out: default-jre-headless : Depends: openjdk-7-jre-headless (>= 7~u3-2.1.1) but it is not going to be installed
2017-01-14 05:10:07:296800: [root@10.204.216.61] out: E: Unable to correct problems, you have held broken packages.
2017-01-14 05:10:07:296848: [root@10.204.216.61] out:
2017-01-14 05:10:07:297153:

2017-01-14 05:10:07:299441: Fatal error: sudo() received nonzero return code 100 while executing!
2017-01-14 05:10:07:299441:
2017-01-14 05:10:07:299441: Requested: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install default-jre-headless
2017-01-14 05:10:07:299441: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install default-jre-headless"
2017-01-14 05:10:07:299441:
2017-01-14 05:10:07:299464: Aborting.
2017-01-14 05:10:07:299464: 2017-01-14 05:10:07:299369: Disconnecting from 10.204.216.182... done.
2017-01-14 05:10:07:393718: Disconnecting from 10.204.216.61... done.
2017-01-14 05:10:07:487397: Disconnecting from 10.204.216.63... done.
2017-01-14 05:10:07:524817: Disconnecting from 10.204.216.181... done.
2017-01-14 05:10:07:610955: Disconnecting from 10.204.216.62... done.
2017-01-14 05:10:07:681688: Disconnecting from 10.204.216.183... done.
2017-01-14 05:10:07:713209: Connection to 10.204.216.61 closed.

Revision history for this message
Sarath (nsarath) wrote :

nsarath@ubuntu-build04:/auto/cores/1656457$ ls -l
total 2192
-rwxrwxrwx 1 nsarath test 2232320 Jan 13 16:17 Ctrl-A-fabric-utils.tar
nsarath@ubuntu-build04:/auto/cores/1656457$

Revision history for this message
Sarath (nsarath) wrote :

the issue seen consistently and marking blocker

Revision history for this message
wenqing liang (wliang) wrote :

also seen in install_contrail of r3.2.0.0-19 mitaka:

2017-01-18 17:04:11:611578: [root@10.87.140.197] out: The following packages have unmet dependencies:
2017-01-18 17:04:11:611623: [root@10.87.140.197] out: default-jre-headless : Depends: openjdk-7-jre-headless (>= 7~u3-2.1.1) but it is not going to be installed
2017-01-18 17:04:11:611670: [root@10.87.140.197] out: E: Unable to correct problems, you have held broken packages.
2017-01-18 17:04:11:613216: [root@10.87.140.197] out:
2017-01-18 17:04:11:614653:
2017-01-18 17:04:11:616523: Disconnecting from 10.87.140.200... done.
2017-01-18 17:04:11:680849: Disconnecting from 10.87.140.199... done.
2017-01-18 17:04:11:688414: Disconnecting from 10.87.140.198... done.
2017-01-18 17:04:11:802328: Disconnecting from 10.87.140.197... done.
2017-01-18 17:04:11:818051:
2017-01-18 17:04:11:616657: Fatal error: sudo() received nonzero return code 100 while executing!
2017-01-18 17:04:11:616657:
2017-01-18 17:04:11:616657: Requested: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install default-jre-headless
2017-01-18 17:04:11:616657: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install default-jre-headless"
2017-01-18 17:04:11:616657:
2017-01-18 17:04:11:616712: Aborting.

/cs-shared/1656457/install_contrail_2017_01_18_17_03_33_000764.log.

The nodes were reimaged via sm using ubuntu-14.04.5-server-amd64.iso. Upgrade_kernel only brought them to 3.13.0-85, not 100.

Sarath (nsarath)
summary: - Vcenter-only: Fresh install 3.1#52 fab upgrade_contrail fails due to
+ Vcenter-only: Fresh install 3.1#52 fab install_contrail fails due to
unmet dependencies default-jre-headless
description: updated
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/28022
Submitter: Atul Moghe (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/28023
Submitter: Atul Moghe (<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/28024
Submitter: Atul Moghe (<email address hidden>)

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

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

commit 0100c31b15653167cbcfbbf404592edbb5f29e66
Author: Atul Moghe <email address hidden>
Date: Thu Jan 19 16:11:57 2017 -0800

To add packages for vcenter to work with 14.04.5
Closes-Bug: #1656457

Change-Id: I17edaa22efe21f8ee0ce08378f3370dd30a2b7e9

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

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

commit 9ae38c2fb29686f27b6a7c453edb975799f2efc9
Author: Atul Moghe <email address hidden>
Date: Thu Jan 19 16:11:57 2017 -0800

To add packages for vcenter to work with 14.04.5
Closes-Bug: #1656457

Change-Id: I17edaa22efe21f8ee0ce08378f3370dd30a2b7e9

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

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

commit 1b7e15d910dc27fd663630d131cb0827fd799e65
Author: Atul Moghe <email address hidden>
Date: Thu Jan 19 16:11:57 2017 -0800

To add packages for vcenter to work with 14.04.5
Closes-Bug: #1656457

Change-Id: I17edaa22efe21f8ee0ce08378f3370dd30a2b7e9

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.