mitaka: install contrail-openstack-database fails due to unmet dependency

Bug #1596841 reported by Sudheendra Rao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Invalid
Critical
Raj Reddy

Bug Description

install contrail-openstack-database fails due to unmet dependency on mainline build2738 ubuntu-14-04 mitaka.

The setup details (non HA setup):
'cfgm': [nodei13-vm2, nodei14-vm2],
'webui': [nodei13-vm2],
'openstack': [nodei13-vm2],
'control': [nodei14-vm2, nodek7-vm2],
'collector': [nodei13-vm2],
'database': [nodei14-vm2],
'compute': [nodea12, nodea15, nodea17]

This is virtual testbed, the VM IPs are:
nodei13-vm2 : 10.204.217.172
nodei14-vm2 : 10.204.217.179
nodek7-vm2 : 10.204.216.111

2016-06-28 11:23:01:705255: [root@10.204.217.179] sudo: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack-database
2016-06-28 11:23:01:705454: [root@10.204.217.179] out:
2016-06-28 11:23:01:772540: [root@10.204.217.179] out: Reading package lists... 0%
2016-06-28 11:23:01:773286: [root@10.204.217.179] out:
2016-06-28 11:23:01:773725: [root@10.204.217.179] out: Reading package lists... 100%
2016-06-28 11:23:01:774064: [root@10.204.217.179] out:
2016-06-28 11:23:01:774481: [root@10.204.217.179] out: Reading package lists... Done
2016-06-28 11:23:01:774819: [root@10.204.217.179] out:
2016-06-28 11:23:01:775352: [root@10.204.217.179] out:
2016-06-28 11:23:01:775750: [root@10.204.217.179] out: Building dependency tree... 0%
2016-06-28 11:23:01:776093: [root@10.204.217.179] out:
2016-06-28 11:23:01:776691: [root@10.204.217.179] out: Building dependency tree... 0%
2016-06-28 11:23:01:777213: [root@10.204.217.179] out:
2016-06-28 11:23:01:777476: [root@10.204.217.179] out: Building dependency tree... 50%
2016-06-28 11:23:01:778298: [root@10.204.217.179] out:
2016-06-28 11:23:01:778710: [root@10.204.217.179] out: Building dependency tree... 50%
2016-06-28 11:23:01:779048: [root@10.204.217.179] out:
2016-06-28 11:23:01:779492: [root@10.204.217.179] out: Building dependency tree
2016-06-28 11:23:01:779830: [root@10.204.217.179] out:
2016-06-28 11:23:01:780261: [root@10.204.217.179] out:
2016-06-28 11:23:01:780610: [root@10.204.217.179] out: Reading state information... 0%
2016-06-28 11:23:01:780971: [root@10.204.217.179] out:
2016-06-28 11:23:01:781403: [root@10.204.217.179] out: Reading state information... 0%
2016-06-28 11:23:01:781736: [root@10.204.217.179] out:
2016-06-28 11:23:01:782194: [root@10.204.217.179] out: Reading state information... Done
2016-06-28 11:23:01:782531: [root@10.204.217.179] out:
2016-06-28 11:23:01:782946: [root@10.204.217.179] out: Some packages could not be installed. This may mean that you have
2016-06-28 11:23:01:783926: [root@10.204.217.179] out: requested an impossible situation or if you are using the unstable
2016-06-28 11:23:01:784349: [root@10.204.217.179] out: distribution that some required packages have not yet been created
2016-06-28 11:23:01:784798: [root@10.204.217.179] out: or been moved out of Incoming.
2016-06-28 11:23:01:785227: [root@10.204.217.179] out: The following information may help to resolve the situation:
2016-06-28 11:23:01:785659: [root@10.204.217.179] out:
2016-06-28 11:23:01:786093: [root@10.204.217.179] out: The following packages have unmet dependencies:
2016-06-28 11:23:01:786430: [root@10.204.217.179] out: contrail-openstack-database : Depends: contrail-setup (>= 3.1.0.0-2738) but it is not going to be installed
2016-06-28 11:23:01:786862: [root@10.204.217.179] out: E: Unable to correct problems, you have held broken packages.
2016-06-28 11:23:01:787295: [root@10.204.217.179] out:
2016-06-28 11:23:01:788155:

2016-06-28 11:23:01:804939: Fatal error: sudo() received nonzero return code 100 while executing!
2016-06-28 11:23:01:804939:
2016-06-28 11:23:01:804939: Requested: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack-database
2016-06-28 11:23:01:804939: 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-06-28 11:23:01:804939:
2016-06-28 11:23:01:805009: Aborting.

Revision history for this message
Raj Reddy (rajreddy) wrote : Re: [Bug 1596841] [NEW] mitaka: install contrail-openstack-database fails due to unmet dependency
Download full text (9.1 KiB)

Hi Amudha/Atul,

contrail-setup is a common package, can you check why it’s not getting installed on this setup..

-Raj

