Fix discovering WWN/serial for devicemapper devices
UDev prefix is DM_ not ID_ for them. On top of that, they don't have short serials (or at least don't always have). Change-Id: I5b6075fbff72201a2fd620f789978acceafc417b (cherry picked from commit 69e22545)
Showing
- ironic_python_agent/hardware.py 15 additions, 7 deletionsironic_python_agent/hardware.py
- ironic_python_agent/tests/unit/test_hardware.py 12 additions, 9 deletionsironic_python_agent/tests/unit/test_hardware.py
- releasenotes/notes/multipath-serial-615fc925984abbf7.yaml 4 additions, 0 deletionsreleasenotes/notes/multipath-serial-615fc925984abbf7.yaml
Please register or sign in to comment