Merge "Change the log level and content"

This commit is contained in:
Zuul 2023-07-27 07:38:00 +00:00 committed by Gerrit Code Review
commit 9df66a96fe
1 changed files with 3 additions and 2 deletions

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: