Hi Maciej,

I see that you are running kernel version 3.13.0-35. However, since the
vrouter is installed as a kernel module only certain kernel versions are
supported :

   -

   Ubuntu 12.04.04 (Linux kernel version: 3.13.0-34-generic)
   -

   Ubuntu 14.04. (Linux kernel version: 3.13.0-40-generic)

You might want to upgrade your kernel to 3.13.0-40 and try provisioning the
vrouter again.

Regards,
Guilhem

2015-11-10 15:41 GMT+01:00 Maciej Lecki <[email protected]>:

> 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 when trying to run "fab setup_all" when trying to create a
> vrouter. Not sure whats wrong at this point. I have tried Contrail release
> 120 and 200, also tried on Ubuntu 12.04.3 (this yieleded some dependency
> problems installing nova-compute-libvirt) and Ubuntu 14.04.3.
>
> The following is the output of the fab setup_all script:
>
>
> 2015-11-10 09:16:46:172980: [[email protected]] out: [ <[email protected]>
> [email protected]] run: python /opt/contrail/utils/provision_vrouter.py
> --host_name opencontrail-controller --host_ip 10.40.10.159 --api_server_ip
> 10.40.10.159 --oper add --admin_user admin --admin_password openstack
> --admin_tenant_name admin --openstack_ip 10.40.10.159
> 2015-11-10 09:16:46:173473: [[email protected]] out: [ <[email protected]>
> [email protected]] out: No handlers could be found for logger
> "vnc_api.vnc_api"
> 2015-11-10 09:17:16:362759: [[email protected]] out: [ <[email protected]>
> [email protected]] out: Traceback (most recent call last):
> 2015-11-10 09:17:16:363033: [[email protected]] out: [ <[email protected]>
> [email protected]] out:   File
> "/opt/contrail/utils/provision_vrouter.py", line 178, in <module>
> 2015-11-10 09:17:16:363184: [[email protected]] out: [ <[email protected]>
> [email protected]] out:     main()
> 2015-11-10 09:17:16:363325: [[email protected]] out: [ <[email protected]>
> [email protected]] out:   File
> "/opt/contrail/utils/provision_vrouter.py", line 174, in main
> 2015-11-10 09:17:16:363503: [[email protected]] out: [ <[email protected]>
> [email protected]] out:     VrouterProvisioner(args_str)
> 2015-11-10 09:17:16:363637: [[email protected]] out: [ <[email protected]>
> [email protected]] out:   File
> "/opt/contrail/utils/provision_vrouter.py", line 42, in __init__
> 2015-11-10 09:17:16:363766: [[email protected]] out: [ <[email protected]>
> [email protected]] out:     fq_name=['default-global-system-config'])
> 2015-11-10 09:17:16:363895: [[email protected]] out: [ <[email protected]>
> [email protected]] out:   File
> "/usr/lib/python2.7/dist-packages/vnc_api/gen/vnc_api_client_gen.py", line
> 2122, in global_system_config_read
> 2015-11-10 09:17:16:364025: [[email protected]] out: [ <[email protected]>
> [email protected]] out:     (args_ok, result) =
> self._read_args_to_id('global-system-config', fq_name, fq_name_str, id,
> ifmap_id)
> 2015-11-10 09:17:16:364159: [[email protected]] out: [ <[email protected]>
> [email protected]] out:   File
> "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 326, in
> _read_args_to_id
> 2015-11-10 09:17:16:364337: [[email protected]] out: [ <[email protected]>
> [email protected]] out:     return (True, self.fq_name_to_id(obj_type,
> fq_name))
> 2015-11-10 09:17:16:364516: [[email protected]] out: [ <[email protected]>
> [email protected]] out:   File
> "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 430, in
> fq_name_to_id
> 2015-11-10 09:17:16:364646: [[email protected]] out: [ <[email protected]>
> [email protected]] out:     uri = self._action_uri['name-to-id']
> 2015-11-10 09:17:16:364813: [[email protected]] out: [ <[email protected]>
> [email protected]] out: KeyError: 'name-to-id'
> 2015-11-10 09:17:16:364952: [[email protected]] out: [ <[email protected]>
> [email protected]] out:
> 2015-11-10 09:17:16:365077: [[email protected]] out:
> 2015-11-10 09:17:16:398411: [[email protected]] out:
> 2015-11-10 09:17:16:399042: [[email protected]] out: Fatal error: run()
> received nonzero return code 1 while executing!
> 2015-11-10 09:17:16:399303: [[email protected]] out:
> 2015-11-10 09:17:16:399576: [[email protected]] out: Requested: python
> /opt/contrail/utils/provision_vrouter.py --host_name
> opencontrail-controller --host_ip 10.40.10.159 --api_server_ip 10.40.10.159
> --oper add --admin_user admin --admin_password openstack
> --admin_tenant_name admin --openstack_ip 10.40.10.159
> 2015-11-10 09:17:16:399830: [[email protected]] out: Executed: /bin/bash
> -l -c "python /opt/contrail/utils/provision_vrouter.py --host_name
> opencontrail-controller --host_ip 10.40.10.159 --api_server_ip 10.40.10.159
> --oper add --admin_user admin --admin_password openstack
> --admin_tenant_name admin --openstack_ip 10.40.10.159"
> 2015-11-10 09:17:16:400069: [[email protected]] out:
> 2015-11-10 09:17:16:400298: [[email protected]] out: Aborting.
> 2015-11-10 09:17:16:400492: [[email protected]] out:
> 2015-11-10 09:17:16:533201:
>
> 2015-11-10 09:17:16:535249: Fatal error: run() received nonzero return
> code 1 while executing!
> 2015-11-10 09:17:16:535249:
> 2015-11-10 09:17:16:535249: Requested: setup-vnc-compute --self_ip
> 10.40.10.159 --cfgm_ip 10.40.10.159 --cfgm_user root --cfgm_passwd cloud1
> --ncontrols 1 --amqp_server_ip 10.40.10.159 --service_token
> 750fdbf7cfb8c1d41202 --orchestrator openstack --keystone_ip 10.40.10.159
> --openstack_mgmt_ip 10.40.10.159 --keystone_auth_protocol http
> --keystone_auth_port 35357 --quantum_service_protocol http
> --keystone_admin_user admin --keystone_admin_password openstack
> 2015-11-10 09:17:16:535249: Executed: /bin/bash -l -c "cd
> /opt/contrail/bin && setup-vnc-compute --self_ip 10.40.10.159 --cfgm_ip
> 10.40.10.159 --cfgm_user root --cfgm_passwd cloud1 --ncontrols 1
> --amqp_server_ip 10.40.10.159 --service_token 750fdbf7cfb8c1d41202
> --orchestrator openstack --keystone_ip 10.40.10.159 --openstack_mgmt_ip
> 10.40.10.159 --keystone_auth_protocol http --keystone_auth_port 35357
> --quantum_service_protocol http --keystone_admin_user admin
> --keystone_admin_password openstack"
> 2015-11-10 09:17:16:535249:
> 2015-11-10 09:17:16:535319: Aborting.
> 2015-11-10 09:17:16:535319: 2015-11-10 09:17:16:535052: Disconnecting from
> 10.40.10.159... done.
> 2015-11-10 09:17:16:649831: root@opencontrail-controller
> :/opt/contrail/utils#
>
>
> Additional system info:
>
> root@opencontrail-controller:/opt/contrail/utils# 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 4997,
> uptime 0:08:33', 'contrail-control-nodemgr      active    pid 4996, uptime
> 0:08:33', 'contrail-dns                  active    pid 4998, uptime
> 0:08:33', 'contrail-named                active    pid 4999, uptime
> 0:08:33', '']
> contrail-control: DEFAULT/S.http_server_port not present
> contrail-control              initializing (Number of connections:4,
> Expected: 5)pid 4997, uptime 0:08:33
> contrail-control-nodemgr      active              pid 4996, uptime
> 0:08:33
> contrail-dns                  active              pid 4998, uptime
> 0:08:33
> contrail-named                active              pid 4999, uptime
> 0:08:33
>
> == Contrail Analytics ==
> supervisor-analytics:         active
> supervisor-analytics: ['contrail-analytics-api        active    pid 6108,
> uptime 0:08:08', 'contrail-analytics-nodemgr    active    pid 6105, uptime
> 0:08:08', 'contrail-collector            active    pid 6106, uptime
> 0:08:08', 'contrail-query-engine         active    pid 6107, uptime
> 0:08:08', '']
> contrail-analytics-api        active              pid 6108, uptime
> 0:08:08
> contrail-analytics-nodemgr    active              pid 6105, uptime
> 0:08:08
> contrail-collector            active              pid 6106, uptime
> 0:08:08
> contrail-query-engine         active              pid 6107, uptime
> 0:08:08
>
> == Contrail Config ==
> supervisor-config:            active
> supervisor-config: ['contrail-api:0                active    pid 3508,
> uptime 0:08:52', 'contrail-config-nodemgr       active    pid 3505, uptime
> 0:08:52', 'contrail-discovery:0          active    pid 3507, uptime
> 0:08:52', 'contrail-schema               active    pid 10306, uptime
> 0:00:53', 'contrail-svc-monitor          active    pid 10549, uptime
> 0:00:16', 'ifmap                         active    pid 3506, uptime
> 0:08:52', '']
> contrail-api:0: DEFAULT/S.http_server_port not present
> contrail-api:0                initializing (IFMap:IfMap connection
> down)pid 3508, uptime 0:08:52
> contrail-config-nodemgr       active              pid 3505, uptime
> 0:08:52
> contrail-discovery:0          active              pid 3507, uptime
> 0:08:52
> contrail-schema: DEFAULT/S.http_server_port not present
> contrail-schema: ProcessStatus not present in NodeStatusUVE
> contrail-schema               initializing        pid 10306, uptime
> 0:00:53
> contrail-svc-monitor: DEFAULT/S.http_server_port not present
> contrail-svc-monitor: ProcessStatus not present in NodeStatusUVE
> contrail-svc-monitor          initializing        pid 10549, uptime
> 0:00:16
> ifmap                         active              pid 3506, uptime
> 0:08:52
>
> == Contrail Web UI ==
> supervisor-webui:             active
> supervisor-webui: ['contrail-webui                active    pid 7279,
> uptime 0:07:42', 'contrail-webui-middleware     active    pid 7280, uptime
> 0:07:42', '']
> contrail-webui                active              pid 7279, uptime
> 0:07:42
> contrail-webui-middleware     active              pid 7280, uptime
> 0:07:42
>
> == Contrail Database ==
> supervisor-database:          active
> supervisor-database: ['contrail-database             active    pid 24575,
> uptime 0:15:44', 'contrail-database-nodemgr     active    pid 24574, uptime
> 0:15:44', '']
> contrail-database             active              pid 24575, uptime
> 0:15:44
> contrail-database-nodemgr     active              pid 24574, uptime
> 0:15:44
>
> == Contrail Support Services ==
> supervisor-support-service:   active
> supervisor-support-service: ['rabbitmq-server               active    pid
> 3750, uptime 0:08:48', '']
> rabbitmq-server               active              pid 3750, uptime
> 0:08:48
>
> root@opencontrail-controller:/opt/contrail/utils# uname -a
> Linux opencontrail-controller 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15
> 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> root@opencontrail-controller:/opt/contrail/utils# dkms status
> vrouter, 2.0, 3.13.0-35-generic, x86_64: installed
> root@opencontrail-controller:/opt/contrail/utils#
>
> Can anyone advise what to do at this point?
>
> Thanks,
>
> Maciej
>
> PS - sorry if you are receiving this twice - i send out the 1st email
> without subscribing to the list.
>
> ------------------------------
> DISCLAIMER: This e-mail and any attachments are intended only for use by
> the addresse(s) named herein and may contain legally privileged and/or
> confidential information. If you are not the intended recipient of this
> e-mail, you are hereby notified any dissemination, distribution or copying
> of this email, and any attachments thereto, is strictly prohibited. If you
> receive this email in error please immediately notify the sender and
> permanently delete the original copy and any copy of any e-mail, and any
> printout thereof.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
>
>


-- 

*Guilhem Tesseyre*

M: +33 6 62 08 90 10 ○ E: guilhem.tesseyre@g <[email protected]>
mail.com

28 Rue Colin ○ 69100 Villeurbanne ○ France
_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to