Vcenter: plugin not upgraded during 2.21 to R3.0 upgrade

Bug #1551598 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Critical
amudhar
Trunk
Fix Committed
Critical
amudhar

Bug Description

This issue seen during upgrade from 2.21 to R3.0 and all other services got upgraded to 3.0 except vcenter-plugin only.
Yuvaraja debugged the setup and he knows the problem.

>>>> problem logs

                                             2016-02-29 21:24:52:704756: [root@10.84.24.62] out: Preparing to unpack .../contrail-install-vcenter-plugin_3.0.0.0-03012016_all.deb …
                                      2016-02-29 21:24:52:708200: [root@10.84.24.62] out: Unpacking contrail-install-vcenter-plugin (3.0.0.0-03012016) over (2.21.1-01052016) …
                                             2016-02-29 21:24:52:840249: [root@10.84.24.62] out: dpkg: error processing archive /tmp/tmpfzByH4/contrail-install-vcenter-plugin_3.0.0.0-03012016_all.deb (--install):
                                             2016-02-29 21:24:53:056235: [root@10.84.24.62] out: trying to overwrite '/usr/share/contrail-vcenter-plugin/log4j.properties', which is also in package contrail-vcenter-plugin 2.21.1-01052016
                                             2016-02-29 21:24:53:056361: [root@10.84.24.62] out: Processing triggers for ureadahead (0.100.0-16) …
                                             2016-02-29 21:24:53:357053: [root@10.84.24.62] out: Errors were encountered while processing:
                                             2016-02-29 21:24:53:721158: [root@10.84.24.62] out: /tmp/tmpfzByH4/contrail-install-vcenter-plugin_3.0.0.0-03012016_all.deb

root@oblocknode02:~#
root@oblocknode02:~# contrail-version
Package Version Build-ID | Repo | Package Name
-------------------------------------- ------------------------------ ----------------------------------
contrail-analytics 3.0.0.0-2722 2722
contrail-config 3.0.0.0-2722 2722
contrail-control 3.0.0.0-2722 2722
contrail-dns 3.0.0.0-2722 2722
contrail-docs 3.0.0.0-2722 2722
contrail-f5 3.0.0.0-2722 2722
contrail-fabric-utils 3.0.0.0-2722 2722
contrail-install-packages 3.0.0.0-2722~vcenter 2722
contrail-install-vcenter-plugin 2.21.1-12012015 2722
contrail-lib 3.0.0.0-2722 2722
contrail-nodemgr 3.0.0.0-2722 2722
contrail-openstack-analytics 3.0.0.0-2722 2722
contrail-openstack-control 3.0.0.0-2722 2722
contrail-openstack-database 3.0.0.0-2722 2722
contrail-openstack-webui 3.0.0.0-2722 2722
contrail-setup 3.0.0.0-2722 2722
contrail-utils 3.0.0.0-2722 2722
 contrail-vmware-config 3.0.0.0-2722 2722
contrail-vmware-utils 3.0.0.0-2722 2722
contrail-web-controller 3.0.0.0-2722 2722
contrail-web-core 3.0.0.0-2722 2722
ifmap-python-client 0.1-2 2722
ifmap-server 0.3.2-1contrail1 2722
python-contrail 3.0.0.0-2722 2722
root@oblocknode02:~#
root@oblocknode02:~#

Revision history for this message
amudhar (amudha) wrote :

The workaround is to uninstall the vcenter-plugin and then install the newer vcenter-plugin package.
1. uninstall vcenter-plugin -- apt-get — purge remove <contrail-install-vcenter-plugin-old>
2. fab install_contrail_vcenter_plugin:<contrail-install-vcenter-plugin-new-deb>

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

Review in progress for https://review.opencontrail.org/18458
Submitter: amudha ramachandran (<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/18459
Submitter: amudha ramachandran (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18459
Committed: http://github.org/Juniper/contrail-vcenter-plugin/commit/ed33bfac5ba5a05d6baf51efcec9197504f00150
Submitter: Zuul
Branch: master

commit ed33bfac5ba5a05d6baf51efcec9197504f00150
Author: a <email address hidden>
Date: Wed Mar 16 04:44:36 2016 +0530

Replace contrail-vcenter-plugin when upgrading

Add Replaces in contrail-vcenter-plugin control file.

Partial-Bug: #1551598

Change-Id: I3ab1f3a9e62cad1d6917ea22f67170b8b11c3e53

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

Reviewed: https://review.opencontrail.org/18458
Committed: http://github.org/Juniper/contrail-vcenter-plugin/commit/062591a3eb9c3539ca0f08c52c780a03c9bb4c46
Submitter: Zuul
Branch: R3.0

commit 062591a3eb9c3539ca0f08c52c780a03c9bb4c46
Author: a <email address hidden>
Date: Wed Mar 16 04:40:08 2016 +0530

Replace contrail-vcenter-plugin when upgrading

Add Replaces in contrail-vcenter-plugin control file.

Partial-Bug: #1551598

Change-Id: I67468c21b9071b8d134dd82026811be6b9f11748

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.