Fab upgrade contrail failed from 2.22.2-14 to 3.0.2.0 (latest)

Bug #1584154 reported by manishkn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Critical
Raj Reddy
Trunk
Fix Committed
Critical
Raj Reddy

Bug Description

From: Raj Reddy
Sent: Friday, May 20, 2016 9:37 AM
To: Manish Krishnan <email address hidden>
Cc: Jeba Paulaiyan <email address hidden>; Ignatious Johnson <email address hidden>
Subject: Re: fab upgrade from 2.22.2 to 3.0.2.0-40

This happened because the first upgrade_contrail.. removed the package and
the second upgrade_contrail.. complained about the package not being there..

we will have to make ‘removal’ errors just warning.. Open a PR we will fix it.. if you want to continue, just put with(warnings=True) around the removal and proceed..

-Raj

On May 19, 2016, at 11:02 PM, Manish Krishnan <email address hidden> wrote:

Hi Raj,

Could you pls ask someone in the team to take a look.

Thanks
Manish

Sent from my T-Mobile 4G LTE Device

-------- Original message --------
From: Ignatious Johnson
Date:05/19/2016 8:53 PM (GMT-08:00)
To: Manish Krishnan
Subject: Re: fab upgrade from 2.22.2 to 3.0.2.0-40
Seems to be a database issue, can you please send information and setup details to database team(Raj's team).
Or
Raise a bug and assign it to Raj.
Thanks,
Ignatious
On May 19, 2016 5:01 PM, Manish Krishnan <email address hidden> wrote:
Hi,

Fab upgrade contrail failed from 2.22.2 to 3.0.2.0.

2016-05-19 17:14:05:861926: [root@99.1.1.4] out: E: Unable to locate package python-kafka-python
2016-05-19 17:14:05:865428: [root@99.1.1.4] out:
2016-05-19 17:14:05:866056: [root@99.1.1.4] out: Fatal error: local() encountered an error (return code 100) while executing 'DEBIAN_FRONTEND=noninteractive apt-get -y remove --purge python-kafka-python'
2016-05-19 17:14:05:866177: [root@99.1.1.4] out:
2016-05-19 17:14:05:866299: [root@99.1.1.4] out: Aborting.
2016-05-19 17:14:05:866410: [root@99.1.1.4] out:
2016-05-19 17:14:05:882274:

Could you pls take a look.

Testbed: 10.87.143.20 (jump host : pwd : c0ntrail123) ; then connect to 99.1.1.4

Thanks
Manish Krishnan

Tags: analytics
Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Raj Reddy (rajreddy)
tags: added: analytics
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/20469
Submitter: Raj Reddy (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/20470
Submitter: Raj Reddy (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/20470
Committed: http://github.org/Juniper/contrail-provisioning/commit/70f6d104db0d03ca56198aa864f837d4b79fd4d3
Submitter: Zuul
Branch: R3.0

commit 70f6d104db0d03ca56198aa864f837d4b79fd4d3
Author: Raj Reddy <email address hidden>
Date: Fri May 20 11:25:15 2016 -0700

Closes-Bug: #1584154
make the upgrade_contrail re-entrant by ignoring error of removal of packages,
as those would have been removed in earlier runs..

(cherry picked from commit 0d9e4627628db8e7ffbcc69241088b2c67d7c321)

Conflicts:
 contrail_provisioning/common/upgrade.py
Change-Id: I00d78d2a4299a8efd37cab143b937027bd76ee4e

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

Reviewed: https://review.opencontrail.org/20469
Committed: http://github.org/Juniper/contrail-provisioning/commit/0d9e4627628db8e7ffbcc69241088b2c67d7c321
Submitter: Zuul
Branch: master

commit 0d9e4627628db8e7ffbcc69241088b2c67d7c321
Author: Raj Reddy <email address hidden>
Date: Fri May 20 11:25:15 2016 -0700

Closes-Bug: #1584154
make the upgrade_contrail re-entrant by ignoring error of removal of packages,
as those would have been removed in earlier runs..

Change-Id: I00d78d2a4299a8efd37cab143b937027bd76ee4e

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.