Hi, I am trying to install contrail 2.21 on Ubuntu 14.0.4, getting the dependency errors on many contrail-openstack packages, esp nova.
What could be the issue? root@vishalc-NUC:/opt/contrail/utils# fab install_contrail [[email protected]] Executing task 'install_contrail' 2016-01-26 11:46:49:812648: [[email protected]] Executing task 'pre_check' 2016-01-26 11:46:49:812821: [[email protected]] Executing task 'check_disk_space' 2016-01-26 11:46:49:812936: [[email protected]] sudo: sed -n '/data_file_directories/{n;p;}' /etc/cassandra/cassandra.yaml 2016-01-26 11:46:50:084093: [[email protected]] out: - /var/lib/cassandra/data 2016-01-26 11:46:50:151442: [[email protected]] out: 2016-01-26 11:46:50:152143: 2016-01-26 11:46:50:152424: [[email protected]] sudo: df -Pk /var/lib | grep % | awk '{print $2}' 2016-01-26 11:46:50:252564: [[email protected]] out: 137305176 2016-01-26 11:46:50:318456: [[email protected]] out: 2016-01-26 11:46:50:318717: 2016-01-26 11:46:50:319077: [[email protected]] Executing task 'verify_time_all' 2016-01-26 11:46:50:324138: [[email protected]] Executing task 'get_all_time' 2016-01-26 11:46:50:330432: [[email protected]] sudo: DATE=$( date ); DATEMILLISEC=$( date +%s ); echo $DATE; echo $DATEMILLISEC 2016-01-26 11:46:50:334245: [[email protected]] out: Tue Jan 26 11:46:50 IST 2016 2016-01-26 11:46:50:605241: [[email protected]] out: 1453789010 2016-01-26 11:46:50:605352: [[email protected]] out: 2016-01-26 11:46:50:605718: 2016-01-26 11:46:50:605903: Time synced in the nodes, Proceeding to install/provision. 2016-01-26 11:46:50:628002: 2016-01-26 11:46:50:650858: INFO: 2016-01-26 11:46:50:650858: Openstack and cfgm nodes are same, No need for contrail_internal_vip to be specified in testbed.py. 2016-01-26 11:46:50:651055: [[email protected]] Executing task 'add_openstack_reserverd_ports' 2016-01-26 11:46:50:651429: [[email protected]] sudo: cat /proc/sys/net/ipv4/ip_local_reserved_ports 2016-01-26 11:46:50:652014: [[email protected]] out: 33306,35357-35358 2016-01-26 11:46:50:689948: [[email protected]] out: 2016-01-26 11:46:50:690474: 2016-01-26 11:46:50:690861: [[email protected]] sudo: sysctl -w net.ipv4.ip_local_reserved_ports=35357,35358,33306,33306,35357-35358 2016-01-26 11:46:50:691191: [[email protected]] out: net.ipv4.ip_local_reserved_ports = 35357,35358,33306,33306,35357-35358 2016-01-26 11:46:50:758445: [[email protected]] out: 2016-01-26 11:46:50:758687: 2016-01-26 11:46:50:758968: [[email protected]] sudo: grep '^net.ipv4.ip_local_reserved_ports' /etc/sysctl.conf > /dev/null 2>&1 2016-01-26 11:46:50:759166: [[email protected]] sudo: sed -i 's/net.ipv4.ip_local_reserved_ports\s*=\s*/net.ipv4.ip_local_reserved_ports=35357,35358,33306,/' /etc/sysctl.conf 2016-01-26 11:46:50:824619: [[email protected]] sudo: sysctl -p 2016-01-26 11:46:50:891147: [[email protected]] out: net.ipv4.ip_local_reserved_ports = 35357,35358,33306,35357,35358,33306,35357,35358,33306 2016-01-26 11:46:50:956953: [[email protected]] out: 2016-01-26 11:46:50:957236: 2016-01-26 11:46:50:957645: [[email protected]] Executing task 'create_installer_repo' 2016-01-26 11:46:50:958080: [[email protected]] Executing task 'create_install_repo' 2016-01-26 11:46:51:058637: [[email protected]] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2016-01-26 11:46:51:059205: [[email protected]] out: ('Ubuntu', '14.04', 'trusty') 2016-01-26 11:46:51:158592: [[email protected]] out: 2016-01-26 11:46:51:158977: 2016-01-26 11:46:51:159561: [[email protected]] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2016-01-26 11:46:51:160049: [[email protected]] out: ('Ubuntu', '14.04', 'trusty') 2016-01-26 11:46:51:243623: [[email protected]] out: 2016-01-26 11:46:51:244318: 2016-01-26 11:46:51:244675: [[email protected]] sudo: dpkg-query -W -f='${VERSION}\n' contrail-install-packages 2016-01-26 11:46:51:245082: [[email protected]] out: 2.21-102~icehouse 2016-01-26 11:46:51:344487: [[email protected]] out: 2016-01-26 11:46:51:345915: 2016-01-26 11:46:51:381398: [[email protected]] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2016-01-26 11:46:51:381573: [[email protected]] out: ('Ubuntu', '14.04', 'trusty') 2016-01-26 11:46:51:455007: [[email protected]] out: 2016-01-26 11:46:51:455474: 2016-01-26 11:46:51:455843: [[email protected]] sudo: apt-cache show contrail-setup | grep Version: | grep -Po "Version: \K.*" 2016-01-26 11:46:51:456299: [[email protected]] out: 2.21-102 2016-01-26 11:46:51:540242: [[email protected]] out: 2016-01-26 11:46:51:540658: 2016-01-26 11:46:51:541175: [[email protected]] Executing task 'create_install_repo_dpdk' 2016-01-26 11:46:51:541651: [[email protected]] Executing task 'install_database' 2016-01-26 11:46:51:542129: [[email protected]] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2016-01-26 11:46:51:542629: [[email protected]] out: ('Ubuntu', '14.04', 'trusty') 2016-01-26 11:46:51:643435: [[email protected]] out: 2016-01-26 11:46:51:643677: 2016-01-26 11:46:51:643853: [[email protected]] sudo: echo "manual" >> /etc/init/supervisor-database.override 2016-01-26 11:46:51:644078: [[email protected]] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2016-01-26 11:46:51:693672: [[email protected]] out: ('Ubuntu', '14.04', 'trusty') 2016-01-26 11:46:51:824830: [[email protected]] out: 2016-01-26 11:46:51:825227: 2016-01-26 11:46:51:825767: [[email protected]] sudo: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack-database 2016-01-26 11:46:51:826198: [[email protected]] out: 2016-01-26 11:46:51:877224: [[email protected]] out: Reading package lists... 0% 2016-01-26 11:46:51:877452: [[email protected]] out: 2016-01-26 11:46:51:881045: [[email protected]] out: Reading package lists... 100% 2016-01-26 11:46:51:881301: [[email protected]] out: 2016-01-26 11:46:51:881494: [[email protected]] out: Reading package lists... Done 2016-01-26 11:46:51:881662: [[email protected]] out: 2016-01-26 11:46:51:881834: [[email protected]] out: 2016-01-26 11:46:51:889585: [[email protected]] out: Building dependency tree... 0% 2016-01-26 11:46:51:889925: [[email protected]] out: 2016-01-26 11:46:51:890180: [[email protected]] out: Building dependency tree... 0% 2016-01-26 11:46:51:890385: [[email protected]] out: 2016-01-26 11:46:51:954374: [[email protected]] out: Building dependency tree... 50% 2016-01-26 11:46:51:954516: [[email protected]] out: 2016-01-26 11:46:51:954602: [[email protected]] out: Building dependency tree... 50% 2016-01-26 11:46:51:954675: [[email protected]] out: 2016-01-26 11:46:52:155131: [[email protected]] out: Building dependency tree 2016-01-26 11:46:52:155308: [[email protected]] out: 2016-01-26 11:46:52:155409: [[email protected]] out: 2016-01-26 11:46:52:155495: [[email protected]] out: Reading state information... 0% 2016-01-26 11:46:52:155574: [[email protected]] out: 2016-01-26 11:46:52:155647: [[email protected]] out: Reading state information... 0% 2016-01-26 11:46:52:155711: [[email protected]] out: 2016-01-26 11:46:52:155780: [[email protected]] out: Reading state information... Done 2016-01-26 11:46:52:155842: [[email protected]] out: 2016-01-26 11:46:52:155905: [[email protected]] out: contrail-openstack-database is already the newest version. 2016-01-26 11:46:52:256340: [[email protected]] out: The following packages were automatically installed and are no longer required: 2016-01-26 11:46:52:388180: [[email protected]] out: postgresql-client postgresql-client-9.3 postgresql-client-common 2016-01-26 11:46:52:388338: [[email protected]] out: Use 'apt-get autoremove' to remove them. 2016-01-26 11:46:52:388426: [[email protected]] out: 0 upgraded, 0 newly installed, 0 to remove and 256 not upgraded. 2016-01-26 11:46:52:452338: [[email protected]] out: 2016-01-26 11:46:52:452946: 2016-01-26 11:46:52:453387: [[email protected]] Executing task 'install_orchestrator' 2016-01-26 11:46:52:453928: [[email protected]] Executing task 'install_openstack' 2016-01-26 11:46:52:454328: [[email protected]] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2016-01-26 11:46:52:454792: [[email protected]] out: ('Ubuntu', '14.04', 'trusty') 2016-01-26 11:46:52:554218: [[email protected]] out: 2016-01-26 11:46:52:554419: 2016-01-26 11:46:52:555605: [[email protected]] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2016-01-26 11:46:52:555823: [[email protected]] out: ('Ubuntu', '14.04', 'trusty') 2016-01-26 11:46:52:637277: [[email protected]] out: 2016-01-26 11:46:52:637680: 2016-01-26 11:46:52:638057: [[email protected]] sudo: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack 2016-01-26 11:46:52:638519: [[email protected]] out: 2016-01-26 11:46:52:713523: [[email protected]] out: Reading package lists... 0% 2016-01-26 11:46:52:713659: [[email protected]] out: 2016-01-26 11:46:52:713742: [[email protected]] out: Reading package lists... 100% 2016-01-26 11:46:52:713811: [[email protected]] out: 2016-01-26 11:46:52:713899: [[email protected]] out: Reading package lists... Done 2016-01-26 11:46:52:713960: [[email protected]] out: 2016-01-26 11:46:52:714022: [[email protected]] out: 2016-01-26 11:46:52:714080: [[email protected]] out: Building dependency tree... 0% 2016-01-26 11:46:52:714139: [[email protected]] out: 2016-01-26 11:46:52:714234: [[email protected]] out: Building dependency tree... 0% 2016-01-26 11:46:52:714297: [[email protected]] out: 2016-01-26 11:46:52:746084: [[email protected]] out: Building dependency tree... 50% 2016-01-26 11:46:52:746232: [[email protected]] out: 2016-01-26 11:46:52:746299: [[email protected]] out: Building dependency tree... 50% 2016-01-26 11:46:52:746353: [[email protected]] out: 2016-01-26 11:46:52:946759: [[email protected]] out: Building dependency tree 2016-01-26 11:46:52:946868: [[email protected]] out: 2016-01-26 11:46:52:946917: [[email protected]] out: 2016-01-26 11:46:52:946958: [[email protected]] out: Reading state information... 0% 2016-01-26 11:46:52:946999: [[email protected]] out: 2016-01-26 11:46:52:947041: [[email protected]] out: Reading state information... 0% 2016-01-26 11:46:52:947081: [[email protected]] out: 2016-01-26 11:46:52:947123: [[email protected]] out: Reading state information... Done 2016-01-26 11:46:52:947163: [[email protected]] out: 2016-01-26 11:46:52:947206: [[email protected]] out: Some packages could not be installed. This may mean that you have 2016-01-26 11:46:53:211376: [[email protected]] out: requested an impossible situation or if you are using the unstable 2016-01-26 11:46:53:211540: [[email protected]] out: distribution that some required packages have not yet been created 2016-01-26 11:46:53:211614: [[email protected]] out: or been moved out of Incoming. 2016-01-26 11:46:53:211672: [[email protected]] out: The following information may help to resolve the situation: 2016-01-26 11:46:53:211727: [[email protected]] out: 2016-01-26 11:46:53:211778: [[email protected]] out: The following packages have unmet dependencies: 2016-01-26 11:46:53:211826: [[email protected]] out: contrail-openstack : Depends: contrail-nova-networkapi (>= 2.21-102) but it is not going to be installed 2016-01-26 11:46:53:211876: [[email protected]] out: Depends: nova-api (>= 1:2014.1.3-0ubuntu1~cloud0.3) but it is not going to be installed 2016-01-26 11:46:53:211933: [[email protected]] out: Depends: nova-common (>= 1:2014.1.3-0ubuntu1~cloud0.3) but it is not going to be installed 2016-01-26 11:46:53:211983: [[email protected]] out: Depends: nova-conductor (>= 1:2014.1.3-0ubuntu1~cloud0.3) but it is not going to be installed 2016-01-26 11:46:53:212032: [[email protected]] out: Depends: nova-console (>= 1:2014.1.3-0ubuntu1~cloud0.3) but it is not going to be installed 2016-01-26 11:46:53:212081: [[email protected]] out: Depends: nova-objectstore (>= 1:2014.1.3-0ubuntu1~cloud0.3) but it is not going to be installed 2016-01-26 11:46:53:212130: [[email protected]] out: Depends: nova-scheduler (>= 1:2014.1.3-0ubuntu1~cloud0.3) but it is not going to be installed 2016-01-26 11:46:53:212188: [[email protected]] out: Depends: nova-novncproxy (>= 1:2014.1.3-0ubuntu1~cloud0.3) but it is not going to be installed 2016-01-26 11:46:53:212235: [[email protected]] out: Depends: nova-consoleauth (>= 1:2014.1.3-0ubuntu1~cloud0.3) but it is not going to be installed 2016-01-26 11:46:53:212283: [[email protected]] out: E: Unable to correct problems, you have held broken packages. 2016-01-26 11:46:53:244375: [[email protected]] out: 2016-01-26 11:46:53:244868: 2016-01-26 11:46:53:251764: Fatal error: sudo() received nonzero return code 100 while executing! 2016-01-26 11:46:53:251764: 2016-01-26 11:46:53:251764: Requested: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack 2016-01-26 11:46:53:251764: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install contrail-openstack" 2016-01-26 11:46:53:251764: 2016-01-26 11:46:53:251938: Aborting. 2016-01-26 11:46:53:251938: 2016-01-26 11:46:53:251504: Disconnecting from 192.168.1.102... done.
_______________________________________________ Users mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
