<div dir="ltr">Hi folks,<div><br></div><div>Currently there are two attributes of vips/pools/members that represent a status: 'status' and 'admin_state_up'.</div><div><br></div><div>The first one is used to represent deployment status and can be PENDING_CREATE, ACTIVE, PENDING_DELETE, ERROR.</div>
<div>We also have admin_state_up which could be True or False.</div><div><br></div><div>I'd like to know your opinion on how to change 'status' attribute based on admin_state_up changes.</div><div>For instance. If admin_state_up is updated to be False, how do you think 'status' should change?</div>
<div><br></div><div>Also, speaking of reference implementation (HAProxy), changing vip or pool admin_state_up to False effectively destroys the balancer (undeploys it), while the objects remain in ACTIVE state.</div><div>
There are two options to fix this discrepancy:</div><div>1) Change status of vip/pool to PENDING_CREATE if admin_state_up changes to False</div><div>2) Don't destroy the loadbalancer and use HAProxy capability to disable frontend and backend while leave vip/pool in ACTIVE state</div>
<div><br></div><div>Please share your opinion.</div><div><br></div><div>Thanks,</div><div>Eugene.</div></div>