Hi Ajay, I Googled the below issue (sent in earlier e-mail) and got the patch as below. Once the patch is applied, below issue is resolved. Please let me know if this is the right Patch to apply. https://github.com/Juniper/contrail-controller/commit/06a0df648e2d9c19e983d1 1cbbe1a19beab5076d#diff-7c86bfdc416a185870c50db9633701a0 Next -> when executed setup_all again, I am getting below issue. ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- --------------------------- 2015-05-31 02:38:07:891971: [[email protected]] out: [[email protected]] out: No handlers could be found for logger "vnc_api.vnc_api" 2015-05-31 02:38:37:897769: [[email protected]] out: [[email protected]] out: Traceback (most recent call last): 2015-05-31 02:39:07:104054: [[email protected]] out: [[email protected]] out: File "/opt/contrail/utils/provision_vrouter.py", line 178, in 2015-05-31 02:39:07:107780: [[email protected]] out: [[email protected]] out: main() 2015-05-31 02:39:07:107950: [[email protected]] out: [[email protected]] out: File "/opt/contrail/utils/provision_vrouter.py", line 174, in main 2015-05-31 02:39:07:108083: [[email protected]] out: [[email protected]] out: VrouterProvisioner(args_str) 2015-05-31 02:39:07:108203: [[email protected]] out: [[email protected]] out: File "/opt/contrail/utils/provision_vrouter.py", line 42, in __init__ 2015-05-31 02:39:07:108322: [[email protected]] out: [[email protected]] out: fq_name=['default-global-system-config']) 2015-05-31 02:39:07:108440: [[email protected]] out: [[email protected]] out: File "/usr/lib/python2.6/site-packages/vnc_api/gen/vnc_api_client_gen.py", line 2122, in global_system_config_read 2015-05-31 02:39:07:108570: [[email protected]] out: [[email protected]] out: (args_ok, result) = self._read_args_to_id('global-system-config', fq_name, fq_name_str, id, ifmap_id) 2015-05-31 02:39:07:108697: [[email protected]] out: [[email protected]] out: File "/usr/lib/python2.6/site-packages/vnc_api/vnc_api.py", line 344, in _read_args_to_id 2015-05-31 02:39:07:108870: [[email protected]] out: [[email protected]] out: return (True, self.fq_name_to_id(obj_type, fq_name)) 2015-05-31 02:39:07:108993: [[email protected]] out: [[email protected]] out: File "/usr/lib/python2.6/site-packages/vnc_api/vnc_api.py", line 448, in fq_name_to_id 2015-05-31 02:39:07:109112: [[email protected]] out: [[email protected]] out: uri = self._action_uri['name-to-id'] 2015-05-31 02:39:07:109232: [[email protected]] out: [[email protected]] out: File "/usr/lib/python2.6/site-packages/vnc_api/vnc_api.py", line 69, in __getitem__ 2015-05-31 02:39:07:109349: [[email protected]] out: [[email protected]] out: retry_on_error=False) 2015-05-31 02:39:07:109473: [[email protected]] out: [[email protected]] out: File "/usr/lib/python2.6/site-packages/vnc_api/vnc_api.py", line 411, in _request 2015-05-31 02:39:07:109597: [[email protected]] out: [[email protected]] out: raise ServiceUnavailableError('Service Unavailable Timeout 503') 2015-05-31 02:39:07:109716: [[email protected]] out: [[email protected]] out: cfgm_common.exceptions.ServiceUnavailableError: Service unavailable time out due to: Service Unavailable Timeout 503 2015-05-31 02:39:07:109868: [[email protected]] out: [[email protected]] out: 2015-05-31 02:39:07:109987: [[email protected]] out: 2015-05-31 02:39:07:110101: [[email protected]] out: 2015-05-31 02:39:07:110212: [[email protected]] out: Fatal error: run() received nonzero return code 1 while executing! 2015-05-31 02:39:07:110326: [[email protected]] out: 2015-05-31 02:39:07:110450: [[email protected]] out: Requested: python /opt/contrail/utils/provision_vrouter.py --host_name NTNX-15SM15120038-C --host_ip 10.4.80.51 --api_server_ip 10.4.80.51 --oper add --admin_user admin --admin_password secret123 --admin_tenant_name admin --openstack_ip 10.4.80.51 2015-05-31 02:39:07:110592: [[email protected]] out: Executed: /bin/bash -l -c "python /opt/contrail/utils/provision_vrouter.py --host_name NTNX-15SM15120038-C --host_ip 10.4.80.51 --api_server_ip 10.4.80.51 --oper add --admin_user admin --admin_password secret123 --admin_tenant_name admin --openstack_ip 10.4.80.51" 2015-05-31 02:39:07:110724: [[email protected]] out: 2015-05-31 02:39:07:110907: [[email protected]] out: Aborting. 2015-05-31 02:39:07:111022: [[email protected]] out: 2015-05-31 02:39:07:115054: 2015-05-31 02:39:07:115661: Fatal error: run() received nonzero return code 1 while executing! 2015-05-31 02:39:07:115661: 2015-05-31 02:39:07:115661: Requested: setup-vnc-compute --self_ip 10.4.80.51 --cfgm_ip 10.4.80.51 --cfgm_user root --cfgm_passwd nutanix/4u --ncontrols 1 --amqp_server_ip 10.4.80.51 --service_token cf25aceed42e40c37e9a --orchestrator openstack --keystone_ip 10.4.80.51 --openstack_mgmt_ip 10.4.80.51 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password secret123 2015-05-31 02:39:07:115661: Executed: /bin/bash -l -c "cd /opt/contrail/bin && setup-vnc-compute --self_ip 10.4.80.51 --cfgm_ip 10.4.80.51 --cfgm_user root --cfgm_passwd nutanix/4u --ncontrols 1 --amqp_server_ip 10.4.80.51 --service_token cf25aceed42e40c37e9a --orchestrator openstack --keystone_ip 10.4.80.51 --openstack_mgmt_ip 10.4.80.51 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password secret123" 2015-05-31 02:39:07:115661: 2015-05-31 02:39:07:115709: Aborting. 2015-05-31 02:39:07:115709: 2015-05-31 02:39:07:115514: Disconnecting from 10.4.80.51... done. ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- -------- Another point I would like to mention that once above error came, I rebooted the host -> network br0 interface IP address got wiped off. consequently I can't ssh the host. Here is the output of contrail-status vRouter is NOT PRESENT == Contrail vRouter == supervisor-vrouter: inactive unix:///tmp/supervisord_vrouter.sockno == Contrail Control == supervisor-control: active contrail-control initializing (Number of connections:4, Expected: 5) contrail-control-nodemgr active contrail-dns active contrail-named active == Contrail Analytics == supervisor-analytics: active contrail-analytics-api active contrail-analytics-nodemgr active contrail-collector active contrail-query-engine active == Contrail Config == supervisor-config: active contrail-api:0 initializing (Database:RabbitMQ connection down) contrail-config-nodemgr active contrail-discovery:0 active contrail-schema initializing contrail-svc-monitor initializing ifmap active == Contrail Web UI == supervisor-webui: active contrail-webui active contrail-webui-middleware active == Contrail Database == supervisor-database: active contrail-database active contrail-database-nodemgr active == Contrail Support Services == supervisor-support-service: active rabbitmq-server active Thanks Pankaj From: Hampapur Ajay [mailto:[email protected]] Sent: Monday, June 01, 2015 9:11 AM To: Pankaj Sinha; [email protected]; [email protected] Cc: 'networkers' Subject: Re: [opencontrail-dev] Opencontrail Installation issue Hi Pankaj, Can you mention the output of contrail-status -xd ? thanks ajay ________________________________ From: Dev <[email protected]> on behalf of Pankaj Sinha <[email protected]> Sent: Sunday, May 31, 2015 1:27 AM To: [email protected]; [email protected] Cc: [email protected]; 'networkers' Subject: [opencontrail-dev] Opencontrail Installation issue Hello Everyone: Need some help on below error which I am getting while installing Opencontrail in centOS 6.6 (Linux kernel version - 2.6.32). Install Package: contrail-install-packages-2.01-41-centos65havana.el6.noarch Script execution : fab setup_all Any pointer in resolving the issue is highly appreciated. Error log: ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- --------------------------- 2015-05-31 00:35:29:790408: [[email protected]] out: [localhost] local: sudo rm /tmp/tmpOh36MU/ctrl-details 2015-05-31 00:35:29:798158: [[email protected]] out: [localhost] local: sudo service libvirtd restart 2015-05-31 00:35:29:805874: [[email protected]] out: Stopping[ OK ]d daemon: 2015-05-31 00:35:29:970210: [[email protected]] out: 2015-05-31 00:35:29:970467: [[email protected]] out: Starting[ OK ]d daemon: 2015-05-31 00:35:30:134540: [[email protected]] out: 2015-05-31 00:35:30:137167: [[email protected]] out: [localhost] local: sudo compute-server-setup.sh 2015-05-31 00:35:30:137258: [[email protected]] out: [localhost] local: chkconfig openstack-nova-compute on 2015-05-31 00:35:30:638505: [[email protected]] out: [localhost] local: chkconfig supervisor-vrouter on 2015-05-31 00:35:30:742610: [[email protected]] out: [[email protected]] run: python /opt/contrail/utils/provision_vrouter.py --host_name NTNX-15SM15120038-C --host_ip 10.4.80.51 --api_server_ip 10.4.80.51 --oper add --admin_user admin --admin_password secret123 --admin_tenant_name admin --openstack_ip 10.4.80.51 2015-05-31 00:35:30:746972: [[email protected]] out: [[email protected]] out: No handlers could be found for logger "vnc_api.vnc_api" 2015-05-31 00:36:00:796773: [[email protected]] out: [[email protected]] out: Traceback (most recent call last): 2015-05-31 00:36:00:800409: [[email protected]] out: [[email protected]] out: File "/opt/contrail/utils/provision_vrouter.py", line 178, in 2015-05-31 00:36:00:800500: [[email protected]] out: [[email protected]] out: main() 2015-05-31 00:36:00:800585: [[email protected]] out: [[email protected]] out: File "/opt/contrail/utils/provision_vrouter.py", line 174, in main 2015-05-31 00:36:00:800699: [[email protected]] out: [[email protected]] out: VrouterProvisioner(args_str) 2015-05-31 00:36:00:800787: [[email protected]] out: [[email protected]] out: File "/opt/contrail/utils/provision_vrouter.py", line 42, in __init__ 2015-05-31 00:36:00:800875: [[email protected]] out: [[email protected]] out: fq_name=['default-global-system-config']) 2015-05-31 00:36:00:800959: [[email protected]] out: [[email protected]] out: File "/usr/lib/python2.6/site-packages/vnc_api/gen/vnc_api_client_gen.py", line 2122, in global_system_config_read 2015-05-31 00:36:00:801059: [[email protected]] out: [[email protected]] out: (args_ok, result) = self._read_args_to_id('global-system-config', fq_name, fq_name_str, id, ifmap_id) 2015-05-31 00:36:00:801145: [[email protected]] out: [[email protected]] out: File "/usr/lib/python2.6/site-packages/vnc_api/vnc_api.py", line 326, in _read_args_to_id 2015-05-31 00:36:00:801230: [[email protected]] out: [[email protected]] out: return (True, self.fq_name_to_id(obj_type, fq_name)) 2015-05-31 00:36:00:801313: [[email protected]] out: [[email protected]] out: File "/usr/lib/python2.6/site-packages/vnc_api/vnc_api.py", line 430, in fq_name_to_id 2015-05-31 00:36:00:801396: [[email protected]] out: [[email protected]] out: uri = self._action_uri['name-to-id'] 2015-05-31 00:36:00:801479: [[email protected]] out: [[email protected]] out: KeyError: 'name-to-id' 2015-05-31 00:36:00:801560: [[email protected]] out: [[email protected]] out: 2015-05-31 00:36:00:801667: [[email protected]] out: 2015-05-31 00:36:00:801755: [[email protected]] out: 2015-05-31 00:36:00:801834: [[email protected]] out: Fatal error: run() received nonzero return code 1 while executing! 2015-05-31 00:36:00:801912: [[email protected]] out: 2015-05-31 00:36:00:801992: [[email protected]] out: Requested: python /opt/contrail/utils/provision_vrouter.py --host_name NTNX-15SM15120038-C --host_ip 10.4.80.51 --api_server_ip 10.4.80.51 --oper add --admin_user admin --admin_password secret123 --admin_tenant_name admin --openstack_ip 10.4.80.51 2015-05-31 00:36:00:802075: [[email protected]] out: Executed: /bin/bash -l -c "python /opt/contrail/utils/provision_vrouter.py --host_name NTNX-15SM15120038-C --host_ip 10.4.80.51 --api_server_ip 10.4.80.51 --oper add --admin_user admin --admin_password secret123 --admin_tenant_name admin --openstack_ip 10.4.80.51" 2015-05-31 00:36:00:802205: [[email protected]] out: 2015-05-31 00:36:00:802299: [[email protected]] out: Aborting. 2015-05-31 00:36:00:802378: [[email protected]] out: 2015-05-31 00:36:00:811453: 2015-05-31 00:36:00:818441: Fatal error: run() received nonzero return code 1 while executing! 2015-05-31 00:36:00:818441: 2015-05-31 00:36:00:818441: Requested: setup-vnc-compute --self_ip 10.4.80.51 --cfgm_ip 10.4.80.51 --cfgm_user root --cfgm_passwd nutanix/4u --ncontrols 1 --amqp_server_ip 10.4.80.51 --service_token cf25aceed42e40c37e9a --orchestrator openstack --keystone_ip 10.4.80.51 --openstack_mgmt_ip 10.4.80.51 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password secret123 2015-05-31 00:36:00:818441: Executed: /bin/bash -l -c "cd /opt/contrail/bin && setup-vnc-compute --self_ip 10.4.80.51 --cfgm_ip 10.4.80.51 --cfgm_user root --cfgm_passwd nutanix/4u --ncontrols 1 --amqp_server_ip 10.4.80.51 --service_token cf25aceed42e40c37e9a --orchestrator openstack --keystone_ip 10.4.80.51 --openstack_mgmt_ip 10.4.80.51 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password secret123" 2015-05-31 00:36:00:818441: 2015-05-31 00:36:00:818489: Aborting. Regards Pankaj
_______________________________________________ Dev mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
