Fabric upgrade_compute_node failed for TSN

Bug #1659550 reported by Marco Passalacqua
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Unassigned
R3.0.2.x
Fix Committed
High
Unassigned
R3.0.3.x
Fix Committed
High
Unassigned
R3.1
Fix Committed
High
Unassigned
R3.1.1.x
Fix Committed
High
Unassigned
R3.2
Fix Committed
High
Unassigned
Trunk
Fix Committed
High
Unassigned

Bug Description

upgrade_compute_node builds list of packages to be installed using get_compute_pkgs() function.

The get_compute_pkgs() function has to check the SKU for a specific Junos condition: https://github.com/Juniper/contrail-fabric-utils/blob/master/fabfile/utils/install.py#L75

In case of TSN node, get_openstack_sku() function return None because in TSN nodes there's no openstack nova common package installed:
https://github.com/Juniper/contrail-fabric-utils/blob/master/fabfile/utils/fabos.py#L62

so the script exits with Fatal error.

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

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

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

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

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

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

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

Review in progress for https://review.opencontrail.org/28411
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/28404
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/c8b6f803de9da6ff5997b3506d881699930069aa
Submitter: Zuul (<email address hidden>)
Branch: master

commit c8b6f803de9da6ff5997b3506d881699930069aa
Author: Ignatious Johnson Christopher <email address hidden>
Date: Fri Feb 3 10:31:18 2017 -0800

Ignore error when determining the package version

if the pakcage is not installed and return None.

Change-Id: Ife141f1fa08527e3e91c89086315d9f633174300
Closes-Bug: 1659550

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

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

commit c28a354428cbf9302d448d8db7d27a5d5eeae1c0
Author: Ignatious Johnson Christopher <email address hidden>
Date: Fri Feb 3 10:31:18 2017 -0800

Ignore error when determining the package version

if the pakcage is not installed and return None.

Change-Id: Ife141f1fa08527e3e91c89086315d9f633174300
Closes-Bug: 1659550

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

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

commit 8e454846d5a0b375a25566084d87efa445a3310a
Author: Ignatious Johnson Christopher <email address hidden>
Date: Fri Feb 3 10:31:18 2017 -0800

Ignore error when determining the package version

if the pakcage is not installed and return None.

Change-Id: Ife141f1fa08527e3e91c89086315d9f633174300
Closes-Bug: 1659550

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

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

commit e9ef5c6d8c110c1f4946cc57415d3a849cdff821
Author: Ignatious Johnson Christopher <email address hidden>
Date: Fri Feb 3 10:31:18 2017 -0800

Ignore error when determining the package version

if the pakcage is not installed and return None.

Change-Id: Ife141f1fa08527e3e91c89086315d9f633174300
Closes-Bug: 1659550

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

Reviewed: https://review.opencontrail.org/28407
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/29657f704bb9a80bb3584963b11d3c21fd1b31ec
Submitter: Zuul (<email address hidden>)
Branch: R3.1.1.x

commit 29657f704bb9a80bb3584963b11d3c21fd1b31ec
Author: Ignatious Johnson Christopher <email address hidden>
Date: Fri Feb 3 10:31:18 2017 -0800

Ignore error when determining the package version

if the pakcage is not installed and return None.

Change-Id: Ife141f1fa08527e3e91c89086315d9f633174300
Closes-Bug: 1659550

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

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

commit c6e5c2495d9965c8c8395158cac70cd14b43a671
Author: Ignatious Johnson Christopher <email address hidden>
Date: Fri Feb 3 10:31:18 2017 -0800

Ignore error when determining the package version

if the pakcage is not installed and return None.

Change-Id: Ife141f1fa08527e3e91c89086315d9f633174300
Closes-Bug: 1659550

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

Reviewed: https://review.opencontrail.org/28411
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/77729711e0f9431027cd14de9c1d38d69e0cc1c5
Submitter: Zuul (<email address hidden>)
Branch: R3.0.3.x

commit 77729711e0f9431027cd14de9c1d38d69e0cc1c5
Author: Ignatious Johnson Christopher <email address hidden>
Date: Fri Feb 3 10:31:18 2017 -0800

Ignore error when determining the package version

if the pakcage is not installed and return None.

Change-Id: Ife141f1fa08527e3e91c89086315d9f633174300
Closes-Bug: 1659550

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.