- vim_id = vol["properties"]["location_info"]["vimid"]
- ret = api.create_volume(vim_id, param)
+ set_opt_val(param, "availabilityZone", ignore_case_get(location_info, "availability_zone"))
+ vim_id = location_info["vimid"]
+ tenant_name = location_info["tenant"]
+ tenant_id = get_tenant_id(vim_cache, vim_id, tenant_name)
+ ret = api.create_volume(vim_id, tenant_id, param)
+ do_notify(progress, ret)