2016-05-20 17:27:47:925032: [root@192.58.36.101] sudo: python /opt/contrail/utils/provision_vrouter.py --host_name host5 --host_ip 11.11.11.5 --api_server_ip 11.11.11.105 --oper add --admin_user <email address hidden> --admin_password Juniper123! --admin_tenant_name vCenter --openstack_ip 192.58.36.110 --router_type tor-service-node 2016-05-20 17:27:47:925551: [root@192.58.36.108] sudo: openstack-config --set /etc/contrail/contrail-vrouter-agent.conf DEFAULT agent_mode tsn 2016-05-20 17:27:48:230704: [root@192.58.36.108] Executing task 'add_tor_agent' 2016-05-20 17:27:48:301088: [root@192.58.36.108] sudo: hostname 2016-05-20 17:27:48:301936: [root@192.58.36.108] out: host5 2016-05-20 17:27:48:343777: [root@192.58.36.108] out: 2016-05-20 17:27:48:344031: 2016-05-20 17:27:48:347065: [root@192.58.36.108] sudo: setup-vnc-tor-agent --self_ip 11.11.11.5 --agent_name tor_agent-1 --http_server_port 9010 --tor_id 1 --tor_ip 11.11.11.254 --tor_ovs_port 9999 --tsn_ip 11.11.11.5 --tor_ovs_protocol tcp --tor_agent_ovs_ka 10000 --discovery_server_ip 11.11.11.1 2016-05-20 17:27:48:347989: [root@192.58.36.108] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2016-05-20 17:27:48:514727: [root@192.58.36.108] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2016-05-20 17:27:48:514855: [root@192.58.36.108] out: [localhost] local: sudo mv /tmp/tmp0eNDDQ/tor_agent_conf /etc/contrail/contrail-tor-agent-1.conf 2016-05-20 17:27:48:514932: [root@192.58.36.108] out: [localhost] local: sudo mv /tmp/tmp0eNDDQ/tor_agent_ini /etc/contrail/supervisord_vrouter_files/contrail-tor-agent-1.ini 2016-05-20 17:27:48:515001: [root@192.58.36.108] out: [localhost] local: sudo cp /etc/init.d/contrail-vrouter-agent /etc/init.d/contrail-tor-agent-1 2016-05-20 17:27:48:515066: [root@192.58.36.108] out: 2016-05-20 17:27:48:515519: n code 1 while executing 'service redis-server status | grep not'! 2016-05-20 17:26:55:829921: 2016-05-20 17:26:55:829921: 2016-05-20 17:26:58:724409: Warning: sudo() received nonzero return code 1 while executing 'service redis-server stop'! 2016-05-20 17:26:58:724409: 2016-05-20 17:26:58:724409: 2016-05-20 17:26:59:271368: Warning: sudo() received nonzero return code 1 while executing 'service redis-server status | grep not'! 2016-05-20 17:26:59:271368: 2016-05-20 17:26:59:271368: 2016-05-20 17:27:02:120339: Warning: sudo() received nonzero return code 1 while executing 'service redis-server stop'! 2016-05-20 17:27:02:120339: 2016-05-20 17:27:02:120339: 2016-05-20 17:27:02:631229: Warning: sudo() received nonzero return code 1 while executing 'service redis-server status | grep not'! 2016-05-20 17:27:02:631229: 2016-05-20 17:27:02:631229: 2016-05-20 17:27:05:508111: Warning: sudo() received nonzero return code 2 while executing 'sudo sed -i 's/ENABLED=.*/ENABLED=1/g' /etc/default/haproxy'! 2016-05-20 17:27:05:508111: 2016-05-20 17:27:05:508111: 2016-05-20 17:27:07:675948: Warning: sudo() received nonzero return code 2 while executing 'sudo sed -i 's/ENABLED=.*/ENABLED=1/g' /etc/default/haproxy'! 2016-05-20 17:27:07:675948: 2016-05-20 17:27:07:675948: 2016-05-20 17:27:47:925211: Warning: sudo() received nonzero return code 1 while executing 'service nova-compute status | grep running'! 2016-05-20 17:27:47:925211: Traceback (most recent call last): 2016-05-20 17:27:48:516607: File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 743, in main 2016-05-20 17:27:48:516678: *args, **kwargs 2016-05-20 17:27:48:516979: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute 2016-05-20 17:27:48:517044: multiprocessing 2016-05-20 17:27:48:517244: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute 2016-05-20 17:27:48:517285: return task.run(*args, **kwargs) 2016-05-20 17:27:48:517425: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run 2016-05-20 17:27:48:517463: return self.wrapped(*args, **kwargs) 2016-05-20 17:27:48:517571: File "/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator 2016-05-20 17:27:48:517612: return func(*args, **kwargs) 2016-05-20 17:27:48:517697: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 168, in __call__ 2016-05-20 17:27:48:517733: return self.run(*args, **kwargs) 2016-05-20 17:27:48:517840: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run 2016-05-20 17:27:48:517876: return self.wrapped(*args, **kwargs) 2016-05-20 17:27:48:517981: File "/opt/contrail/utils/fabfile/tasks/provision.py", line 2466, in setup_all 2016-05-20 17:27:48:518023: execute('add_tor_agent', restart=False) 2016-05-20 17:27:48:518829: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute 2016-05-20 17:27:48:518871: multiprocessing 2016-05-20 17:27:48:519048: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute 2016-05-20 17:27:48:519087: return task.run(*args, **kwargs) 2016-05-20 17:27:48:519260: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run 2016-05-20 17:27:48:519300: return self.wrapped(*args, **kwargs) 2016-05-20 17:27:48:519409: File "/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator 2016-05-20 17:27:48:519446: return func(*args, **kwargs) 2016-05-20 17:27:48:519527: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 168, in __call__ 2016-05-20 17:27:48:519562: return self.run(*args, **kwargs) 2016-05-20 17:27:48:519671: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run 2016-05-20 17:27:48:519706: return self.wrapped(*args, **kwargs) 2016-05-20 17:27:48:519811: File "/opt/contrail/utils/fabfile/tasks/provision.py", line 1925, in add_tor_ 2016-05-20 17:27:48:515972: Disconnecting from 11.11.11.4... done. 2016-05-20 17:27:48:554871: Disconnecting from 192.58.36.101... done. 2016-05-20 17:27:48:618949: Disconnecting from 192.58.36.108... done. 2016-05-20 17:27:48:733145: Disconnecting from 192.58.36.103... done. 2016-05-20 17:27:48:797171: Disconnecting from 192.58.36.102... done. 2016-05-20 17:27:48:861216: agent 2016-05-20 17:27:48:519848: execute("add_tor_agent_node", restart, env.host_string) 2016-05-20 17:27:48:520506: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 415, in execute 2016-05-20 17:27:48:520548: results['<local-only>'] = task.run(*args, **new_kwargs) 2016-05-20 17:27:48:520731: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run 2016-05-20 17:27:48:520768: return self.wrapped(*args, **kwargs) 2016-05-20 17:27:48:520878: File "/opt/contrail/utils/fabfile/tasks/provision.py", line 1935, in add_tor_agent_node 2016-05-20 17:27:48:520914: execute("add_tor_agent_by_index", i, host_string, restart) 2016-05-20 17:27:48:521538: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 415, in execute 2016-05-20 17:27:48:521577: results['<local-only>'] = task.run(*args, **new_kwargs) 2016-05-20 17:27:48:521754: File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run 2016-05-20 17:27:48:521792: return self.wrapped(*args, **kwargs) 2016-05-20 17:27:48:521899: File "/opt/contrail/utils/fabfile/tasks/provision.py", line 2087, in add_tor_agent_by_index 2016-05-20 17:27:48:521935: admin_user, admin_password = get_vcenter_credentials() 2016-05-20 17:27:48:522647: NameError: global name 'get_vcenter_credentials' is not defined 2016-05-20 17:27:48:522766:
2016-05-20 17:27:47:925032: [root@192. 58.36.101] sudo: python /opt/contrail/ utils/provision _vrouter. py --host_name host5 --host_ip 11.11.11.5 --api_server_ip 11.11.11.105 --oper add --admin_user <email address hidden> --admin_password Juniper123! --admin_tenant_name vCenter --openstack_ip 192.58.36.110 --router_type tor-service-node 58.36.108] sudo: openstack-config --set /etc/contrail/ contrail- vrouter- agent.conf DEFAULT agent_mode tsn 58.36.108] Executing task 'add_tor_agent' 58.36.108] sudo: hostname 58.36.108] out: host5 58.36.108] out: 58.36.108] sudo: setup-vnc-tor-agent --self_ip 11.11.11.5 --agent_name tor_agent-1 --http_server_port 9010 --tor_id 1 --tor_ip 11.11.11.254 --tor_ovs_port 9999 --tsn_ip 11.11.11.5 --tor_ovs_protocol tcp --tor_agent_ovs_ka 10000 --discovery_ server_ ip 11.11.11.1 58.36.108] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 58.36.108] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 58.36.108] out: [localhost] local: sudo mv /tmp/tmp0eNDDQ/ tor_agent_ conf /etc/contrail/ contrail- tor-agent- 1.conf 58.36.108] out: [localhost] local: sudo mv /tmp/tmp0eNDDQ/ tor_agent_ ini /etc/contrail/ supervisord_ vrouter_ files/contrail- tor-agent- 1.ini 58.36.108] out: [localhost] local: sudo cp /etc/init. d/contrail- vrouter- agent /etc/init. d/contrail- tor-agent- 1 58.36.108] out: .*/ENABLED= 1/g' /etc/default/ haproxy' ! .*/ENABLED= 1/g' /etc/default/ haproxy' ! lib/python2. 7/dist- packages/ fabric/ main.py" , line 743, in main lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 375, in execute lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 271, in _execute lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 171, in run lib/python2. 7/dist- packages/ fabric/ decorators. py", line 53, in inner_decorator lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 168, in __call__ lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 171, in run utils/fabfile/ tasks/provision .py", line 2466, in setup_all 'add_tor_ agent', restart=False) lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 375, in execute lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 271, in _execute lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 171, in run lib/python2. 7/dist- packages/ fabric/ decorators. py", line 53, in inner_decorator lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 168, in __call__ lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 171, in run utils/fabfile/ tasks/provision .py", line 1925, in add_tor_ "add_tor_ agent_node" , restart, env.host_string) lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 415, in execute '<local- only>'] = task.run(*args, **new_kwargs) lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 171, in run utils/fabfile/ tasks/provision .py", line 1935, in add_tor_agent_node "add_tor_ agent_by_ index", i, host_string, restart) lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 415, in execute '<local- only>'] = task.run(*args, **new_kwargs) lib/python2. 7/dist- packages/ fabric/ tasks.py" , line 171, in run utils/fabfile/ tasks/provision .py", line 2087, in add_tor_ agent_by_ index credentials( ) credentials' is not defined
2016-05-20 17:27:47:925551: [root@192.
2016-05-20 17:27:48:230704: [root@192.
2016-05-20 17:27:48:301088: [root@192.
2016-05-20 17:27:48:301936: [root@192.
2016-05-20 17:27:48:343777: [root@192.
2016-05-20 17:27:48:344031:
2016-05-20 17:27:48:347065: [root@192.
2016-05-20 17:27:48:347989: [root@192.
2016-05-20 17:27:48:514727: [root@192.
2016-05-20 17:27:48:514855: [root@192.
2016-05-20 17:27:48:514932: [root@192.
2016-05-20 17:27:48:515001: [root@192.
2016-05-20 17:27:48:515066: [root@192.
2016-05-20 17:27:48:515519: n code 1 while executing 'service redis-server status | grep not'!
2016-05-20 17:26:55:829921:
2016-05-20 17:26:55:829921:
2016-05-20 17:26:58:724409: Warning: sudo() received nonzero return code 1 while executing 'service redis-server stop'!
2016-05-20 17:26:58:724409:
2016-05-20 17:26:58:724409:
2016-05-20 17:26:59:271368: Warning: sudo() received nonzero return code 1 while executing 'service redis-server status | grep not'!
2016-05-20 17:26:59:271368:
2016-05-20 17:26:59:271368:
2016-05-20 17:27:02:120339: Warning: sudo() received nonzero return code 1 while executing 'service redis-server stop'!
2016-05-20 17:27:02:120339:
2016-05-20 17:27:02:120339:
2016-05-20 17:27:02:631229: Warning: sudo() received nonzero return code 1 while executing 'service redis-server status | grep not'!
2016-05-20 17:27:02:631229:
2016-05-20 17:27:02:631229:
2016-05-20 17:27:05:508111: Warning: sudo() received nonzero return code 2 while executing 'sudo sed -i 's/ENABLED=
2016-05-20 17:27:05:508111:
2016-05-20 17:27:05:508111:
2016-05-20 17:27:07:675948: Warning: sudo() received nonzero return code 2 while executing 'sudo sed -i 's/ENABLED=
2016-05-20 17:27:07:675948:
2016-05-20 17:27:07:675948:
2016-05-20 17:27:47:925211: Warning: sudo() received nonzero return code 1 while executing 'service nova-compute status | grep running'!
2016-05-20 17:27:47:925211: Traceback (most recent call last):
2016-05-20 17:27:48:516607: File "/usr/local/
2016-05-20 17:27:48:516678: *args, **kwargs
2016-05-20 17:27:48:516979: File "/usr/local/
2016-05-20 17:27:48:517044: multiprocessing
2016-05-20 17:27:48:517244: File "/usr/local/
2016-05-20 17:27:48:517285: return task.run(*args, **kwargs)
2016-05-20 17:27:48:517425: File "/usr/local/
2016-05-20 17:27:48:517463: return self.wrapped(*args, **kwargs)
2016-05-20 17:27:48:517571: File "/usr/local/
2016-05-20 17:27:48:517612: return func(*args, **kwargs)
2016-05-20 17:27:48:517697: File "/usr/local/
2016-05-20 17:27:48:517733: return self.run(*args, **kwargs)
2016-05-20 17:27:48:517840: File "/usr/local/
2016-05-20 17:27:48:517876: return self.wrapped(*args, **kwargs)
2016-05-20 17:27:48:517981: File "/opt/contrail/
2016-05-20 17:27:48:518023: execute(
2016-05-20 17:27:48:518829: File "/usr/local/
2016-05-20 17:27:48:518871: multiprocessing
2016-05-20 17:27:48:519048: File "/usr/local/
2016-05-20 17:27:48:519087: return task.run(*args, **kwargs)
2016-05-20 17:27:48:519260: File "/usr/local/
2016-05-20 17:27:48:519300: return self.wrapped(*args, **kwargs)
2016-05-20 17:27:48:519409: File "/usr/local/
2016-05-20 17:27:48:519446: return func(*args, **kwargs)
2016-05-20 17:27:48:519527: File "/usr/local/
2016-05-20 17:27:48:519562: return self.run(*args, **kwargs)
2016-05-20 17:27:48:519671: File "/usr/local/
2016-05-20 17:27:48:519706: return self.wrapped(*args, **kwargs)
2016-05-20 17:27:48:519811: File "/opt/contrail/
2016-05-20 17:27:48:515972: Disconnecting from 11.11.11.4... done.
2016-05-20 17:27:48:554871: Disconnecting from 192.58.36.101... done.
2016-05-20 17:27:48:618949: Disconnecting from 192.58.36.108... done.
2016-05-20 17:27:48:733145: Disconnecting from 192.58.36.103... done.
2016-05-20 17:27:48:797171: Disconnecting from 192.58.36.102... done.
2016-05-20 17:27:48:861216: agent
2016-05-20 17:27:48:519848: execute(
2016-05-20 17:27:48:520506: File "/usr/local/
2016-05-20 17:27:48:520548: results[
2016-05-20 17:27:48:520731: File "/usr/local/
2016-05-20 17:27:48:520768: return self.wrapped(*args, **kwargs)
2016-05-20 17:27:48:520878: File "/opt/contrail/
2016-05-20 17:27:48:520914: execute(
2016-05-20 17:27:48:521538: File "/usr/local/
2016-05-20 17:27:48:521577: results[
2016-05-20 17:27:48:521754: File "/usr/local/
2016-05-20 17:27:48:521792: return self.wrapped(*args, **kwargs)
2016-05-20 17:27:48:521899: File "/opt/contrail/
2016-05-20 17:27:48:521935: admin_user, admin_password = get_vcenter_
2016-05-20 17:27:48:522647: NameError: global name 'get_vcenter_
2016-05-20 17:27:48:522766: