<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am struggling with Contrail R4.1 and OpenStack Ocata on Ubuntu 16.04.2.
<o:p></o:p></p>
<p class="MsoNormal">I managed to install Contrail R4.1 on Ubuntu 16.04 using contrail-installer package and to successfully start all Contrail processes.
<o:p></o:p></p>
<p class="MsoNormal">Then, I installed OpenStack Ocata using devstack. Unfortunately, I am facing some errors.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Worth mentioning that I have also installed only OpenStack Ocata without Contrail on Ubuntu 16.04 and it worked without any errors.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Some of the errors I have encountered with OpenStack Ocata and Contrail R4.1 are:<o:p></o:p></p>
<p class="MsoNormal">If I issue: 'neutron net-list', works fine but 'neutron --debug net-create net1' returns:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">DEBUG: keystoneauth.session GET call to None for http:// <ContrailControllerIP>:5000/v2.0 used request id req-ee38087e-3167-4e2f-a3c7-05422984e40d<o:p></o:p></p>
<p class="MsoNormal">DEBUG: keystoneauth.identity.v2 Making authentication request to http:// <ContrailControllerIP>/identity/v2.0/tokens<o:p></o:p></p>
<p class="MsoNormal">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}}'<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">RESP BODY: {"NeutronError": {"message": "An unknown exception occurred.", "type": "NotFound", "detail": ""}}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">DEBUG: keystoneauth.session POST call to network for http://<ContrailControllerIP>:9696/v2.0/networks.json used request id req-ea656a0f-f621-43c7-af48-eaff7fd8d97a<o:p></o:p></p>
<p class="MsoNormal">DEBUG: neutronclient.v2_0.client Error message: {"NeutronError": {"message": "An unknown exception occurred.", "type": "NotFound", "detail": ""}}<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">ERROR: neutronclient.shell An unknown exception occurred.<o:p></o:p></p>
<p class="MsoNormal">Neutron server returns request_ids: ['req-ea656a0f-f621-43c7-af48-eaff7fd8d97a']<o:p></o:p></p>
<p class="MsoNormal">Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/neutronclient/shell.py", line 877, in run_subcommand<o:p></o:p></p>
<p class="MsoNormal"> return run_command(cmd, cmd_parser, sub_argv)<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/neutronclient/shell.py", line 114, in run_command<o:p></o:p></p>
<p class="MsoNormal"> return cmd.run(known_args)<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 324, in run<o:p></o:p></p>
<p class="MsoNormal"> return super(NeutronCommand, self).run(parsed_args)<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 112, in run<o:p></o:p></p>
<p class="MsoNormal"> column_names, data = self.take_action(parsed_args)<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 406, in take_action<o:p></o:p></p>
<p class="MsoNormal"> data = obj_creator(body)<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 798, in create_network<o:p></o:p></p>
<p class="MsoNormal"> return self.post(self.networks_path, body=body)<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 366, in post<o:p></o:p></p>
<p class="MsoNormal"> headers=headers, params=params)<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 301, in do_request<o:p></o:p></p>
<p class="MsoNormal"> self._handle_fault_response(status_code, replybody, resp)<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 276, in _handle_fault_response<o:p></o:p></p>
<p class="MsoNormal"> exception_handler_v20(status_code, error_body)<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 92, in exception_handler_v20<o:p></o:p></p>
<p class="MsoNormal"> request_ids=request_ids)<o:p></o:p></p>
<p class="MsoNormal">NotFound: An unknown exception occurred.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">From q-svc logs, I've found:<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also, when I try to create the network using Contrail GUI, I have the following error:<o:p></o:p></p>
<p class="MsoNormal">Error: Parent project cannot be found: Unknown id: project default-domain:admin
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Do you have any idea why this happens?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Anda<o:p></o:p></p>
</div>
</body>
</html>