HA: Install contrail fails because of missing dependencies

Bug #1423850 reported by Vinod Nair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Critical
Ranjeet R
R2.0
Fix Committed
Undecided
Unassigned
R2.1
Fix Committed
Critical
Ranjeet R

Bug Description

With HA config Install contrail Fails because of missing dependencies if the sources.list does not have internet facing repos

root@10.87.141.1] out: distribution that some required packages have not yet been created
2015-02-19 21:25:28:076878: [root@10.87.141.1] out: or been moved out of Incoming.
2015-02-19 21:25:28:076992: [root@10.87.141.1] out: The following information may help to resolve the situation:
2015-02-19 21:25:28:077106: [root@10.87.141.1] out:
2015-02-19 21:25:28:077217: [root@10.87.141.1] out: The following packages have unmet dependencies:
2015-02-19 21:25:28:077330: [root@10.87.141.1] out: contrail-openstack-ha : Depends: fontconfig-config but it is not installable
2015-02-19 21:25:28:077444: [root@10.87.141.1] out: Depends: libfontconfig1 but it is not installable
2015-02-19 21:25:28:077560: [root@10.87.141.1] out: Depends: libgd2-xpm but it is not going to be installed
2015-02-19 21:25:28:077675: [root@10.87.141.1] out: Depends: php5-gd but it is not going to be installed
2015-02-19 21:25:28:077791: [root@10.87.141.1] out: Depends: ttf-dejavu-core but it is not installable
2015-02-19 21:25:28:077908: [root@10.87.141.1] out: Depends: xinetd but it is not going to be installed
2015-02-19 21:25:28:078022: [root@10.87.141.1] out: E: Unable to correct problems, you have held broken packages.
2015-02-19 21:25:28:078135: [root@10.87.141.1] out:
2015-02-19 21:25:28:079204:

2015-02-19 21:25:28:108141: Fatal error: sudo() received nonzero return code 100 while executing!
2015-02-19 21:25:28:108141:
2015-02-19 21:25:28:108141: Requested: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack-ha
2015-02-19 21:25:28:108141: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack-ha"
2015-02-19 21:25:28:108141:

The sources.list is as below
deb file:/opt/contrail/contrail_install_repo/ ./
# add repos needed for puppet and its dependencies
deb http://10.87.132.145/thirdparty_packages/ ./

# add repos needed for puppet and its dependencies

# deb http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise main restricted

# deb http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise-updates main restricted
# deb http://cs-scale-1$directory-security/ubuntu precise-security main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise main restricted
deb-src http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise-updates main restricted
deb-src http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise universe
deb-src http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise universe
deb http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise-updates universe
deb-src http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise multiverse
deb-src http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise multiverse
deb http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise-updates multiverse
deb-src http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise-backports main restricted universe multiverse
deb-src http://10.87.132.145/contrail/images/Ubuntu_12_04_3 precise-backports main restricted universe multiverse

deb http://cs-scale-1$directory-security/ubuntu precise-security main restricted
deb-src http://cs-scale-1$directory-security/ubuntu precise-security main restricted
deb http://cs-scale-1$directory-security/ubuntu precise-security universe
deb-src http://cs-scale-1$directory-security/ubuntu precise-security universe
deb http://cs-scale-1$directory-security/ubuntu precise-security multiverse
deb-src http://cs-scale-1$directory-security/ubuntu precise-security multiverse

To Make it work , had to add the below repo
deb http://archive.ubuntu.com/ubuntu/ precise main restricted

Vinod Nair (vinodnair)
Changed in juniperopenstack:
milestone: none → r2.1-fcs
milestone: r2.1-fcs → none
tags: added: blocker
Changed in juniperopenstack:
importance: Undecided → Critical
assignee: nobody → Sunil Bakhru (sbakhru)
tags: added: packaging
Sunil Bakhru (sbakhru)
Changed in juniperopenstack:
assignee: Sunil Bakhru (sbakhru) → Ranjeet R (rranjeet-n)
summary: - HA: Install contral fails beause of missing dependecies
+ HA: Install contrail fails beause of missing dependecies
summary: - HA: Install contrail fails beause of missing dependecies
+ HA: Install contrail fails because of missing dependencies
tags: added: ha
information type: Proprietary → Public
Revision history for this message
Ranjeet R (rranjeet-n) wrote :

https://review.opencontrail.org/#/c/7759/ Fixed as part of this review

Changed in juniperopenstack:
status: New → Fix Committed
status: Fix Committed → In Progress
Ranjeet R (rranjeet-n)
Changed in juniperopenstack:
status: In Progress → Confirmed
status: Confirmed → Fix Committed
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.