Comment 15 for bug 1901783

Revision history for this message
Lee Yarwood (lyarwood) wrote :

I'm still seeing this on master, for example:

https://zuul.opendev.org/t/openstack/build/ebdd70c78b97462a933f58fc31adff05/log/controller/logs/screen-c-vol.txt#6684

May 20 20:08:52.251811 ubuntu-focal-inap-mtl01-0024757875 cinder-volume[194862]: Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvdisplay --noheading -C -o Attr stack-volumes-lvmdriver-1/volume-e2706dc2-1f26-4296-89f8-3944eed092f0
May 20 20:08:52.251811 ubuntu-focal-inap-mtl01-0024757875 cinder-volume[194862]: Exit code: 139
May 20 20:08:52.251811 ubuntu-focal-inap-mtl01-0024757875 cinder-volume[194862]: Stdout: ''
May 20 20:08:52.251811 ubuntu-focal-inap-mtl01-0024757875 cinder-volume[194862]: Stderr: ' WARNING: Failed to get udev device handler for device /dev/sdb1.\n /dev/sdb15: stat failed: No such file or directory\n Path /dev/sdb15 no longer valid for device(8,31)\n /dev/sdb15: stat failed: No such file or directory\n Path /dev/sdb15 no longer valid for device(8,31)\n Device open /dev/sdb 8:16 failed errno 2\n Device open /dev/sdb 8:16 failed errno 2\n Device open /dev/sdb1 8:17 failed errno 2\n Device open /dev/sdb1 8:17 failed errno 2\n WARNING: Scan ignoring device 8:16 with no paths.\n WARNING: Scan ignoring device 8:17 with no paths.\n'

Looks like this is also required around all of the lvdisplay commands?

https://opendev.org/openstack/cinder/src/branch/master/cinder/brick/local_dev/lvm.py#L773