> On Jun 28, 2016, at 1:08 AM, Sudheendra Rao <email address hidden> wrote:
>
> Public bug reported:
>
> install contrail-openstack-database fails due to unmet dependency on
> mainline build2738 ubuntu-14-04 mitaka.
>
> The setup details (non HA setup):
> 'cfgm': [nodei13-vm2, nodei14-vm2],
> 'webui': [nodei13-vm2],
> 'openstack': [nodei13-vm2],
> 'control': [nodei14-vm2, nodek7-vm2],
> 'collector': [nodei13-vm2],
> 'database': [nodei14-vm2],
> 'compute': [nodea12, nodea15, nodea17]
>
> This is virtual testbed, the VM IPs are:
> nodei13-vm2 : 10.204.217.172
> nodei14-vm2 : 10.204.217.179
> nodek7-vm2 : 10.204.216.111
>
> 2016-06-28 11:23:01:705255: [root@10.204.217.179] sudo: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack-database
> 2016-06-28 11:23:01:705454: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:772540: [root@10.204.217.179] out: Reading package lists... 0%
> 2016-06-28 11:23:01:773286: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:773725: [root@10.204.217.179] out: Reading package lists... 100%
> 2016-06-28 11:23:01:774064: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:774481: [root@10.204.217.179] out: Reading package lists... Done
> 2016-06-28 11:23:01:774819: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:775352: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:775750: [root@10.204.217.179] out: Building dependency tree... 0%
> 2016-06-28 11:23:01:776093: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:776691: [root@10.204.217.179] out: Building dependency tree... 0%
> 2016-06-28 11:23:01:777213: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:777476: [root@10.204.217.179] out: Building dependency tree... 50%
> 2016-06-28 11:23:01:778298: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:778710: [root@10.204.217.179] out: Building dependency tree... 50%
> 2016-06-28 11:23:01:779048: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:779492: [root@10.204.217.179] out: Building dependency tree
> 2016-06-28 11:23:01:779830: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:780261: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:780610: [root@10.204.217.179] out: Reading state information... 0%
> 2016-06-28 11:23:01:780971: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:781403: [root@10.204.217.179] out: Reading state information... 0%
> 2016-06-28 11:23:01:781736: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:782194: [root@10.204.217.179] out: Reading state information... Done
> 2016-06-28 11:23:01:782531: [root@10.204.217.179] out:
> 2016-06-28 11:23:01:782946: [root@10.204.217.179] out: Some packages could not be installed. This may mean that you have
> 2016-06-28 11:23:01:783926: [root@10.204.217.179] out: requested an impossible situation or if you are using the unstable
> 2016-06-28 11:23:01:784349: [root@10.204.217.179] out: distribution that some required packages have not yet been created
> 2016-06-28 11:23:01:784798: [root@10.204.217.179] out: or been moved out of...

Read more...

Revision history for this message
amudhar (amudha) wrote :

Sudhee,

The ubuntu-14.04.4 image used in reimage comes with ifenslave package installed.

root@a6s16:~# dpkg -l | grep ifenslave
ii ifenslave 2.4ubuntu1 all configure network interfaces for parallel routing (bonding)
root@a6s16:~# cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
root@a6s16:~#

On your nodes, I do not see this package installed, and the install_contrail failure is due
to this missing package.

root@nodei14-vm2:/opt/contrail/contrail-packages_3.1.0.0-2738-mitaka# aptitude install contrail-setup
The following NEW packages will be installed:
  contrail-setup crudini{a} ifenslave-2.6{ab} python-iniparse{a} python-netifaces{a} python-support{a} vlan{a}
0 packages upgraded, 7 newly installed, 0 to remove and 7 not upgraded.
Need to get 0 B/714 kB of archives. After unpacking 2,877 kB will be used.
The following packages have unmet dependencies:
ifenslave-2.6 : Depends: ifenslave (>= 2.2) which is a virtual package.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1) contrail-setup [Not Installed]
2) ifenslave-2.6 [Not Installed]

root@nodei14-vm2:/opt/contrail# dpkg -I contrail-dependent-packages_3.1.0.0-2738-mitaka/ifenslave-2.6_2.4ubuntu1.2_all.deb
new debian package, version 2.0.
size 1646 bytes: control archive=625 bytes.
     489 bytes, 14 lines control
      72 bytes, 1 lines md5sums
     143 bytes, 8 lines * prerm #!/bin/sh
Package: ifenslave-2.6
Source: ifenslave
Version: 2.4ubuntu1.2
Architecture: all
Maintainer: Ubuntu Developers <email address hidden>
Installed-Size: 30
Depends: ifenslave (>= 2.2)
Section: oldlibs
Priority: extra
Multi-Arch: foreign
Description: transitional package, use "ifenslave"
  This is a transitional package to aid migration to "ifenslave".
  It can be safely removed from the system once nothing depends on it.
Original-Maintainer: Guus Sliepen <email address hidden>

root@nodei14-vm2:/opt/contrail# dpkg -l | grep ifenslave
root@nodei14-vm2:/opt/contrail#

Can you check on why this package is not installed in the base ubuntu image?

Thanks,
Amudha

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

Hi Amudha,

    Thanks for the pointer, since this is a virtual testbed, the VM doesn't have the package.
In physical setup server-manager adds this package during re-image, so we don't see this problem on physical setup.

Vinay has fixed this by adding this in contrail-dependent pkg but it was fixed only for kilo, he will commit the change for mitaka also, i will be closing this bug.
I tried installing the ifenslave pkg manually on the setup and i don't see this problem now.

Changed in juniperopenstack:
status: New → Invalid
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.