migrate_compute_kernel abort Unable to locate package contrail-vrouter-3.13.0-100-generic

Bug #1661919 reported by wenqing liang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Ignatious Johnson Christopher
Trunk
Fix Committed
High
Ignatious Johnson Christopher

Bug Description

During upgrade from r3.1.1.0-45 kilo to r3.2.1.0-21~kilo, migrate_compute_kernel aborts with the following error:

2017-02-04 20:31:55:397365: [root@10.87.140.198] out: E: Unable to locate package contrail-vrouter-3.13.0-100-generic
2017-02-04 20:31:55:413215: [root@10.87.140.198] out: E: Couldn't find any package by regex 'contrail-vrouter-3.13.0-100-generic'
2017-02-04 20:31:55:413333: [root@10.87.140.198] out:
2017-02-04 20:31:55:414685:
2017-02-04 20:31:55:419501: Disconnecting from 10.87.140.198... done.
2017-02-04 20:31:55:533643:
2017-02-04 20:31:55:419611: Fatal error: sudo() received nonzero return code 100 while executing!
2017-02-04 20:31:55:419611:
2017-02-04 20:31:55:419611: Requested: apt-get -o Dpkg::Options::="--force-overwrite" -y install contrail-vrouter-3.13.0-100-generic
2017-02-04 20:31:55:419611: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "apt-get -o Dpkg::Options::=\"--force-overwrite\" -y install contrail-vrouter-3.13.0-100-generic"
2017-02-04 20:31:55:419611:
2017-02-04 20:31:55:419649: Aborting.
2017-02-04 20:31:55:419649:

root@cmbu-ceph-perf1:/opt/contrail/utils# uname -a
Linux cmbu-ceph-perf1 3.13.0-85-generic #129-Ubuntu SMP Thu Mar 17 20:50:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@cmbu-ceph-perf1:/opt/contrail/utils#

setup.sh and install_pkg_all of the new pkg looked ok:

   30 dpkg -i contrail-install-packages_3.2.1.0-21~ubuntu-14-04kilo_all.deb
   31 cd /opt/contrail/contrail_packages/
   32 ./setup.sh
   33 cd ../utils/
   34 ls /root/store
   35 fab install_pkg_all:/root/store/contrail-install-packages_3.2.1.0-21~ubuntu-14-04kilo_all.deb
   36 fab migrate_compute_kernel

root@cmbu-ceph-perf1:/opt/contrail/utils# dpkg -l | grep fabric
ii contrail-fabric-utils 3.2.1.0-21 all Contrail Fabric Utilities for cluster management
root@cmbu-ceph-perf1:/opt/contrail/utils#

see logs in /cs-shared/bugs/1661919:

[root@cmbu-auto02 1661919]# ls
install_pkg_all_2017_02_04_20_28_20_063863.log migrate_compute_kernel_2017_02_04_20_30_05_782180.log
[root@cmbu-auto02 1661919]#

root@cmbu-ceph-perf1:/opt/contrail/utils# contrail-version
Package Version Build-ID | Repo | Package Name
-------------------------------------- ------------------------------ ----------------------------------
contrail-analytics 3.1.1.0-45 21
contrail-config 3.1.1.0-45 21
contrail-config-openstack 3.1.1.0-45 21
contrail-control 3.1.1.0-45 21
contrail-database-common 3.1.1.0-45 21
contrail-dns 3.1.1.0-45 21
contrail-docs 3.1.1.0-45 21
contrail-f5 3.1.1.0-45 21
contrail-fabric-utils 3.2.1.0-21 21
contrail-heat 3.1.1.0-45 21
contrail-install-packages 3.2.1.0-21~kilo 21
contrail-lib 3.1.1.0-45 21
contrail-nodemgr 3.1.1.0-45 21
contrail-nova-networkapi 3.1.1.0-45 21
contrail-openstack 3.1.1.0-45 21
contrail-openstack-analytics 3.1.1.0-45 21
contrail-openstack-config 3.1.1.0-45 21
contrail-openstack-control 3.1.1.0-45 21
contrail-openstack-dashboard 3.1.1.0-45 21
contrail-openstack-database 3.1.1.0-45 21
contrail-openstack-webui 3.1.1.0-45 21
contrail-setup 3.2.1.0-21 21
contrail-utils 3.1.1.0-45 21
contrail-web-controller 3.1.1.0-45 21
contrail-web-core 3.1.1.0-45 21
ifmap-python-client 0.1-2 21
ifmap-server 0.3.2-1contrail2 21
neutron-plugin-contrail 3.1.1.0-45 21
nova-api 1:2015.1.2-0ubuntu2~cloud0.1contrail21
nova-common 1:2015.1.2-0ubuntu2~cloud0.1contrail21
nova-conductor 1:2015.1.2-0ubuntu2~cloud0.1contrail21
nova-console 1:2015.1.2-0ubuntu2~cloud0.1contrail21
nova-consoleauth 1:2015.1.2-0ubuntu2~cloud0.1contrail21
nova-novncproxy 1:2015.1.2-0ubuntu2~cloud0.1contrail21
nova-objectstore 1:2015.1.2-0ubuntu2~cloud0.1contrail21
nova-scheduler 1:2015.1.2-0ubuntu2~cloud0.1contrail21
python-contrail 3.1.1.0-45 21
python-neutronclient 1:2.3.11-0ubuntu1~cloud0.3contrail21
python-nova 1:2015.1.2-0ubuntu2~cloud0.1contrail21
root@cmbu-ceph-perf1:/opt/contrail/utils# contrail-status
== Contrail Control ==
supervisor-control: active
contrail-control active
contrail-control-nodemgr active
contrail-dns active
contrail-named active

