Hello,


I am trying to setup Opencontrail (POC single all in one setup using this set 
of instructions http://www.opencontrail.org/opencontrail-quick-start-guide/) 
and my setup always fails at the end of "fab setup_all".



I am running Ubuntu 14.04 LTS and trying to install Contrail release 200.



This is the output of "fab setup all":




2016-05-04 16:59:42:155115: Configuring global system config with the ASN
2016-05-04 16:59:42:155193: [[email protected]] run: python provision_control.py 
--api_server_ip 10.111.0.70 --api_server_port 8082 --router_asn 64512  
--admin_user admin
--admin_password secret --admin_tenant_name admin
2016-05-04 16:59:42:155284: Adding control node as bgp router
2016-05-04 16:59:42:423407: [[email protected]] run: python provision_control.py 
--api_server_ip 10.111.0.70 --api_server_port 8082 --router_asn 64512  
--admin_user admin
--admin_password secret --admin_tenant_name admin --host_name contrail1 
--host_ip 10.111.0.70 --oper add
2016-05-04 16:59:42:423476: [[email protected]] Executing task 
'prov_external_bgp'
2016-05-04 16:59:42:722162: [[email protected]] Executing task 
'prov_metadata_services'
2016-05-04 16:59:42:722288: [[email protected]] run: python 
/opt/contrail/utils/provision_linklocal.py --admin_user admin --admin_password 
secret --ipfabric_service_ip 10.
111.0.70 --api_server_ip 10.111.0.70 --linklocal_service_name metadata 
--linklocal_service_ip 169.254.169.254 --linklocal_service_port 80 
--ipfabric_service_port 8775 --o
per add
2016-05-04 16:59:42:722399: [[email protected]] out: Created.UUID is 
54ff7703-1af8-4287-bb7c-710ee55f816d
2016-05-04 16:59:42:989404: [[email protected]] out:
2016-05-04 16:59:43:004960:
2016-05-04 16:59:43:005249: [[email protected]] Executing task 'prov_encap_type'
2016-05-04 16:59:43:005459: [[email protected]] run: python 
/opt/contrail/utils/provision_encap.py --admin_user admin --admin_password 
secret --encap_priority MPLSoUDP,MPL
SoGRE,VXLAN --oper add
2016-05-04 16:59:43:005590: [[email protected]] out: No handlers could be found 
for logger "vnc_api.vnc_api"
2016-05-04 17:00:12:279481: [[email protected]] out: Traceback (most recent call 
last):
2016-05-04 17:00:41:419309: [[email protected]] out:   File 
"/opt/contrail/utils/provision_encap.py", line 132, in <module>
2016-05-04 17:00:41:419403: [[email protected]] out:     main()
2016-05-04 17:00:41:419438: [[email protected]] out:   File 
"/opt/contrail/utils/provision_encap.py", line 128, in main
2016-05-04 17:00:41:419469: [[email protected]] out:     
EncapsulationProvision(args_str)
2016-05-04 17:00:41:419498: [[email protected]] out:   File 
"/opt/contrail/utils/provision_encap.py", line 33, in __init__
2016-05-04 17:00:41:419526: [[email protected]] out:     
result=self._vnc_lib.global_vrouter_config_create(conf_obj)
2016-05-04 17:00:41:419554: [[email protected]] out:   File 
"/usr/lib/python2.7/dist-packages/vnc_api/gen/vnc_api_client_gen.py", line 230, 
in global_vrouter_config_create
2016-05-04 17:00:41:419583: [[email protected]] out:     data = json_body)
2016-05-04 17:00:41:419613: [[email protected]] out:   File 
"/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 337, in 
_request_server
2016-05-04 17:00:41:419642: [[email protected]] out:     retry_on_error=False)
2016-05-04 17:00:41:419670: [[email protected]] out:   File 
"/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 393, in _request
2016-05-04 17:00:41:419697: [[email protected]] out:     raise 
ServiceUnavailableError('Service Unavailable Timeout 503')
2016-05-04 17:00:41:419725: [[email protected]] out: 
cfgm_common.exceptions.ServiceUnavailableError: Service unavailable time out 
due to: Service Unavailable Timeout 503
2016-05-04 17:00:41:419754: [[email protected]] out:
2016-05-04 17:00:41:420071:
2016-05-04 16:52:50:259564: Warning: run() received nonzero return code 2 while 
executing 'sed -i '/umask 007/ a\limit nofile 10240 10240' 
/etc/init/mysql.conf'!
2016-05-04 16:52:50:259564:
2016-05-04 16:52:50:259564:
2016-05-04 16:53:12:423921: Warning: run() received nonzero return code 1 while 
executing 'grep '^net.ipv4.ip_local_reserved_ports' /etc/sysctl.conf > 
/dev/null 2>&1'!
2016-05-04 16:53:12:423921:
2016-05-04 16:53:12:423921:
2016-05-04 16:53:12:580608: Warning: run() received nonzero return code 2 while 
executing 'sudo ls /etc/contrail/service.token'!
2016-05-04 16:53:12:580608:
2016-05-04 16:53:12:580608:
2016-05-04 16:59:13:851357: Warning: run() received nonzero return code 1 while 
executing 'service redis-server status | grep not'!
2016-05-04 16:59:13:851357:
2016-05-04 16:59:13:851357:
2016-05-04 17:00:41:420329: Fatal error: run() received nonzero return code 1 
while executing!
2016-05-04 17:00:41:420329:
2016-05-04 17:00:41:420329: Requested: python 
/opt/contrail/utils/provision_encap.py --admin_user admin --admin_password 
Labo92 --encap_priority MPLSoUDP,MPLSoGRE,VXLAN -
-oper add
2016-05-04 17:00:41:420329: Executed: /bin/bash -l -c "python 
/opt/contrail/utils/provision_encap.py --admin_user admin --admin_password 
Labo92 --encap_priority MPLSoUDP,
MPLSoGRE,VXLAN --oper add"
2016-05-04 17:00:41:420329:
2016-05-04 17:00:41:420347: Aborting.
2016-05-04 17:00:41:420347:
2016-05-04 17:00:41:420233: Disconnecting from 10.111.0.70... done.
2016-05-04 17:00:41:534366:

