mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-21 13:31:43 -07:00
* Skip rescan for partition devices in LVM PV module Adds a check to prevent unnecessary rescan attempts on partition devices in the LVM physical volume module. When a device is actually a partition, attempting to rescan it via sysfs would fail since partitions don't have a rescan interface. This change improves error handling by gracefully skipping the rescan operation when dealing with partition devices, avoiding misleading warning messages. * Rewrote device rescan logic Added changelog fragment * Add issue reference to lvm_pv changelog entry
This commit is contained in:
parent
2321d27288
commit
92ca379319
2 changed files with 19 additions and 4 deletions
3
changelogs/fragments/lvm_pv.yml
Normal file
3
changelogs/fragments/lvm_pv.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
bugfixes:
|
||||
- lvm_pv - properly detect SCSI or NVMe devices to rescan (https://github.com/ansible-collections/community.general/issues/10444, https://github.com/ansible-collections/community.general/pull/10596).
|
Loading…
Add table
Add a link
Reference in a new issue