<div dir="ltr">Generally loadbalancer will have the following options<div><br><div></div><div>enable - configurationally enable</div><div>disable - configurationally disable</div><div><br></div><div>up - status alive</div>
<div>down - status down</div></div><div><br></div><div>If we have the above it will be meaningful to get actual status of the object.</div><div><br></div><div>Thanks,</div><div>-Ravi.</div><div><br></div><div><br></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 29, 2013 at 4:33 PM, Itsuro ODA <span dir="ltr"><<a href="mailto:oda@valinux.co.jp" target="_blank">oda@valinux.co.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I think "INACTIVE" is right for resources with admin_statu_up False.<br>
<br>
BTW, there are following requirements:<br>
* Change to ACTIVE from PENDING_CREATE/UPDATE when the serives<br>
is available actually. (ie. after lbaas_agent done the job.)<br>
* Reflect a member is alive or not to the 'status' attribute of<br>
member resource. (ie. if a member is not alive, the status is<br>
"DOWN".)<br>
<br>
Note that we are planning to implement above requiremants to LVS<br>
driver.<br>
<br>
Thanks,<br>
Itsuro Oda<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, 29 Oct 2013 13:19:16 +0400<br>
Eugene Nikanorov <<a href="mailto:enikanorov@mirantis.com">enikanorov@mirantis.com</a>> wrote:<br>
<br>
> Hi folks,<br>
><br>
> Currently there are two attributes of vips/pools/members that represent a<br>
> status: 'status' and 'admin_state_up'.<br>
><br>
> The first one is used to represent deployment status and can be<br>
> PENDING_CREATE, ACTIVE, PENDING_DELETE, ERROR.<br>
> We also have admin_state_up which could be True or False.<br>
><br>
> I'd like to know your opinion on how to change 'status' attribute based on<br>
> admin_state_up changes.<br>
> For instance. If admin_state_up is updated to be False, how do you think<br>
> 'status' should change?<br>
><br>
> Also, speaking of reference implementation (HAProxy), changing vip or pool<br>
> admin_state_up to False effectively destroys the balancer (undeploys it),<br>
> while the objects remain in ACTIVE state.<br>
> There are two options to fix this discrepancy:<br>
> 1) Change status of vip/pool to PENDING_CREATE if admin_state_up changes to<br>
> False<br>
> 2) Don't destroy the loadbalancer and use HAProxy capability to disable<br>
> frontend and backend while leave vip/pool in ACTIVE state<br>
><br>
> Please share your opinion.<br>
><br>
> Thanks,<br>
> Eugene.<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Itsuro ODA <<a href="mailto:oda@valinux.co.jp">oda@valinux.co.jp</a>><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ravi<br>
</div>