Additional info:
root@contrail1:/etc# uname -a
Linux contrail1 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux
root@contrail1:/etc# contrail-status -xd
vRouter is NOT PRESENT

== Contrail vRouter ==
supervisor-vrouter:           inactive
supervisor-vrouter: ['unix:///tmp/supervisord_vrouter.sock no such file', '']
unix:///tmp/supervisord_vrouter.sockno                  such file

== Contrail Control ==
supervisor-control:           active
supervisor-control: ['contrail-control              active    pid 102665, 
uptime 1:00:29', 'contrail-control-nodemgr      active    pid 102664, uptime 
1:00:29', 'contrail-dns                  active    pid 102666, uptime 1:00:29', 
'contrail-named                active    pid 102667, uptime 1:00:29', '']
contrail-control: DEFAULT/S.http_server_port not present
URL: http://localhost:8083/Snh_SandeshUVECacheReq?x=NodeStatus : HTTP error: 500
UVE: Snh_SandeshUVECacheReq?x=NodeStatus : not found
contrail-control: NodeStatusUVE not found
contrail-control              initializing        pid 102665, uptime 1:00:29
contrail-control-nodemgr      active              pid 102664, uptime 1:00:29
contrail-dns                  active              pid 102666, uptime 1:00:29
contrail-named                active              pid 102667, uptime 1:00:29

