def pick_glance_api_server():
    host_port = random.choice(FLAGS.glance_api_servers)
    host, port_str = host_port.split(':')
    port = int(port_str)
    return host, port
Return which Glance API server to use for the request
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/image/glance.py/pick_glance_api_server