[08:41:39] <_joe_> federico3: I would consider a better proof of depooling doing a check with the load-balancer, if you need to do fast-paced operations where we could have a small window in which the etcd change hasn't been fully applied to the load-balancers by the control plane, and/or a non-functional control plane for $reasons [08:42:56] how can you check the load balancer running conf? [08:45:38] <_joe_> see the cookbook cookbooks/sre/loadbalancer/restart-pybal.py [08:45:59] <_joe_> ah no wait, it's another one [08:46:01] <_joe_> one sec [08:48:42] <_joe_> it's actually in puppet [08:49:46] <_joe_> modules/conftool/files/safe-service-restart.py [08:50:31] <_joe_> there's a lot of logic around verifying something is actually depooled. It only supports *pybal* though, I should probably generalize it to a "loadbalancer" interface in spicerack [08:54:15] <_joe_> basically, on pybal, you can gather its state by fetching [08:54:18] <_joe_> curl -H 'Accept: application/json' lvs1019:9090/pools/swift-https_443 [08:54:21] <_joe_> for instance [09:17:41] sounds like we need an API :)