== Contrail Analytics ==
supervisor-analytics:         active
supervisor-analytics: ['contrail-analytics-api        active    pid 103640, 
uptime 1:00:06', 'contrail-analytics-nodemgr    active    pid 103637, uptime 
1:00:06', 'contrail-collector            active    pid 103638, uptime 1:00:06', 
'contrail-query-engine         active    pid 103639, uptime 1:00:06', '']
URL: http://localhost:8090/Snh_SandeshUVECacheReq?x=NodeStatus : HTTP error: 500
UVE: Snh_SandeshUVECacheReq?x=NodeStatus : not found
contrail-analytics-api: NodeStatusUVE not found
contrail-analytics-api        initializing        pid 103640, uptime 1:00:06
contrail-analytics-nodemgr    active              pid 103637, uptime 1:00:06
URL: http://localhost:8089/Snh_SandeshUVECacheReq?x=NodeStatus : HTTP error: 500
UVE: Snh_SandeshUVECacheReq?x=NodeStatus : not found
contrail-collector: NodeStatusUVE not found
contrail-collector            initializing        pid 103638, uptime 1:00:06
URL: http://localhost:8091/Snh_SandeshUVECacheReq?x=NodeStatus : HTTP error: 500
UVE: Snh_SandeshUVECacheReq?x=NodeStatus : not found
contrail-query-engine: NodeStatusUVE not found
contrail-query-engine         initializing        pid 103639, uptime 1:00:06

== Contrail Config ==
supervisor-config:            active
supervisor-config: ['contrail-api:0                active    pid 101160, uptime 
1:00:46', 'contrail-config-nodemgr       active    pid 101157, uptime 1:00:46', 
'contrail-discovery:0          active    pid 101159, uptime 1:00:46', 
'contrail-schema               active    pid 101161, uptime 1:00:46', 
'contrail-svc-monitor          active    pid 101162, uptime 1:00:46', 'ifmap    
                     active    pid 101158, uptime 1:00:46', '']
contrail-api:0: DEFAULT/S.http_server_port not present
URL: http://localhost:8084/Snh_SandeshUVECacheReq?x=NodeStatus : HTTP error: 500
UVE: Snh_SandeshUVECacheReq?x=NodeStatus : not found
contrail-api:0: NodeStatusUVE not found
contrail-api:0                initializing        pid 101160, uptime 1:00:46
contrail-config-nodemgr       active              pid 101157, uptime 1:00:46
contrail-discovery:0          active              pid 101159, uptime 1:00:46
contrail-schema: DEFAULT/S.http_server_port not present
URL: http://localhost:8087/Snh_SandeshUVECacheReq?x=NodeStatus : HTTP error: 500
UVE: Snh_SandeshUVECacheReq?x=NodeStatus : not found
contrail-schema: NodeStatusUVE not found
contrail-schema               initializing        pid 101161, uptime 1:00:46
contrail-svc-monitor: DEFAULT/S.http_server_port not present
URL: http://localhost:8088/Snh_SandeshUVECacheReq?x=NodeStatus : HTTP error: 500
UVE: Snh_SandeshUVECacheReq?x=NodeStatus : not found
contrail-svc-monitor: NodeStatusUVE not found
contrail-svc-monitor          initializing        pid 101162, uptime 1:00:46
ifmap                         active              pid 101158, uptime 1:00:46

== Contrail Web UI ==
supervisor-webui:             active
supervisor-webui: ['contrail-webui                active    pid 104730, uptime 
0:59:44', 'contrail-webui-middleware     active    pid 104731, uptime 0:59:44', 
'']
contrail-webui                active              pid 104730, uptime 0:59:44
contrail-webui-middleware     active              pid 104731, uptime 0:59:44

== Contrail Database ==
supervisor-database:          active
supervisor-database: ['contrail-database             active    pid 89883, 
uptime 1:06:30', 'contrail-database-nodemgr     active    pid 89882, uptime 
1:06:30', '']
contrail-database             active              pid 89883, uptime 1:06:30
contrail-database-nodemgr     active              pid 89882, uptime 1:06:30

== Contrail Support Services ==
supervisor-support-service:   active
supervisor-support-service: ['rabbitmq-server               active    pid 
101564, uptime 1:00:41', '']
rabbitmq-server               active              pid 101564, uptime 1:00:41

root@contrail1:/etc#

Can anybody help me?

Thanks,
Pierre

_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to