Hi Pankaj >From your rabbitmqctl list_queues output, there should be one queue named "vnc_config.<hostname>-<api-server-port>", which is missing.
I guess, api-server is not running hence, Service Unavailable Timeout 503. Regards, Yatin On Wed, Jun 3, 2015 at 5:27 AM, Pankaj Sinha <[email protected]> wrote: > Hi Ajay, > > I am getting below output > > > > [root@NTNX-15SM15120038-D utils]# rabbitmqctl cluster_status > > Cluster status of node 'rabbit@NTNX-15SM15120038-D-ctrl' ... > > [{nodes,[{disc,['rabbit@NTNX-15SM15120038-D-ctrl']}]}, > > {running_nodes,['rabbit@NTNX-15SM15120038-D-ctrl']}, > > {partitions,[]}] > > ...done. > > [root@NTNX-15SM15120038-D utils]# rabbitmqctl list_queues > > Listing queues ... > > ...done. > > [root@NTNX-15SM15120038-D utils]# > > > > *From:* Hampapur Ajay [mailto:[email protected]] > *Sent:* Tuesday, June 02, 2015 4:40 PM > *To:* Pankaj Sinha; [email protected]; > [email protected]; [email protected] > *Subject:* Re: [opencontrail-dev] Opencontrail Installation issue > > > > From output below: > > > > Database:RabbitMQ connection down > > > > Can you check output of rabbitmqctl cluster_status and rabbitmqctl > list_queues > > > > thanks > > ajay > > > ------------------------------ > > *From:* Pankaj Sinha <[email protected]> > *Sent:* Tuesday, June 2, 2015 2:57 PM > *To:* Hampapur Ajay; [email protected]; > [email protected]; [email protected] > *Subject:* RE: [opencontrail-dev] Opencontrail Installation issue > > > > Hi Ajay, > > Just checking if you have any input to below issues. > > > > > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > 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. > > > ---------------------------------------------------------------------------------------------------------------------------------------------------------------- > > > > *Here is the output of contrail-status** –debug* > > > > == Contrail vRouter == > > supervisor-vrouter: inactive > > supervisor-vrouter: ['unix:///tmp/supervisord_vrouter.sock no such file', > ''] > > unix:///tmp/supervisord_vrouter.sockno > > > > == Contrail Control == > > supervisor-control: active > > supervisor-control: ['contrail-control active pid 29051, > uptime 0:02:10', 'contrail-control-nodemgr active pid 29005, uptime > 0:02:10', 'contrail-dns active pid 29007, uptime > 0:02:10', 'contrail-named active pid 29008, uptime > 0:02:10', ''] > > contrail-control: DEFAULT/S.http_server_port not present > > contrail-control initializing (Number of connections:4, > Expected:5) > > contrail-control-nodemgr active > > contrail-dns active > > contrail-named active > > > > == Contrail Analytics == > > supervisor-analytics: active > > supervisor-analytics: ['contrail-analytics-api active pid 30097, > uptime 0:01:50', 'contrail-analytics-nodemgr active pid 30092, uptime > 0:01:50', 'contrail-collector active pid 30095, uptime > 0:01:50', 'contrail-query-engine active pid 30096, uptime > 0:01:50', 'contrail-snmp-collector active pid 30093, uptime > 0:01:50', 'contrail-topology active pid 30094, uptime > 0:01:50', ''] > > contrail-analytics-api active > > contrail-analytics-nodemgr active > > contrail-collector active > > contrail-query-engine active > > contrail-snmp-collector active > > contrail-topology active > > > > == Contrail Config == > > supervisor-config: active > > supervisor-config: ['contrail-api:0 active pid 28119, > uptime 0:02:32', 'contrail-config-nodemgr active pid 28116, uptime > 0:02:32', 'contrail-device-manager active pid 28120, uptime > 0:02:32', 'contrail-discovery:0 active pid 28118, uptime > 0:02:32', 'contrail-schema active pid 730, uptime > 0:00:22', 'contrail-svc-monitor active pid 731, uptime > 0:00:22', 'ifmap active pid 28117, uptime > 0:02:32', ''] > > contrail-api:0: DEFAULT/S.http_server_port not present > > contrail-api:0 initializing (Database:RabbitMQ connection > down) > > contrail-config-nodemgr active > > contrail-device-manager: DEFAULT/S.http_server_port not present > > contrail-device-manager initializing (Database:RabbitMQ connection > down) > > contrail-discovery:0 active > > contrail-schema: DEFAULT/S.http_server_port not present > > URL: http://localhost:8087/Snh_SandeshUVECacheReq?x=NodeStatus : Socket > Connection error : ('Connection aborted.', error(111, 'Connection refused')) > > UVE: Snh_SandeshUVECacheReq?x=NodeStatus : not found > > contrail-schema: NodeStatusUVE not found > > contrail-schema initializing > > contrail-svc-monitor: DEFAULT/S.http_server_port not present > > contrail-svc-monitor initializing (ApiServer:ApiServer connection > down) > > ifmap active > > > > == Contrail Web UI == > > supervisor-webui: active > > supervisor-webui: ['contrail-webui active pid 31325, > uptime 0:01:25', 'contrail-webui-middleware active pid 31326, uptime > 0:01:25', ''] > > contrail-webui active > > contrail-webui-middleware active > > > > == Contrail Database == > > supervisor-database: active > > supervisor-database: ['contrail-database active pid 22662, > uptime 0:05:11', 'contrail-database-nodemgr active pid 22661, uptime > 0:05:11', ''] > > contrail-database active > > contrail-database-nodemgr active > > > > == Contrail Support Services == > > supervisor-support-service: active > > supervisor-support-service: ['rabbitmq-server active pid > 28311, uptime 0:02:28', ''] > > rabbitmq-server active > > _______________________________________________ > Dev mailing list > [email protected] > http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org > >
_______________________________________________ Dev mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
