<div dir="ltr">On Thu, Sep 14, 2017 at 6:05 PM, Lingxian Kong <span dir="ltr"><<a href="mailto:anlin.kong@gmail.com" target="_blank">anlin.kong@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:monospace,monospace">BTW, may I ask if Heat(master) already supports Octavia V2 API? If no, is there anyone working on that or it's on the TODO list? Thanks!</div></div><div class="gmail_extra"><br clear="all"></div></blockquote><div><br></div><div><div>I think the current support is limited to neutron LBaaS v2.0  
extension[1]. Looks like Octavia v2.0 API [2] is a superset of that.<br><br></div>No, we don't have anyone working on it atm. <br><br>[1] <a href="https://developer.openstack.org/api-ref/network/v2/index.html#load-balancer-as-a-service">https://developer.openstack.org/api-ref/network/v2/index.html#load-balancer-as-a-service</a><br><br>[2] <a href="https://developer.openstack.org/api-ref/load-balancer/v2/index.html">https://developer.openstack.org/api-ref/load-balancer/v2/index.html</a> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra"><div><div class="gmail-m_-983434741944415763gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font face="arial, helvetica, sans-serif"><br>Cheers,<br>Lingxian Kong (Larry)</font></div></div></div></div></div></div></div></div></div></div><div><div class="gmail-h5">
<br><div class="gmail_quote">On Thu, Sep 14, 2017 at 6:11 PM,  <span dir="ltr"><<a href="mailto:mihaela.balas@orange.com" target="_blank">mihaela.balas@orange.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-983434741944415763m_5682331377188761293WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Are there any plans to fix this in Heat?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Thank you,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Mihaela Balas<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif""> Rabi Mishra [mailto:<a href="mailto:ramishra@redhat.com" target="_blank">ramishra@redhat.com</a>]
<br>
<b>Sent:</b> Wednesday, July 26, 2017 3:43 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [octavia][heat] Octavia deployment with Heat<u></u><u></u></span></p><div><div class="gmail-m_-983434741944415763h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Jul 26, 2017 at 5:34 PM, <<a href="mailto:mihaela.balas@orange.com" target="_blank">mihaela.balas@orange.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Is Octavia (Ocata version) supposed to work with Heat (tested with Newton version) deployment? I launch a Heat stack trying to deploy a load balancer with a single listener/pool
 and two members. While the Heat shows status COMPLETE and the Neutron shows all objects as created, Octavia creates the listener, the pool but with a single member (instead of two).
<u></u><u></u></p>
<p class="MsoNormal">Another example: I launch a Heat stack trying to deploy a load balancer with a multiple listeners/pools each having two members. The results is that Heat shows status COMPLETE and
 the Neutron shows all objects as created, Octavia creates the listeners, but only some of the pools and for those pool creates only one member or none.<u></u><u></u></p>
<p class="MsoNormal">In the Octavia log I could see only these type of errors:<u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">Sounds like <a href="https://bugs.launchpad.net/heat/+bug/1632054" target="_blank">
https://bugs.launchpad.net/hea<wbr>t/+bug/1632054</a>.  <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">We just check provisioning_status of the loadbalancer when adding members and mark the resource as CREATE_COMPLETE.  I think octavia had added provisioning_status for all top level objects like listener etc[1],
 but I don't think those attributes are available with lbaasv2 api for us to check.<br>
<br>
[1] <a href="https://review.openstack.org/#/c/372791/" target="_blank">https://review.openstack.org/#<wbr>/c/372791/</a><u></u><u></u></p>
</div>
<blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">2017-07-26 08:12:08.639 1 INFO octavia.api.v1.controllers.mem<wbr>ber [req-749be397-dd63-4fb6-9d86-b<wbr>717f6d59e3d - 989bbadfe4134722b478ca79921783<wbr>3e - default default] Member cannot be
 created or modified because the Load Balancer is in an immutable state<u></u><u></u></p>
<p class="MsoNormal">2017-07-26 08:12:08.698 1 DEBUG wsme.api [req-749be397-dd63-4fb6-9d86-b<wbr>717f6d59e3d - 989bbadfe4134722b478ca79921783<wbr>3e - default default] Client-side error: Load Balancer b12a29db-81d0-451a-af9c-d563b6<wbr>36bf01
 is immutable and cannot be updated. format_exception /opt/octavia/lib/python2.7/sit<wbr>e-packages/wsme/api.py:222<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I think what happens is that it takes some time until the configuration is updated on an amphora and during that time the Load Balancer is in UPDATE state and new configuration
 cannot be added.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Is this scenario validated or it is still work in progress?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Mihaela Balas<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<pre>______________________________<wbr>______________________________<wbr>______________________________<wbr>______________________________<wbr>_<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc<u></u><u></u></pre>
<pre>pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler<u></u><u></u></pre>
<pre>a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,<u></u><u></u></pre>
<pre>Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre>This message and its attachments may contain confidential or privileged information that may be protected by law;<u></u><u></u></pre>
<pre>they should not be distributed, used or copied without authorisation.<u></u><u></u></pre>
<pre>If you have received this email in error, please notify the sender and delete this message and its attachments.<u></u><u></u></pre>
<pre>As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.<u></u><u></u></pre>
<pre>Thank you.<u></u><u></u></pre>
</div>
<p class="MsoNormal" style="margin-bottom:12pt"><br>
______________________________<wbr>______________________________<wbr>______________<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.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</div></div></div><div><div class="gmail-m_-983434741944415763h5">
<pre>______________________________<wbr>______________________________<wbr>______________________________<wbr>______________________________<wbr>_

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></div></div>

<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
<br></blockquote></div><br></div></div></div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div>Rabi Mishra<div><br></div></div></div></div></div>
</div></div>