@task
def drainrestart():
  check_min_healthy_instances(2)
  drain()
  # Stop first to make sure we no longer use the viewfinder init scripts.
  stop()
  restart()
  undrain()
Create a new cloudpipe instance, if none exists.
dataset/ETHPy150Open viewfinderco/viewfinder/fabfile.py/drainrestart--crossover with--dataset/ETHPy150Open openstack/nova/nova/api/openstack/compute/legacy_v2/contrib/cloudpipe.py/CloudpipeController.create