upgrade_contrail aborts unable to locate contrail-vrouter-13.03.100-generic

Bug #1664422 reported by wenqing liang
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
High
Hari Prasad Killi
R3.2
Fix Committed
High
Hari Prasad Killi
Trunk
Fix Committed
High
Hari Prasad Killi

Bug Description

Upgrade_contrail from r3.1.1.0-45 kilo to r3.2.1.0-23 kilo aborts:

2017-02-13 12:16:30:647402: [root@10.87.140.198] out: E: Unable to locate package contrail-vrouter-3.13.0-100-generic
2017-02-13 12:16:30:679435: [root@10.87.140.198] out: E: Couldn't find any package by regex 'contrail-vrouter-3.13.0-100-generic'
2017-02-13 12:16:30:679607: [root@10.87.140.198] out:
2017-02-13 12:16:30:679699: [root@10.87.140.198] out: Fatal error: local() encountered an error (return code 100) while executing 'DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-overwrite" -o Dpkg::Options::="--force-confnew" install contrail-openstack-vrouter contrail-vrouter-3.13.0-100-generic'
2017-02-13 12:16:30:679816: [root@10.87.140.198] out:
2017-02-13 12:16:30:680034: [root@10.87.140.198] out: Aborting.
2017-02-13 12:16:30:680114: [root@10.87.140.198] out:
2017-02-13 12:16:30:687792:
2017-02-13 12:16:30:698117: Disconnecting from 10.87.140.200... done.
2017-02-13 12:16:30:762451: Disconnecting from 10.87.140.199... done.
2017-02-13 12:16:30:876356: Disconnecting from 10.87.140.198... done.
2017-02-13 12:16:30:891871: Disconnecting from 10.87.140.197... done.
2017-02-13 12:16:31:005861:
2017-02-13 12:16:30:698271: Fatal error: sudo() received nonzero return code 1 while executing!
2017-02-13 12:16:30:698271:
2017-02-13 12:16:30:698271: Requested: upgrade-vnc-compute --self_ip 5.0.0.2 --cfgm_ip 5.0.0.1 --cfgm_user root --cfgm_passwd n1keenA --ncontrols 1 --amqp_server_ip 5.0.0.1 --service_token b1c14fd7528a836cebf3 --orchestrator openstack --hypervisor libvirt --non_mgmt_ip 5.0.0.2 --non_mgmt_gw 5.0.0.1 --keystone_ip 5.0.0.1 --keystone_version v2.0 --openstack_mgmt_ip 10.87.140.197 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password n1keenA --nova_password n1keenA --neutron_password n1keenA --service_tenant_name service --region_name RegionOne -P contrail-openstack-vrouter contrail-vrouter-3.13.0-100-generic -F 3.1.1.0 -T 3.2.1.0 -R compute
2017-02-13 12:16:30:698271: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "upgrade-vnc-compute --self_ip 5.0.0.2 --cfgm_ip 5.0.0.1 --cfgm_user root --cfgm_passwd n1keenA --ncontrols 1 --amqp_server_ip 5.0.0.1 --service_token b1c14fd7528a836cebf3 --orchestrator openstack --hypervisor libvirt --non_mgmt_ip 5.0.0.2 --non_mgmt_gw 5.0.0.1 --keystone_ip 5.0.0.1 --keystone_version v2.0 --openstack_mgmt_ip 10.87.140.197 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password n1keenA --nova_password n1keenA --neutron_password n1keenA --service_tenant_name service --region_name RegionOne -P contrail-openstack-vrouter contrail-vrouter-3.13.0-100-generic -F 3.1.1.0 -T 3.2.1.0 -R compute"
2017-02-13 12:16:30:698271:
2017-02-13 12:16:30:698323: Aborting.

possible breakage from https://bugs.launchpad.net/juniperopenstack/+bug/1662752

