Upgrade_kernel_node_without_openstack fails if os is Ubuntu

Bug #1638669 reported by Vinod Nair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Won't Fix
High
Nagendra Prasath
R3.2
Fix Committed
High
Nagendra Prasath
Trunk
Won't Fix
High
Nagendra Prasath

Bug Description

Fab : upgrade_kernel_without_openstack fails if the host os is ubuntu

2016-11-02 11:25:25:217313: [root@10.87.141.161] sudo: python -c 'from platform import linux_distribution; print linux_distribution()'
2016-11-02 11:25:25:217932: [root@10.87.141.161] out: ('Ubuntu', '14.04', 'trusty')
2016-11-02 11:25:25:258951: [root@10.87.141.161] out:
2016-11-02 11:25:25:259134:
2016-11-02 11:25:25:259515: Traceback (most recent call last):
2016-11-02 11:25:25:259866: File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 743, in main
2016-11-02 11:25:25:260020: *args, **kwargs
2016-11-02 11:25:25:260432: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute
2016-11-02 11:25:25:260612: multiprocessing
2016-11-02 11:25:25:260930: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute
2016-11-02 11:25:25:261063: return task.run(*args, **kwargs)
2016-11-02 11:25:25:261342: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2016-11-02 11:25:25:261548: return self.wrapped(*args, **kwargs)
2016-11-02 11:25:25:261793: File "/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator
2016-11-02 11:25:25:261941: return func(*args, **kwargs)
2016-11-02 11:25:25:262167: File "/opt/contrail/utils/fabfile/tasks/kernel.py", line 86, in upgrade_kernel_without_openstack
2016-11-02 11:25:25:262333: " kernel upgrade." % (dist, version, extra))
2016-11-02 11:25:25:262630: RuntimeError: Unsupported platfrom (Ubuntu, 14.04, trusty) for kernel upgrade.

root@vxa2-cs2-ctrl2-1:/opt/contrail/utils# cat /etc/issue
Ubuntu 14.04.4 LTS \n \l

Tags: provisioning
Vinod Nair (vinodnair)
summary: - Upgrade_kernel_node_without_openstack fails if os is Ubuntui
+ Upgrade_kernel_node_without_openstack fails if os is Ubuntu
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/26703
Submitter: Nagendra Prasath (<email address hidden>)

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

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

commit 6d9df2dc968c53e7ce2d0d351c1f623a717d2472
Author: Nagendra Chandran <email address hidden>
Date: Thu Dec 1 21:53:18 2016 -0800

upgrade_kernel_without_openstack to support ubuntu 14.04.4
Closes-Bug: 1638669

Change-Id: I4a448ea080550bda496ee4f5bf7a471f2ecc1b8e

Revision history for this message
Abhay Joshi (abhayj) wrote :

Not issue on 4.0 as fab is not there.

Abhay Joshi (abhayj)
Changed in juniperopenstack:
status: New → Won't Fix
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.