== Contrail Analytics ==
supervisor-analytics: active
contrail-alarm-gen:0 active
contrail-analytics-api active
contrail-analytics-nodemgr active
contrail-collector active
contrail-query-engine active
contrail-snmp-collector active
contrail-topology active

== Contrail Config ==
supervisor-config: active
contrail-api:0 active
contrail-config-nodemgr active
contrail-device-manager active
contrail-discovery:0 active
contrail-schema active
contrail-svc-monitor active
ifmap active

== Contrail Web UI ==
supervisor-webui: active
contrail-webui active
contrail-webui-middleware active

== Contrail Database ==
contrail-database: active

== Contrail Supervisor Database ==
supervisor-database: active
contrail-database-nodemgr active
kafka active

== Contrail Support Services ==
supervisor-support-service: active
rabbitmq-server active

== Contrail Storage ==
contrail-storage-stats: active
root@cmbu-ceph-perf1:/opt/contrail/utils#

wenqing liang (wliang)
information type: Proprietary → Public
wenqing liang (wliang)
description: updated
Jeba Paulaiyan (jebap)
tags: added: provisioning
Revision history for this message
Pavana (pavanap) wrote :

fab upgrade_kernel_all also fails with a similar error -

E: Unable to locate package linux-headers-3.13.0-100
E: Couldn't find any package by regex 'linux-headers-3.13.0-100'

sudo: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install linux-headers-3.13.0-100
2017-02-04 08:38:20:862282: [root@10.204.216.36] out:
2017-02-04 08:38:20:929617: [root@10.204.216.36] out: Reading package lists... 0%
2017-02-04 08:38:20:929813: [root@10.204.216.36] out:
2017-02-04 08:38:20:930112: [root@10.204.216.36] out: Reading package lists... 100%
2017-02-04 08:38:20:930266: [root@10.204.216.36] out:
2017-02-04 08:38:20:930411: [root@10.204.216.36] out: Reading package lists... Done
2017-02-04 08:38:20:930556: [root@10.204.216.36] out:
2017-02-04 08:38:20:930701: [root@10.204.216.36] out:
2017-02-04 08:38:20:930843: [root@10.204.216.36] out: Building dependency tree... 0%
2017-02-04 08:38:20:930989: [root@10.204.216.36] out:
2017-02-04 08:38:20:931178: [root@10.204.216.36] out: Building dependency tree... 0%
2017-02-04 08:38:20:931329: [root@10.204.216.36] out:
2017-02-04 08:38:20:931479: [root@10.204.216.36] out: Building dependency tree... 50%
2017-02-04 08:38:20:931629: [root@10.204.216.36] out:
2017-02-04 08:38:20:931782: [root@10.204.216.36] out: Building dependency tree... 50%
2017-02-04 08:38:20:931932: [root@10.204.216.36] out:
2017-02-04 08:38:20:936330: [root@10.204.216.36] out: Building dependency tree
2017-02-04 08:38:20:936560: [root@10.204.216.36] out:
2017-02-04 08:38:20:936733: [root@10.204.216.36] out:
2017-02-04 08:38:20:936878: [root@10.204.216.36] out: Reading state information... 0%
2017-02-04 08:38:20:937049: [root@10.204.216.36] out:
2017-02-04 08:38:20:937209: [root@10.204.216.36] out: Reading state information... 0%
2017-02-04 08:38:20:937358: [root@10.204.216.36] out:
2017-02-04 08:38:20:937507: [root@10.204.216.36] out: Reading state information... Done
2017-02-04 08:38:20:937656: [root@10.204.216.36] out:
2017-02-04 08:38:20:937805: [root@10.204.216.36] out: E: Unable to locate package linux-headers-3.13.0-100
2017-02-04 08:38:20:946094: [root@10.204.216.36] out: E: Couldn't find any package by regex 'linux-headers-3.13.0-100'
2017-02-04 08:38:20:946331: [root@10.204.216.36] out:
2017-02-04 08:38:20:948100:
2017-02-04 08:38:20:962579: Fatal error: sudo() received nonzero return code 100 while executing!
2017-02-04 08:38:20:962579:
2017-02-04 08:38:20:962579: Requested: DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install linux-headers-3.13.0-100
2017-02-04 08:38:20:962579: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes --allow-unauthenticated install linux-headers-3.13.0-100"
2017-02-04 08:38:20:962579:
2017-02-04 08:38:20:962651: Aborting.
2017-02-04 08:38:20:962651:
2017-02-04 08:38:20:962412: Disconnecting from root@10.204.216.36... done.
2017-02-04 08:38:21:049444: + debug_and_die 'Upgrading Kernel failed'
+ local 'message=Upgrading Kernel failed'

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

Review in progress for https://review.opencontrail.org/28481
Submitter: Ignatious Johnson Christopher (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/28484
Submitter: Ignatious Johnson Christopher (<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/28485
Submitter: Ignatious Johnson Christopher (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/28486
Submitter: Ignatious Johnson Christopher (<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/28484
Submitter: Ignatious Johnson Christopher (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/28481
Committed: http://github.org/Juniper/contrail-vrouter/commit/946a02ce0f2562bdd9917f9328ac6ec9887e3716
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 946a02ce0f2562bdd9917f9328ac6ec9887e3716
Author: Amudha <email address hidden>
Date: Wed Nov 30 12:36:52 2016 -0800

Updating default_kernel_version for 14.04 to 3.13.0-100

Change-Id: Ia518a8678a77d864d5a7a326c2d27f603ac3a3f2
Closes-Bug: #1646227
Closes-Bug: 1661919
(cherry picked from commit 9e6c928e5ce00687b642138ce3742985e26de924)

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

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

commit 08157050f0f753c28c3f3c2009029684b5c13aa7
Author: Ignatious Johnson Christopher <email address hidden>
Date: Mon Feb 6 12:55:26 2017 -0800

Updating default_kernel_version for 14.04 to 3.13.0-100

Change-Id: I3200162c074f334aa3004051498c76c24f728945
Closes-Bug: #1646227
Closes-Bug: 1661919

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

Reviewed: https://review.opencontrail.org/28485
Committed: http://github.org/Juniper/contrail-vrouter/commit/58abb9f6457d4768c611bc524c06d2fd0c31e433
Submitter: Zuul (<email address hidden>)
Branch: master

commit 58abb9f6457d4768c611bc524c06d2fd0c31e433
Author: Amudha <email address hidden>
Date: Wed Nov 30 12:36:52 2016 -0800

Updating default_kernel_version for 14.04 to
3.13.0-100

Change-Id: Ia518a8678a77d864d5a7a326c2d27f603ac3a3f2
Closes-Bug: #1646227
Closes-Bug: 1661919

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

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

commit 37699044c6165c1b3c4d7c657e3001d837498578
Author: Ignatious Johnson Christopher <email address hidden>
Date: Mon Feb 6 12:55:26 2017 -0800

Updating default_kernel_version for 14.04 to
3.13.0-100

Closes-Bug: #1646227
Closes-Bug: 1661919

Conflicts:
 common/debian/Makefile

Change-Id: Ia6f2cfb19f311cd6ff8459bcb4269e1057b751a5

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.