<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=windows-1250">
<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:0in;
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:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello Mihaela,</p>
<p><br>
</p>
<p>It seems that you are referring to that part of code <a href="https://github.com/openstack/neutron-lbaas/blob/mitaka-eol/neutron_lbaas/drivers/driver_base.py#L36" class="OWAAutoLink" id="LPlnk920447" previewremoved="true">https://github.com/openstack/neutron-lbaas/blob/mitaka-eol/neutron_lbaas/drivers/driver_base.py#L36</a></p>
<br>
<div>I found that document for Mitaka <a href="https://docs.openstack.org/mitaka/networking-guide/config-lbaas.html" class="OWAAutoLink" id="LPlnk307305" previewremoved="true">https://docs.openstack.org/mitaka/networking-guide/config-lbaas.html</a></div>
<div><br>
</div>
<div>It might be related to incorrectly configured driver for LBaaS (or indeed not implemented driver for L7 policy for specific driver).</div>
<div><br>
</div>
<div>Questions:</div>
<div><br>
</div>
<div>* What do you have configured in neutron configuration in section [service_providers]?</div>
<div>* Which driver do you want to use?</div>
<div><br>
</div>
<div>Example line</div>
<div><br>
</div>
<div><span>service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default</span><br>
</div>
<div><span><br>
</span></div>
<div><span>Cheers,</span></div>
<div><span>Paweł</span></div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Od:</b> mihaela.balas@orange.com <mihaela.balas@orange.com><br>
<b>Wysłane:</b> 3 października 2017 11:13:34<br>
<b>Do:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Temat:</b> [openstack-dev] [neutron][lbaasv2][agent implementation] L7 policy support</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does the agent implementation of LBaaSv2 support L7 policies? I am testing with Mitaka version and I get “Not Implemented Error”.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">{"asctime": "2017-10-03 07:34:42.764","process": "18","levelname": "INFO","name": "neutron_lbaas.services.loadbalancer.plugin", "request_id": "req-186bf812-1cdf-496b-a117-711f1e42c6bd", "user_identity": {"user_id": "44364a07de754daa9ffeb2911fe3620a",
"project_id": "a5f15235c0714365b98a50a11ec956e7", "domain_id": "-", "user_domain_id": "-", "project_domain_id": "-"},"instance": {},"message":"Calling driver operation NotImplementedManager.create"}<o:p></o:p></p>
<p class="MsoNormal">{"asctime": "2017-10-03 07:34:42.765","process": "18","levelname": "ERROR","name": "neutron_lbaas.services.loadbalancer.plugin", "request_id": "req-186bf812-1cdf-496b-a117-711f1e42c6bd", "user_identity": {"user_id": "44364a07de754daa9ffeb2911fe3620a",
"project_id": "a5f15235c0714365b98a50a11ec956e7", "domain_id": "-", "user_domain_id": "-", "project_domain_id": "-"},"instance": {},"message":"There was an error in the driver"}<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.765 18 TRACE neutron_lbaas.services.loadbalancer.plugin >>>>>Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.765 18 TRACE neutron_lbaas.services.loadbalancer.plugin >>>>> File "/opt/neutron/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 486, in _call_driver_operation<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.765 18 TRACE neutron_lbaas.services.loadbalancer.plugin >>>>> driver_method(context, db_entity)<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.765 18 TRACE neutron_lbaas.services.loadbalancer.plugin >>>>> File "/opt/neutron/lib/python2.7/site-packages/neutron_lbaas/drivers/driver_base.py", line 36, in create<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.765 18 TRACE neutron_lbaas.services.loadbalancer.plugin >>>>> raise NotImplementedError()<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.765 18 TRACE neutron_lbaas.services.loadbalancer.plugin >>>>>NotImplementedError<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.765 18 TRACE neutron_lbaas.services.loadbalancer.plugin >>>>><o:p></o:p></p>
<p class="MsoNormal">{"asctime": "2017-10-03 07:34:42.800","process": "18","levelname": "ERROR","name": "neutron.api.v2.resource", "request_id": "req-186bf812-1cdf-496b-a117-711f1e42c6bd", "user_identity": {"user_id": "44364a07de754daa9ffeb2911fe3620a", "project_id":
"a5f15235c0714365b98a50a11ec956e7", "domain_id": "-", "user_domain_id": "-", "project_domain_id": "-"},"instance": {},"message":"create failed"}<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>>Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 84, in resource<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> result = method(request=request, **args)<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/neutron/api/v2/base.py", line 410, in create<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> return self._create(request, body, **kwargs)<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/oslo_db/api.py", line 148, in wrapper<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> ectxt.value = e.inner_exc<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> self.force_reraise()<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> six.reraise(self.type_, self.value, self.tb)<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/oslo_db/api.py", line 138, in wrapper<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> return f(*args, **kwargs)<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/neutron/api/v2/base.py", line 521, in _create<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> obj = do_create(body)<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/neutron/api/v2/base.py", line 503, in do_create<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> request.context, reservation.reservation_id)<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> self.force_reraise()<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> six.reraise(self.type_, self.value, self.tb)<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/neutron/api/v2/base.py", line 496, in do_create<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> return obj_creator(request.context, **kwargs)<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 1086, in create_l7policy<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> l7policy_db)<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> File "/opt/neutron/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 494, in _call_driver_operation<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>> raise loadbalancerv2.DriverError()<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>>DriverError: An error happened in the driver<o:p></o:p></p>
<p class="MsoNormal">2017-10-03 07:34:42.800 18 TRACE neutron.api.v2.resource >>>>><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks you,<o:p></o:p></p>
<p class="MsoNormal">Mihaela Balas<o:p></o:p></p>
</div>
<pre>_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
</pre>
</div>
</body>
</html>