Change the log level and content

Change-Id: I069b555489bdd35834ca6cbc57827dc50027b1cd
This commit is contained in:
songwenping 2023-07-26 19:37:22 +08:00
parent 4d329240f9
commit a34fe93ce9

View File

@ -214,8 +214,9 @@ def _get_vgpu_type_per_pgpu(device_address, supported_vgpu_types,
supported_vgpu_types, pgpu_type_mapping = _get_supported_vgpu_types()
# Bail out quickly if we don't support vGPUs
if not supported_vgpu_types:
LOG.error('Unable to load vGPU_type from [gpu_devices] '
'Ensure "enabled_vgpu_types" is set.')
LOG.warning('Unable to load vGPU_type from [gpu_devices] '
'Ensure "enabled_vgpu_types" is set if the gpu'
'is virtualized.')
return
try: