Hi Maciej,

Yes, if you can it would probably be better to clean your setup and start
the install process from the beginning on a clean install with the
appropriate Ubuntu version (14.04.3) and Kernel version (3.13.0-40).

Regards,
Guilhem

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

> Guilhem,
>
> On the same machine i have installed the correct kernel then re-run fab
> setup_all on kernel 3.13.0-40-generic but i still see the same issue.
> Should i re-run install as well?:
>
> 2015-11-10 11:17:38:734264: [[email protected]] out: [[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 11:17:38:734356: [[email protected]] out: [[email protected]]
> out: No handlers could be found for logger "vnc_api.vnc_api"
> 2015-11-10 11:18:08:469732: [[email protected]] out: [[email protected]]
> out: Traceback (most recent call last):
> 2015-11-10 11:18:08:470058: [[email protected]] out: [[email protected]]
> out:   File "/opt/contrail/utils/provision_vrouter.py", line 178, in
> <module>
> 2015-11-10 11:18:08:470316: [[email protected]] out: [[email protected]]
> out:     main()
> 2015-11-10 11:18:08:470501: [[email protected]] out: [[email protected]]
> out:   File "/opt/contrail/utils/provision_vrouter.py", line 174, in main
> 2015-11-10 11:18:08:470628: [[email protected]] out: [[email protected]]
> out:     VrouterProvisioner(args_str)
> 2015-11-10 11:18:08:471131: [[email protected]] out: [[email protected]]
> out:   File "/opt/contrail/utils/provision_vrouter.py", line 42, in __init__
> 2015-11-10 11:18:08:471259: [[email protected]] out: [[email protected]]
> out:     fq_name=['default-global-system-config'])
> 2015-11-10 11:18:08:471384: [[email protected]] out: [[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 11:18:08:471522: [[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-11-10 11:18:08:471640: [[email protected]] out: [[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 11:18:08:471723: [[email protected]] out: [[email protected]]
> out:     return (True, self.fq_name_to_id(obj_type, fq_name))
> 2015-11-10 11:18:08:471845: [[email protected]] out: [[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 11:18:08:471930: [[email protected]] out: [[email protected]]
> out:     uri = self._action_uri['name-to-id']
> 2015-11-10 11:18:08:472008: [[email protected]] out: [[email protected]]
> out: KeyError: 'name-to-id'
> 2015-11-10 11:18:08:472086: [[email protected]] out: [[email protected]]
> out:
> 2015-11-10 11:18:08:472161: [[email protected]] out:
> 2015-11-10 11:18:08:475921: [[email protected]] out:
> 2015-11-10 11:18:08:476024: [[email protected]] out: Fatal error: run()
> received nonzero return code 1 while executing!
> 2015-11-10 11:18:08:476101: [[email protected]] out:
> 2015-11-10 11:18:08:476179: [[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 11:18:08:476260: [[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 11:18:08:476347: [[email protected]] out:
> 2015-11-10 11:18:08:476429: [[email protected]] out: Aborting.
> 2015-11-10 11:18:08:476502: [[email protected]] out:
> 2015-11-10 11:18:08:640705:
>
> 2015-11-10 11:18:08:641868: Fatal error: run() received nonzero return
> code 1 while executing!
> 2015-11-10 11:18:08:641868:
> 2015-11-10 11:18:08:641868: 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 11:18:08:641868: 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 11:18:08:641868:
> 2015-11-10 11:18:08:641979: Aborting.
> 2015-11-10 11:18:08:641979: 2015-11-10 11:18:08:641563: Disconnecting from
> 10.40.10.159... done.
> 2015-11-10 11:18:08:756651: root@opencontrail-controller:/opt/contrail/utils#
>
> root@opencontrail-controller:/opt/contrail/utils#
> *root@opencontrail-controller:/opt/contrail/utils# uname -a*
> *Linux opencontrail-controller 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13
> 17:53:56 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*
> *vrouter, 2.0, 3.13.0-40-generic, x86_64: installed*
> *root@opencontrail-controller:/opt/contrail/utils*#
>
>
>
>
> On 11/10/2015 10:40 AM, Guilhem Tesseyre wrote:
>
> 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]]
>> 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]]
>> out: No handlers could be found for logger "vnc_api.vnc_api"
>> 2015-11-10 09:17:16:362759: [[email protected]] out: [[email protected]]
>> out: Traceback (most recent call last):
>> 2015-11-10 09:17:16:363033: [[email protected]] out: [[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]]
>> out:     main()
>> 2015-11-10 09:17:16:363325: [[email protected]] out: [[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]]
>> out:     VrouterProvisioner(args_str)
>> 2015-11-10 09:17:16:363637: [[email protected]] out: [[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]]
>> out:     fq_name=['default-global-system-config'])
>> 2015-11-10 09:17:16:363895: [[email protected]] out: [[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]]
>> 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]]
>> 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]]
>> out:     return (True, self.fq_name_to_id(obj_type, fq_name))
>> 2015-11-10 09:17:16:364516: [[email protected]] out: [[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]]
>> out:     uri = self._action_uri['name-to-id']
>> 2015-11-10 09:17:16:364813: [[email protected]] out: [[email protected]]
>> out: KeyError: 'name-to-id'
>> 2015-11-10 09:17:16:364952: [[email protected]] out: [[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
>
>
>
>


-- 

*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