Centos7: get_openstack_sku not defined
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Committed
|
Undecided
|
Nagendra Prasath | |||
Trunk |
Fix Committed
|
Undecided
|
Nagendra Prasath |
Bug Description
In a private build, R3.1/R21+
Seeing below error during setup_all as get_openstack_sku is not imported:
2016-08-11 15:55:56:091710: [root@10.84.32.11] Executing task 'restart_
2016-08-11 15:55:56:091937: [root@10.84.32.11] sudo: python -c 'from platform import linux_distribution; print linux_distribut
2016-08-11 15:55:56:092117: [root@10.84.32.11] out: ('CentOS Linux', '7.2.1511', 'Core')
2016-08-11 15:55:56:226445: [root@10.84.32.11] out:
2016-08-11 15:55:56:226666:
2016-08-11 15:55:56:226832: Disconnecting from 10.84.32.11... done.
2016-08-11 15:55:56:345429:
2016-08-11 15:49:40:453356: Warning: sudo() received nonzero return code 3 while executing 'service contrail-database status'!
2016-08-11 15:49:40:453356:
2016-08-11 15:49:40:453356:
2016-08-11 15:49:40:827962: Warning: sudo() received nonzero return code 2 while executing 'sudo ls /etc/contrail/
2016-08-11 15:49:40:827962:
2016-08-11 15:49:40:827962:
2016-08-11 15:54:13:551200: Warning: sudo() received nonzero return code 1 while executing 'rpm -qi contrail-
2016-08-11 15:54:13:551200:
2016-08-11 15:54:13:551200:
2016-08-11 15:54:14:682359: Warning: sudo() received nonzero return code 2 while executing 'sudo ls /etc/contrail/
2016-08-11 15:54:14:682359:
2016-08-11 15:54:14:682359: Traceback (most recent call last):
2016-08-11 15:55:56:227137: File "/usr/lib/
2016-08-11 15:55:56:227176: *args, **kwargs
2016-08-11 15:55:56:228103: File "/usr/lib/
2016-08-11 15:55:56:228144: multiprocessing
2016-08-11 15:55:56:228491: File "/usr/lib/
2016-08-11 15:55:56:228525: return task.run(*args, **kwargs)
2016-08-11 15:55:56:228622: File "/usr/lib/
2016-08-11 15:55:56:228652: return self.wrapped(*args, **kwargs)
2016-08-11 15:55:56:228732: File "/usr/lib/
2016-08-11 15:55:56:228761: return func(*args, **kwargs)
2016-08-11 15:55:56:229017: File "/usr/lib/
2016-08-11 15:55:56:229053: return self.run(*args, **kwargs)
2016-08-11 15:55:56:229133: File "/usr/lib/
2016-08-11 15:55:56:229162: return self.wrapped(*args, **kwargs)
2016-08-11 15:55:56:229240: File "/opt/contrail/
2016-08-11 15:55:56:229269: execute(
2016-08-11 15:55:56:230527: File "/usr/lib/
2016-08-11 15:55:56:230562: multiprocessing
2016-08-11 15:55:56:230674: File "/usr/lib/
2016-08-11 15:55:56:230704: return task.run(*args, **kwargs)
2016-08-11 15:55:56:230797: File "/usr/lib/
2016-08-11 15:55:56:230825: return self.wrapped(*args, **kwargs)
2016-08-11 15:55:56:230903: File "/usr/lib/
2016-08-11 15:55:56:230932: return func(*args, **kwargs)
2016-08-11 15:55:56:230992: File "/opt/contrail/
2016-08-11 15:55:56:231032: if detect_ostype() in ['centoslinux'] and get_openstack_sku() in ['kilo']:
2016-08-11 15:55:56:231319: NameError: global name 'get_openstack_sku' is not defined
2016-08-11 15:55:56:231443:
information type: | Proprietary → Public |
Review in progress for https:/ /review. opencontrail. org/23227
Submitter: Nagendra Prasath (<email address hidden>)