Fab setup_all fails if database_dir is specified

Bug #1507787 reported by Vinod Nair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Invalid
Critical
Nagendra Prasath
R3.0.2.x
Invalid
Critical
Nagendra Prasath
R3.1
Invalid
Critical
Nagendra Prasath
Trunk
Invalid
Critical
Nagendra Prasath

Bug Description

setup_all fails if database_dir is specified in testbed.py

trace is as below

2015-10-19 12:09:27:888334:
2015-10-19 12:09:27:888334: Requested: setup-vnc-compute --self_ip 13.1.0.8 --cfgm_ip 13.1.0.4 --cfgm_user root --cfgm_passwd n1keenA --ncontrols 2 --amqp_server_ip 13.1.0.4 --service_token 5b62da169ff49a85e093 --orchestrator openstack --hypervisor libvirt --non_mgmt_ip 13.1.0.8 --non_mgmt_gw 13.1.0.254 --keystone_ip 13.1.0.4 --openstack_mgmt_ip 10.87.141.4 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password n1keenA --nova_password n1keenA --neutron_password n1keenA --service_tenant_name service --dpdk
2015-10-19 12:09:27:888334: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "cd /opt/contrail/bin && setup-vnc-compute --self_ip 13.1.0.8 --cfgm_ip 13.1.0.4 --cfgm_user root --cfgm_passwd n1keenA --ncontrols 2 --amqp_server_ip 13.1.0.4 --service_token 5b62da169ff49a85e093 --orchestrator openstack --hypervisor libvirt --non_mgmt_ip 13.1.0.8 --non_mgmt_gw 13.1.0.254 --keystone_ip 13.1.0.4 --openstack_mgmt_ip 10.87.141.4 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password n1keenA --nova_password n1keenA --neutron_password n1keenA --service_tenant_name service --dpdk"
2015-10-19 12:09:27:888334:
2015-10-19 12:09:27:888461: Aborting.
2015-10-19 12:09:27:888461: 2015-10-19 12:09:27:888024: [root@10.87.141.7] out: Traceback (most recent call last):
2015-10-19 12:09:28:924691: [root@10.87.141.7] out: File "/opt/contrail/utils/provision_vrouter.py", line 186, in <module>
2015-10-19 12:09:28:924937: [root@10.87.141.7] out: main()
2015-10-19 12:09:28:925111: [root@10.87.141.7] out: File "/opt/contrail/utils/provision_vrouter.py", line 182, in main
2015-10-19 12:09:28:925271: [root@10.87.141.7] out: VrouterProvisioner(args_str)
2015-10-19 12:09:28:925513: [root@10.87.141.7] out: File "/opt/contrail/utils/provision_vrouter.py", line 42, in __init__
2015-10-19 12:09:28:925685: [root@10.87.141.7] out: fq_name=['default-global-system-config'])
2015-10-19 12:09:28:925844: [root@10.87.141.7] out: File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 348, in _object_read
2015-10-19 12:09:28:926008: [root@10.87.141.7] out: res_type, fq_name, fq_name_str, id, ifmap_id)
2015-10-19 12:09:28:926189: [root@10.87.141.7] out: File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 615, in _read_args_to_id
2015-10-19 12:09:28:926370: [root@10.87.141.7] out: return (True, self.fq_name_to_id(obj_type, fq_name))
2015-10-19 12:09:28:926529: [root@10.87.141.7] out: File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 722, in fq_name_to_id
2015-10-19 12:09:28:926701: [root@10.87.141.7] out: uri = self._action_uri['name-to-id']
2015-10-19 12:09:28:926876: [root@10.87.141.7] out: File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 66, in __getitem__
2015-10-19 12:09:28:927062: [root@10.87.141.7] out: retry_on_error=False)
2015-10-19 12:09:28:927261: [root@10.87.141.7] out: File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 685, in _request
2015-10-19 12:09:28:927434: [root@10.87.141.7] out: raise ServiceUnavailableError('Service Unavailable Timeout %d' % status)
2015-10-19 12:09:28:927589: [root@10.87.141.7] out: cfgm_common.exceptions.ServiceUnavailableError: Service unavailable time out due to: Service Unavailable Timeout 503
2015-10-19 12:09:28:927745: [root@10.87.141.7] out:
2015-10-19 12:09:28:945292: [root@10.87.141.7] out: Fatal error: local() encountered an error (return code 1) while executing 'python /opt/contrail/utils/provision_vrouter.py --host_name cs-scale-7 --host_ip 13.1.0.7 --api_server_ip 13.1.0.4 --oper add --admin_user admin --admin_password n1keenA --admin_tenant_name admin --openstack_ip 13.1.0.4'
2015-10-19 12:09:28:945528: [root@10.87.141.7] out:
2015-10-19 12:09:28:945780: [root@10.87.141.7] out: Aborting.
2015-10-19 12:09:28:945941: [root@10.87.141.7] out:
2015-10-19 12:09:28:962498:

setup_all log and testbed.py is available at below

http://10.87.129.3/pxe/Standard/vin/dpdk/hit1/

Version: Ubuntu 14.04.1 Build 3.0-2655~juno

Tags: provisioning
Vinod Nair (vinodnair)
Changed in juniperopenstack:
importance: Undecided → High
importance: High → Critical
Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
Nagendra Prasath (npchandran) wrote :

Directories provided via database_dir/analytics_data_dir etc are absolute directories. Please refrain providing system directories.

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.