def disable_nova_config_drive(get_env):
    # WA for bug https://bugs.launchpad.net/mos/+bug/1589460/
    # This should be removed in MOS 10.0
    config = [('DEFAULT', 'force_config_drive', False)]
    env = get_env()
    for step in service.nova_patch(env, config):
        yield step
def set_recl_inst_interv(env, request):
    interv_sec = request.param  # reclaim_instance_interval
    config = [('DEFAULT', 'reclaim_instance_interval', interv_sec)]
    for step in service.nova_patch(env, config):
        yield step