Anda,

Will you be able to join the OpenContrail summit today? The Zoom link is below 
if you weren't able to make advance plans to join us in person in Austin. 
Hopefully the presentations will be helpful and there will be time for 
discussion directly related to this topic.

https://zoom.us/j/516126818
International numbers available: 
https://zoom.us/zoomconference?m=Ey5u5mAqUMK2XZED55tVEzbxDueqU9Wc

https://www.eventbrite.com/e/opencontrail-user-and-developer-group-kubecon-austin-2017-tickets-40200106601
http://www.opencontrail.org/event/opencontrail-kubecon-austin/


--
Paul Carver
VoIP: 732-545-7377
Cell: 908-803-1656
E: [email protected]<mailto:[email protected]>
Q Instant Message<qto://talk/pc2929>
It is difficult to make predictions. Especially about the future.


From: Anda Nicolae [mailto:[email protected]]
Sent: Monday, December 04, 2017 12:08
To: [email protected]
Subject: [openstack-dev] Neutron exception when creating a network using 
Contrail R4.1 and OpenStack Ocata

Hi all,

I am struggling with Contrail R4.1 and OpenStack Ocata on Ubuntu 16.04.2.
I managed to install Contrail R4.1 on Ubuntu 16.04 using contrail-installer 
package and to successfully start all Contrail processes.
Then, I installed OpenStack Ocata using devstack. Unfortunately, I am facing 
some errors.

Worth mentioning that I have also installed only OpenStack Ocata without 
Contrail on Ubuntu 16.04 and it worked without any errors.

Some of the errors I have encountered with OpenStack Ocata and Contrail R4.1 
are:
If I issue: 'neutron net-list', works fine but 'neutron --debug net-create 
net1' returns:

DEBUG: keystoneauth.session GET call to None for http:// 
<ContrailControllerIP>:5000/v2.0 used request id 
req-ee38087e-3167-4e2f-a3c7-05422984e40d
DEBUG: keystoneauth.identity.v2 Making authentication request to http:// 
<ContrailControllerIP>/identity/v2.0/tokens
DEBUG: keystoneauth.session REQ: curl -g -i -X POST http:// 
<ContrailControllerIP>:9696/v2.0/networks.json -H "User-Agent: 
python-neutronclient" -H "Content-Type: application/json" -H "Accept: 
application/json" -H "X-Auth-Token: 
{SHA1}07ab629ceba1f5e5eeb0533eccee9dad135910f9" -d '{"network": {"name": 
"net1", "admin_state_up": true}}'
DEBUG: keystoneauth.session RESP: [404] Content-Type: application/json 
Content-Length: 97 X-Openstack-Request-Id: 
req-ea656a0f-f621-43c7-af48-eaff7fd8d97a Date: Tue, 28 Nov 2017 00:52:14 GMT 
Connection: keep-alive
RESP BODY: {"NeutronError": {"message": "An unknown exception occurred.", 
"type": "NotFound", "detail": ""}}

DEBUG: keystoneauth.session POST call to network for 
http://<ContrailControllerIP>:9696/v2.0/networks.json<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253CContrailControllerIP-253E-3A9696_v2.0_networks.json&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=HBNonG828PGilNRNwXAtdg&m=VyZ4osKJr9BLYU2rTMuirxwOp48SLPpr6gnFSalDjeo&s=IGluoaZCykZPdySVSTelbL5ZEaPUd7BM-aj-EHOS5bU&e=>
 used request id req-ea656a0f-f621-43c7-af48-eaff7fd8d97a
DEBUG: neutronclient.v2_0.client Error message: {"NeutronError": {"message": 
"An unknown exception occurred.", "type": "NotFound", "detail": ""}}
DEBUG: neutronclient.v2_0.client POST call to neutron for http:// 
<ContrailControllerIP>:9696/v2.0/networks.json used request id 
req-ea656a0f-f621-43c7-af48-eaff7fd8d97a
ERROR: neutronclient.shell An unknown exception occurred.
Neutron server returns request_ids: ['req-ea656a0f-f621-43c7-af48-eaff7fd8d97a']
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/shell.py", line 
877, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/shell.py", line 
114, in run_command
    return cmd.run(known_args)
  File 
"/usr/local/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py",
 line 324, in run
    return super(NeutronCommand, self).run(parsed_args)
  File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 112, in 
run
    column_names, data = self.take_action(parsed_args)
  File 
"/usr/local/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py",
 line 406, in take_action
    data = obj_creator(body)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", 
line 798, in create_network
    return self.post(self.networks_path, body=body)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", 
line 366, in post
    headers=headers, params=params)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", 
line 301, in do_request
    self._handle_fault_response(status_code, replybody, resp)
 File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", 
line 276, in _handle_fault_response
    exception_handler_v20(status_code, error_body)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", 
line 92, in exception_handler_v20
    request_ids=request_ids)
NotFound: An unknown exception occurred.

>From q-svc logs, I've found:
ERROR neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_base 
[req-f7394fbd-c9ee-4468-b050-e0559a39bbfc demo admin] NotFound{u'msg': 
u"Unknown id: Error: oper 2 url /project/1621d377-eb4e-4a44-8470-699a3c14bd2d 
body {'fields': 'security_groups', 'exclude_hrefs': True} response Unknown id: 
1621d377-eb4e-4a44-8470-699a3c14bd2d", u'exception': u'NotFound'}security_group


Also, when I try to create the network using Contrail GUI, I have the following 
error:
Error: Parent project cannot be found: Unknown id: project default-domain:admin


Do you have any idea why this happens?


Thanks,
Anda
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to