root@cmbu-ceph-perf1:/opt/contrail/utils# diff fabfile/tasks/upgrade.py.orig fabfile/tasks/upgrade.py
217c217
< if LooseVersion(from_rel) <= LooseVersion('3.0.2.0'):
---
> if LooseVersion(from_rel) <= LooseVersion('3.2.1.0'):
219,229c219
< if version == '14.04' and 'contrail-vrouter-3.13.0-40-generic' in pkgs:
< pkgs.remove('contrail-vrouter-3.13.0-40-generic')
< pkgs.append('contrail-vrouter-3.13.0-85-generic')
< elif LooseVersion(from_rel) <= LooseVersion('3.1.2.0'):
< dist, version, extra = get_linux_distro()
< if version == '14.04' and 'contrail-vrouter-3.13.0-85-generic' in pkgs:
< pkgs.remove('contrail-vrouter-3.13.0-85-generic')
< pkgs.append('contrail-vrouter-3.13.0-100-generic')
< elif LooseVersion(from_rel) <= LooseVersion('3.2.1.0'):
< dist, version, extra = get_linux_distro()
< if version == '14.04' and 'contrail-vrouter-3.13.0-106-generic' in pkgs:
---
> if version == '14.04':
root@cmbu-ceph-perf1:/opt/contrail/utils#

