setup_all aborts on undefined 'mt_opt' global name

Bug #1631263 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Invalid
High
wenqing liang
Trunk
Invalid
High
wenqing liang

Bug Description

http://anamika.englab.juniper.net:8080/view/3.2/job/SVL_Centos-7.2_Mitaka_ContrailHA_Fab_Sanity/27/console on R3.1.1.0-35 mitaka.

2016-10-06 19:07:18:414184: [root@10.84.29.31] sudo: python -c 'from platform import linux_distribution; print linux_distribution()'
2016-10-06 19:07:18:414574: [root@10.84.29.31] out: ('CentOS Linux', '7.2.1511', 'Core')
2016-10-06 19:07:18:583247: [root@10.84.29.31] out:
2016-10-06 19:07:18:583806:
2016-10-06 19:07:18:584101: Traceback (most recent call last):
2016-10-06 19:07:18:585989: File "/usr/lib/python2.7/site-packages/fabric/main.py", line 743, in main
2016-10-06 19:07:18:586082: *args, **kwargs
2016-10-06 19:07:18:588053: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 375, in execute
2016-10-06 19:07:18:588183: multiprocessing
2016-10-06 19:07:18:588711: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 271, in _execute
2016-10-06 19:07:18:588819: return task.run(*args, **kwargs)
2016-10-06 19:07:18:589109: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
2016-10-06 19:07:18:589198: return self.wrapped(*args, **kwargs)
2016-10-06 19:07:18:589431: File "/usr/lib/python2.7/site-packages/fabric/decorators.py", line 53, in inner_decorator
2016-10-06 19:07:18:589568: return func(*args, **kwargs)
2016-10-06 19:07:18:589973: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 168, in __call__
2016-10-06 19:07:18:590048: return self.run(*args, **kwargs)
2016-10-06 19:07:18:590207: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
2016-10-06 19:07:18:590307: return self.wrapped(*args, **kwargs)
2016-10-06 19:07:18:590522: File "/root/fabric-utils/fabfile/tasks/provision.py", line 2555, in setup_all
2016-10-06 19:07:18:590637: execute('setup_cfgm')
2016-10-06 19:07:18:591669: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 375, in execute
2016-10-06 19:07:18:591761: multiprocessing
2016-10-06 19:07:18:592042: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 271, in _execute
2016-10-06 19:07:18:592117: return task.run(*args, **kwargs)
2016-10-06 19:07:18:592341: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
2016-10-06 19:07:18:592445: return self.wrapped(*args, **kwargs)
2016-10-06 19:07:18:592703: File "/usr/lib/python2.7/site-packages/fabric/decorators.py", line 53, in inner_decorator
2016-10-06 19:07:18:592785: return func(*args, **kwargs)
2016-10-06 19:07:18:592979: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 168, in __call__
2016-10-06 19:07:18:593067: return self.run(*args, **kwargs)
2016-10-06 19:07:18:593293: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
2016-10-06 19:07:18:593379: return self.wrapped(*args, **kwargs)
2016-10-06 19:07:18:593597: File "/root/fabric-utils/fabfile/tasks/provision.py", line 60, in setup_cfgm
2016-10-06 19:07:18:593713: execute("setup_cfgm_node", env.host_string)
2016-10-06 19:07:18:593948: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 415, in execute
2016-10-06 19:07:18:594061: results['<local-only>'] = task.run(*args, **new_kwargs)
2016-10-06 19:07:18:594370: File "/usr/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
2016-10-06 19:07:18:594457: return self.wrapped(*args, **kwargs)
2016-10-06 19:07:18:594709: File "/root/fabric-utils/fabfile/tasks/provision.py", line 636, in setup_cfgm_node
2016-10-06 19:07:18:594861: cmd = frame_vnc_config_cmd(host_string)
2016-10-06 19:07:18:595242: File "/root/fabric-utils/fabfile/utils/commandline.py", line 175, in frame_vnc_config_cmd
2016-10-06 19:07:18:595411: cmd += " --collector_ip %s %s" % (collector_ip, mt_opt)
2016-10-06 19:07:18:595699: NameError: global name 'mt_opt' is not defined
2016-10-06 19:07:18:596028: Disconnecting from 10.84.29.33... done.
2016-10-06 19:07:18:612287: Disconnecting from 10.84.29.32... done.
2016-10-06 19:07:18:676494: Disconnecting from 10.84.29.31... done.
2016-10-06 19:07:18:684498: Connection to 10.84.29.31 closed.
+ rv=1
+ return 1

wenqing liang (wliang)
information type: Proprietary → Public
Revision history for this message
Jeba Paulaiyan (jebap) wrote :

This is assumed to be fixed in next build (mainline 3005 or higher). Please close if it is not seen there.

Revision history for this message
Jeba Paulaiyan (jebap) wrote :

Fixed in ML 2746

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.