<html 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=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Arial;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:12.0pt;
        font-family:"Times New Roman";}
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-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">+1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Kevin Benton <kevin@benton.pub><br>
<b>Reply-To: </b>OpenStack List <openstack-dev@lists.openstack.org><br>
<b>Date: </b>Monday, June 19, 2017 at 10:33 AM<br>
<b>To: </b>OpenStack List <openstack-dev@lists.openstack.org><br>
<b>Subject: </b>Re: [openstack-dev] [neutron] tempest failures when deploying neutron-server in wsgi with apache<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks. Maybe this would be a good opportunity to just have people start putting everything in neutron.conf if they want to switch to wsgi. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Jun 19, 2017 at 12:21 AM, Matthew Treinish <<a href="mailto:mtreinish@kortar.org" target="_blank">mtreinish@kortar.org</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">On Mon, Jun 19, 2017 at 12:09:12AM -0700, Kevin Benton wrote:<br>
> I've been working on Victor's patch a bit. One thing that isn't clear to me<br>
> is how we can get the neutron.conf options loaded when using WSGI. How are<br>
> other projects doing this?<br>
<br>
Most projects are using a default location, for example:<br>
<br>
<a href="https://review.openstack.org/#/c/459450/11/glance/common/wsgi_app.py" target="_blank">https://review.openstack.org/#/c/459450/11/glance/common/wsgi_app.py</a><br>
<br>
Which IIRC I just looked at how other project's wsgi entrypoints were doing it<br>
when I wrote that. The issue I think we'll hit with Neutron is that by default<br>
we tell everyone to do that annoying multi-file config setup, which makes doing<br>
a default like this difficult. Personally I think we need to change that,<br>
because it's not needed and makes it generally confusing, but even if we did<br>
it wouldn't solve the upgrade path from non-wsgi to wsgi.<br>
<br>
-Matt Treinish<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
><br>
> On Fri, Jun 2, 2017 at 7:44 AM, Emilien Macchi <<a href="mailto:emilien@redhat.com">emilien@redhat.com</a>> wrote:<br>
><br>
> > On Thu, Jun 1, 2017 at 10:28 PM, Morales, Victor<br>
> > <<a href="mailto:victor.morales@intel.com">victor.morales@intel.com</a>> wrote:<br>
> > > Hi Emilien,<br>
> > ><br>
> > > I noticed that the configuration file was created using puppet.  I<br>
> > submitted a patch[1] that was targeting to include the changes in Devstack.<br>
> > My major concern is with the value of WSGIScriptAlias which should be<br>
> > pointing to WSGI script.<br>
> ><br>
> > Thanks for looking, the script that is used is from<br>
> > /usr/bin/neutron-api which is I think correct. If you look at logs,<br>
> > you can see that API actually works but some tempest tests fail<br>
> > though...<br>
> ><br>
> > > Regards/Saludos<br>
> > > Victor Morales<br>
> > ><br>
> > > [1] <a href="https://review.openstack.org/#/c/439191" target="_blank">https://review.openstack.org/#/c/439191</a><br>
> > ><br>
> > > On 5/31/17, 4:40 AM, "Emilien Macchi" <<a href="mailto:emilien@redhat.com">emilien@redhat.com</a>> wrote:<br>
> > ><br>
> > >     Hey folks,<br>
> > ><br>
> > >     I've been playing with deploying Neutron in WSGI with Apache and<br>
> > >     Tempest tests fail on spawning Nova server when creating Neutron<br>
> > >     ports:<br>
> > >     <a href="http://logs.openstack.org/89/459489/4/check/gate-puppet-" target="_blank">http://logs.openstack.org/89/459489/4/check/gate-puppet-</a><br>
> > openstack-integration-4-scenario001-tempest-centos-7/<br>
> > f2ee8bf/console.html#_2017-05-30_13_09_22_715400<br>
> > ><br>
> > >     I haven't found anything useful in neutron-server logs:<br>
> > >     <a href="http://logs.openstack.org/89/459489/4/check/gate-puppet-" target="_blank">http://logs.openstack.org/89/459489/4/check/gate-puppet-</a><br>
> > openstack-integration-4-scenario001-tempest-centos-7/<br>
> > f2ee8bf/logs/apache/neutron_wsgi_access_ssl.txt.gz<br>
> > ><br>
> > >     Before I file a bug in neutron, can anyone look at the logs with me<br>
> > >     and see if I missed something in the config:<br>
> > >     <a href="http://logs.openstack.org/89/459489/4/check/gate-puppet-" target="_blank">http://logs.openstack.org/89/459489/4/check/gate-puppet-</a><br>
> > openstack-integration-4-scenario001-tempest-centos-7/<br>
> > f2ee8bf/logs/apache_config/10-neutron_wsgi.conf.txt.gz<br>
> > ><br>
> > >     Thanks for the help,<br>
> > >     --<br>
> > >     Emilien Macchi<br>
> > ><br>
> > >     ____________________________________________________________<br>
> > ______________<br>
> > >     OpenStack Development Mailing List (not for usage questions)<br>
> > >     Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject</a>:<br>
> > unsubscribe<br>
> > >     <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> > ><br>
> > ><br>
> > > ____________________________________________________________<br>
> > ______________<br>
> > > OpenStack Development Mailing List (not for usage questions)<br>
> > > Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject</a>:<br>
> > unsubscribe<br>
> > > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Emilien Macchi<br>
> ><br>
> > __________________________________________________________________________<br>
> > OpenStack Development Mailing List (not for usage questions)<br>
> > Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> ><br>
<br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>