libvirt: change "Ignoring supplied device name" warning to info
This doesn't need to be a warning that only the operator sees in the nova-compute logs. The operator can't do anything about it since the REST API user is the one passing in a device name when attaching a volume to their server. So let's just change the warning to an info level message. We already have documentation stating that the device parameter is ignored by some compute drivers. Change-Id: If2dd8d0a3992ccf4bd9aa01978b7c91897e2eb59
This commit is contained in:
parent
e27905f482
commit
de2baafbc0
|
@ -8922,7 +8922,7 @@ class LibvirtDriver(driver.ComputeDriver):
|
|||
# will assign them
|
||||
for bdm in block_device_mapping:
|
||||
if bdm.device_name is not None:
|
||||
LOG.warning(
|
||||
LOG.info(
|
||||
"Ignoring supplied device name: %(device_name)s. "
|
||||
"Libvirt can't honour user-supplied dev names",
|
||||
{'device_name': bdm.device_name}, instance=instance)
|
||||
|
@ -8944,7 +8944,7 @@ class LibvirtDriver(driver.ComputeDriver):
|
|||
|
||||
suggested_dev_name = block_device_obj.device_name
|
||||
if suggested_dev_name is not None:
|
||||
LOG.warning(
|
||||
LOG.info(
|
||||
'Ignoring supplied device name: %(suggested_dev)s',
|
||||
{'suggested_dev': suggested_dev_name}, instance=instance)
|
||||
|
||||
|
|
Loading…
Reference in New Issue