Comment 2 for bug 1411060

Revision history for this message
Vijay Anand (vijanand) wrote :

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