I'm running into similar issue, contrail2.0+Juno(Ubuntu14.04 LTS)
2015-02-16 13:29:15:011820: [root@mgmt_ip] out: [root@9.9.9.2] run: python /opt/contrail/utils/provision_vrouter.py --host_name Contrail-NFVO --host_ip 9.9.9.2 --api_server_ip 9.9.9.2 --oper add --admin_user admin --admin_password Embe1mpls --admin_tenant_name admin --openstack_ip 9.9.9.2 2015-02-16 13:29:15:011994: [root@mgmt_ip] out: [root@9.9.9.2] out: No handlers could be found for logger "vnc_api.vnc_api" 2015-02-16 13:29:44:694673: [root@mgmt_ip] out: [root@9.9.9.2] out: Traceback (most recent call last): 2015-02-16 13:29:44:694951: [root@mgmt_ip] out: [root@9.9.9.2] out: File "/opt/contrail/utils/provision_vrouter.py", line 178, in <module> 2015-02-16 13:29:44:695117: [root@mgmt_ip] out: [root@9.9.9.2] out: main() 2015-02-16 13:29:44:695295: [root@mgmt_ip] out: [root@9.9.9.2] out: File "/opt/contrail/utils/provision_vrouter.py", line 174, in main 2015-02-16 13:29:44:695469: [root@mgmt_ip] out: [root@9.9.9.2] out: VrouterProvisioner(args_str) 2015-02-16 13:29:44:695666: [root@mgmt_ip] out: [root@9.9.9.2] out: File "/opt/contrail/utils/provision_vrouter.py", line 42, in __init__ 2015-02-16 13:29:44:695850: [root@mgmt_ip] out: [root@9.9.9.2] out: fq_name=['default-global-system-config']) 2015-02-16 13:29:44:696015: [root@mgmt_ip] out: [root@9.9.9.2] out: File "/usr/lib/python2.7/dist-packages/vnc_api/gen/vnc_api_client_gen.py", line 2122, in global_system_config_read 2015-02-16 13:29:44:696179: [root@mgmt_ip] out: [root@9.9.9.2] out: (args_ok, result) = self._read_args_to_id('global-system-config', fq_name, fq_name_str, id, ifmap_id) 2015-02-16 13:29:44:696359: [root@mgmt_ip] out: [root@9.9.9.2] out: File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 326, in _read_args_to_id 2015-02-16 13:29:44:696533: [root@mgmt_ip] out: [root@9.9.9.2] out: return (True, self.fq_name_to_id(obj_type, fq_name)) 2015-02-16 13:29:44:696675: [root@mgmt_ip] out: [root@9.9.9.2] out: File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 430, in fq_name_to_id 2015-02-16 13:29:44:696817: [root@mgmt_ip] out: [root@9.9.9.2] out: uri = self._action_uri['name-to-id'] 2015-02-16 13:29:44:696958: [root@mgmt_ip] out: [root@9.9.9.2] out: KeyError: 'name-to-id' 2015-02-16 13:29:44:697098: [root@mgmt_ip] out: [root@9.9.9.2] out: 2015-02-16 13:29:44:697236: [root@mgmt_ip] out: 2015-02-16 13:29:44:730104: [root@mgmt_ip] out: 2015-02-16 13:29:44:730363: [root@mgmt_ip] out: Fatal error: run() received nonzero return code 1 while executing! 2015-02-16 13:29:44:730536: [root@mgmt_ip] out: 2015-02-16 13:29:44:730729: [root@mgmt_ip] out: Requested: python /opt/contrail/utils/provision_vrouter.py --host_name Contrail-NFVO --host_ip 9.9.9.2 --api_server_ip 9.9.9.2 --oper add --admin_user admin --admin_password Embe1mpls --admin_tenant_name admin --openstack_ip 9.9.9.2 2015-02-16 13:29:44:730893: [root@mgmt_ip] out: Executed: /bin/bash -l -c "python /opt/contrail/utils/provision_vrouter.py --host_name Contrail-NFVO --host_ip 9.9.9.2 --api_server_ip 9.9.9.2 --oper add --admin_user admin --admin_password Embe1mpls --admin_tenant_name admin --openstack_ip 9.9.9.2" 2015-02-16 13:29:44:731106: [root@mgmt_ip] out: 2015-02-16 13:29:44:731298: [root@mgmt_ip] out: Aborting. 2015-02-16 13:29:44:731429: [root@mgmt_ip] out: 2015-02-16 13:29:44:863914:
2015-02-16 13:29:44:871163: Fatal error: run() received nonzero return code 1 while executing! 2015-02-16 13:29:44:871163: 2015-02-16 13:29:44:871163: Requested: setup-vnc-compute --self_ip 9.9.9.2 --cfgm_ip 9.9.9.2 --cfgm_user root --cfgm_passwd Embe1mpls --ncontrols 1 --amqp_server_ip 9.9.9.2 --service_token 0a6b2bbc12e9b3de6f0d --orchestrator openstack --non_mgmt_ip 9.9.9.2 --non_mgmt_gw 9.9.9.1 --keystone_ip 9.9.9.2 --openstack_mgmt_ip mgmt_ip --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password Embe1mpls 2015-02-16 13:29:44:871163: Executed: /bin/bash -l -c "cd /opt/contrail/bin && setup-vnc-compute --self_ip 9.9.9.2 --cfgm_ip 9.9.9.2 --cfgm_user root --cfgm_passwd Embe1mpls --ncontrols 1 --amqp_server_ip 9.9.9.2 --service_token 0a6b2bbc12e9b3de6f0d --orchestrator openstack --non_mgmt_ip 9.9.9.2 --non_mgmt_gw 9.9.9.1 --keystone_ip 9.9.9.2 --openstack_mgmt_ip mgmt_ip --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password Embe1mpls" 2015-02-16 13:29:44:871163: 2015-02-16 13:29:44:871259: Aborting. 2015-02-16 13:29:44:871259: 2015-02-16 13:29:44:870964: Disconnecting from mgmt_ip... done. 2015-02-16 13:29:44:985915: root@Contrail-NFVO:/opt/contrail/utils# contrail-status
I'm running into similar issue, contrail2. 0+Juno( Ubuntu14. 04 LTS)
2015-02-16 13:29:15:011820: [root@mgmt_ip] out: [root@9.9.9.2] run: utils/provision _vrouter. py --host_name Contrail-NFVO utils/provision _vrouter. py", line 178, in <module> utils/provision _vrouter. py", line 174, in main ner(args_ str) utils/provision _vrouter. py", line 42, in __init__ ['default- global- system- config' ]) python2. 7/dist- packages/ vnc_api/ gen/vnc_ api_client_ gen.py" , system_ config_ read args_to_ id('global- system- config' , python2. 7/dist- packages/ vnc_api/ vnc_api. py", line 326, in name_to_ id(obj_ type, fq_name)) python2. 7/dist- packages/ vnc_api/ vnc_api. py", line 430, in uri['name- to-id'] utils/provision _vrouter. py --host_name Contrail-NFVO utils/provision _vrouter. py --host_name
python /opt/contrail/
--host_ip 9.9.9.2 --api_server_ip 9.9.9.2 --oper add --admin_user admin
--admin_password Embe1mpls --admin_tenant_name admin --openstack_ip 9.9.9.2
2015-02-16 13:29:15:011994: [root@mgmt_ip] out: [root@9.9.9.2] out: No
handlers could be found for logger "vnc_api.vnc_api"
2015-02-16 13:29:44:694673: [root@mgmt_ip] out: [root@9.9.9.2] out:
Traceback (most recent call last):
2015-02-16 13:29:44:694951: [root@mgmt_ip] out: [root@9.9.9.2] out:
File "/opt/contrail/
2015-02-16 13:29:44:695117: [root@mgmt_ip] out: [root@9.9.9.2] out:
main()
2015-02-16 13:29:44:695295: [root@mgmt_ip] out: [root@9.9.9.2] out:
File "/opt/contrail/
2015-02-16 13:29:44:695469: [root@mgmt_ip] out: [root@9.9.9.2] out:
VrouterProvisio
2015-02-16 13:29:44:695666: [root@mgmt_ip] out: [root@9.9.9.2] out:
File "/opt/contrail/
2015-02-16 13:29:44:695850: [root@mgmt_ip] out: [root@9.9.9.2] out:
fq_name=
2015-02-16 13:29:44:696015: [root@mgmt_ip] out: [root@9.9.9.2] out:
File "/usr/lib/
line 2122, in global_
2015-02-16 13:29:44:696179: [root@mgmt_ip] out: [root@9.9.9.2] out:
(args_ok, result) = self._read_
fq_name, fq_name_str, id, ifmap_id)
2015-02-16 13:29:44:696359: [root@mgmt_ip] out: [root@9.9.9.2] out:
File "/usr/lib/
_read_args_to_id
2015-02-16 13:29:44:696533: [root@mgmt_ip] out: [root@9.9.9.2] out:
return (True, self.fq_
2015-02-16 13:29:44:696675: [root@mgmt_ip] out: [root@9.9.9.2] out:
File "/usr/lib/
fq_name_to_id
2015-02-16 13:29:44:696817: [root@mgmt_ip] out: [root@9.9.9.2] out:
uri = self._action_
2015-02-16 13:29:44:696958: [root@mgmt_ip] out: [root@9.9.9.2] out:
KeyError: 'name-to-id'
2015-02-16 13:29:44:697098: [root@mgmt_ip] out: [root@9.9.9.2] out:
2015-02-16 13:29:44:697236: [root@mgmt_ip] out:
2015-02-16 13:29:44:730104: [root@mgmt_ip] out:
2015-02-16 13:29:44:730363: [root@mgmt_ip] out: Fatal error: run()
received nonzero return code 1 while executing!
2015-02-16 13:29:44:730536: [root@mgmt_ip] out:
2015-02-16 13:29:44:730729: [root@mgmt_ip] out: Requested: python
/opt/contrail/
--host_ip 9.9.9.2 --api_server_ip 9.9.9.2 --oper add --admin_user admin
--admin_password Embe1mpls --admin_tenant_name admin --openstack_ip 9.9.9.2
2015-02-16 13:29:44:730893: [root@mgmt_ip] out: Executed: /bin/bash -l
-c "python /opt/contrail/
Contrail-NFVO --host_ip 9.9.9.2 --api_server_ip 9.9.9.2 --oper add
--admin_user admin --admin_password Embe1mpls --admin_tenant_name admin
--openstack_ip 9.9.9.2"
2015-02-16 13:29:44:731106: [root@mgmt_ip] out:
2015-02-16 13:29:44:731298: [root@mgmt_ip] out: Aborting.
2015-02-16 13:29:44:731429: [root@mgmt_ip] out:
2015-02-16 13:29:44:863914:
2015-02-16 13:29:44:871163: Fatal error: run() received nonzero return e6f0d auth_protocol http --keystone_ auth_port 35357 service_ protocol http --keystone_ admin_user admin admin_password Embe1mpls e6f0d --orchestrator openstack auth_protocol http auth_port 35357 --quantum_ service_ protocol http admin_user admin --keystone_ admin_password Embe1mpls" NFVO:/opt/ contrail/ utils#
code 1 while executing!
2015-02-16 13:29:44:871163:
2015-02-16 13:29:44:871163: Requested: setup-vnc-compute --self_ip 9.9.9.2
--cfgm_ip 9.9.9.2 --cfgm_user root --cfgm_passwd Embe1mpls --ncontrols 1
--amqp_server_ip 9.9.9.2 --service_token 0a6b2bbc12e9b3d
--orchestrator openstack --non_mgmt_ip 9.9.9.2 --non_mgmt_gw 9.9.9.1
--keystone_ip 9.9.9.2 --openstack_mgmt_ip mgmt_ip
--keystone_
--quantum_
--keystone_
2015-02-16 13:29:44:871163: Executed: /bin/bash -l -c "cd
/opt/contrail/bin && setup-vnc-compute --self_ip 9.9.9.2 --cfgm_ip 9.9.9.2
--cfgm_user root --cfgm_passwd Embe1mpls --ncontrols 1 --amqp_server_ip
9.9.9.2 --service_token 0a6b2bbc12e9b3d
--non_mgmt_ip 9.9.9.2 --non_mgmt_gw 9.9.9.1 --keystone_ip 9.9.9.2
--openstack_mgmt_ip mgmt_ip --keystone_
--keystone_
--keystone_
2015-02-16 13:29:44:871163:
2015-02-16 13:29:44:871259: Aborting.
2015-02-16 13:29:44:871259: 2015-02-16 13:29:44:870964: Disconnecting from
mgmt_ip... done.
2015-02-16 13:29:44:985915: root@Contrail-
contrail-status