wenqing liang (wliang)
information type: Proprietary → Public
Jeba Paulaiyan (jebap)
tags: added: provisioning vrouter
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/28782
Submitter: Hari Prasad Killi (<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/28798
Submitter: Hari Prasad Killi (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/28799
Submitter: Hari Prasad Killi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/28782
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/231522fe433187faefeed6b3bf91ee0e95fe0c9d
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 231522fe433187faefeed6b3bf91ee0e95fe0c9d
Author: Hari Prasad Killi <email address hidden>
Date: Wed Feb 15 11:06:50 2017 +0530

Update packages in compute to use 3.13.0-106

closes-bug: #1664422

Change-Id: I44b1c010e92809a4280334534194a43928871bae

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

Reviewed: https://review.opencontrail.org/28799
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/d7e8872d6da02fc7a2f55fa47d9e9baf23900e1a
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit d7e8872d6da02fc7a2f55fa47d9e9baf23900e1a
Author: Hari Prasad Killi <email address hidden>
Date: Wed Feb 15 11:06:50 2017 +0530

Update packages in compute to use 3.13.0-106

closes-bug: #1664422

Change-Id: I44b1c010e92809a4280334534194a43928871bae

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

Reviewed: https://review.opencontrail.org/28798
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/96a7d2c1e97284a09ca606693569265e54fcc5c7
Submitter: Zuul (<email address hidden>)
Branch: master

commit 96a7d2c1e97284a09ca606693569265e54fcc5c7
Author: Hari Prasad Killi <email address hidden>
Date: Wed Feb 15 11:06:50 2017 +0530

Update packages in compute to use 3.13.0-106

closes-bug: #1664422

Change-Id: I44b1c010e92809a4280334534194a43928871bae

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

still seen in upgrade to r3.2.1.0-25 liberty from r3.1.1.0-45 liberty:

2017-02-26 07:30:47:836397: [root@10.87.140.198] out: E: Unable to locate package contrail-vrouter-3.13.0-100-generic
2017-02-26 07:30:47:868107: [root@10.87.140.198] out: E: Couldn't find any package by regex 'contrail-vrouter-3.13.0-100-generic'
2017-02-26 07:30:47:868219: [root@10.87.140.198] out:
2017-02-26 07:30:47:868268: [root@10.87.140.198] out: Fatal error: local() encountered an error (return code 100) while executing 'DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-overwrite" -o Dpkg::Options::="--force-confnew" install contrail-openstack-vrouter contrail-vrouter-3.13.0-100-generic'
2017-02-26 07:30:47:868325: [root@10.87.140.198] out:
2017-02-26 07:30:47:868377: [root@10.87.140.198] out: Aborting.
2017-02-26 07:30:47:868968: [root@10.87.140.198] out:
2017-02-26 07:30:47:869205:

2017-02-26 07:30:47:874365: Fatal error: sudo() received nonzero return code 1 while executing!
2017-02-26 07:30:47:874365:
2017-02-26 07:30:47:874365: Requested: upgrade-vnc-compute --self_ip 5.0.0.2 --cfgm_ip 5.0.0.1 --cfgm_user root --cfgm_passwd n1keenA --ncontrols 1 --amqp_server_ip 5.0.0.1 --service_token 5b324dcf28ff8bf89a6d --orchestrator openstack --hypervisor libvirt --non_mgmt_ip 5.0.0.2 --non_mgmt_gw 5.0.0.1 --keystone_ip 5.0.0.1 --keystone_version v2.0 --openstack_mgmt_ip 10.87.140.197 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password n1keenA --nova_password n1keenA --neutron_password n1keenA --service_tenant_name service --region_name RegionOne -P contrail-openstack-vrouter contrail-vrouter-3.13.0-100-generic -F 3.1.1.0 -T 3.2.1.0 -R compute
2017-02-26 07:30:47:874365: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "upgrade-vnc-compute --self_ip 5.0.0.2 --cfgm_ip 5.0.0.1 --cfgm_user root --cfgm_passwd n1keenA --ncontrols 1 --amqp_server_ip 5.0.0.1 --service_token 5b324dcf28ff8bf89a6d --orchestrator openstack --hypervisor libvirt --non_mgmt_ip 5.0.0.2 --non_mgmt_gw 5.0.0.1 --keystone_ip 5.0.0.1 --keystone_version v2.0 --openstack_mgmt_ip 10.87.140.197 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password n1keenA --nova_password n1keenA --neutron_password n1keenA --service_tenant_name service --region_name RegionOne -P contrail-openstack-vrouter contrail-vrouter-3.13.0-100-generic -F 3.1.1.0 -T 3.2.1.0 -R compute"
2017-02-26 07:30:47:874365:
2017-02-26 07:30:47:874417: Aborting.

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

Review in progress for https://review.opencontrail.org/29137
Submitter: Hari Prasad Killi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/29137
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/2fa9ca249bd8a751a25505034ee1142971aa11c9
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 2fa9ca249bd8a751a25505034ee1142971aa11c9
Author: Hari Prasad Killi <email address hidden>
Date: Mon Feb 27 15:52:37 2017 +0530

Update the kernel version at the correct place (comparison is based on from release).

Change-Id: I58da3a700c8f11c11c18ed47c31c3e58e2ac2f16
closes-bug: #1664422

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

Review in progress for https://review.opencontrail.org/29169
Submitter: Hari Prasad Killi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/29169
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/9894a026ddb525dfe858ad37f616ca5d8f80505e
Submitter: Zuul (<email address hidden>)
Branch: master

commit 9894a026ddb525dfe858ad37f616ca5d8f80505e
Author: Hari Prasad Killi <email address hidden>
Date: Mon Feb 27 15:52:37 2017 +0530

Update the kernel version at the correct place (comparison is based on from release).

Change-Id: I58da3a700c8f11c11c18ed47c31c3e58e2ac2f16
closes-bug: #1664422
(cherry picked from commit 2fa9ca249bd8a751a25505034ee1142971aa11c9)

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

Review in progress for https://review.opencontrail.org/29271
Submitter: Hari Prasad Killi (<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/29341
Submitter: Hari Prasad Killi (<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/29352
Submitter: Hari Prasad Killi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/29341
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/3837f79bcd24ea17b95d271c5abe8281f564f1cf
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 3837f79bcd24ea17b95d271c5abe8281f564f1cf
Author: Hari Prasad Killi <email address hidden>
Date: Fri Mar 3 10:16:46 2017 +0530

upgrade : remove check for R3.0.2.0

Change-Id: Ie233c91415deb8bbd250d4b8bb98824ea0818db3
closes-bug: #1664422

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

Reviewed: https://review.opencontrail.org/29352
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/3fdecc7ff5311a71d3b2f2decf1dea0cb1122604
Submitter: Zuul (<email address hidden>)
Branch: master

commit 3fdecc7ff5311a71d3b2f2decf1dea0cb1122604
Author: Hari Prasad Killi <email address hidden>
Date: Fri Mar 3 10:16:46 2017 +0530

upgrade : remove check for R3.0.2.0

Change-Id: Ie233c91415deb8bbd250d4b8bb98824ea0818db3
closes-bug: #1664422

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

Reviewed: https://review.opencontrail.org/29271
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/b97fec5878a29fec18f46bfbfb02ef3e34ea5537
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit b97fec5878a29fec18f46bfbfb02ef3e34ea5537
Author: Hari Prasad Killi <email address hidden>
Date: Mon Feb 27 15:52:37 2017 +0530

Update the kernel version at the correct place (comparison is based on from release).

Conflicts:
 fabfile/tasks/upgrade.py

Change-Id: I58da3a700c8f11c11c18ed47c31c3e58e2ac2f16
closes-bug: #1664422
(cherry picked from commit 2fa9ca249bd8a751a25505034ee1142971aa11c9)

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.