Valentin Vidic
2018-08-22 13:24:24 UTC
Hi,
Any idea why would Xen occasionally fail to release the block
device on shutdown?
Aug 21 22:56:00 node1 root: /etc/xen/scripts/block-drbd: remove XENBUS_PATH=backend/vbd/6/51712
Aug 21 22:56:00 node1 kernel: [ 2222.278235] block drbd6: State change failed: Device is held open by someone
Aug 21 22:56:00 node1 kernel: [ 2222.278304] block drbd6: state = { cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate r----- }
Aug 21 22:56:00 node1 kernel: [ 2222.278340] block drbd6: wanted = { cs:Connected ro:Secondary/Secondary ds:UpToDate/UpToDate r----- }
Aug 21 22:56:00 node1 root: /etc/xen/scripts/block-drbd: Writing backend/vbd/6/51712/hotplug-error /etc/xen/scripts/block-drbd failed; error detected. backend/vbd/6/51712/hotplug-status error to xenstore.
Aug 21 22:56:00 node1 root: /etc/xen/scripts/block-drbd: /etc/xen/scripts/block-drbd failed; error detected.
It seems like /etc/xen/scripts/block-drbd is called a bit too early just
sometimes. This is Xen 4.8.4 with DRBD 8.9.10 from Debian stretch.
Any idea why would Xen occasionally fail to release the block
device on shutdown?
Aug 21 22:56:00 node1 root: /etc/xen/scripts/block-drbd: remove XENBUS_PATH=backend/vbd/6/51712
Aug 21 22:56:00 node1 kernel: [ 2222.278235] block drbd6: State change failed: Device is held open by someone
Aug 21 22:56:00 node1 kernel: [ 2222.278304] block drbd6: state = { cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate r----- }
Aug 21 22:56:00 node1 kernel: [ 2222.278340] block drbd6: wanted = { cs:Connected ro:Secondary/Secondary ds:UpToDate/UpToDate r----- }
Aug 21 22:56:00 node1 root: /etc/xen/scripts/block-drbd: Writing backend/vbd/6/51712/hotplug-error /etc/xen/scripts/block-drbd failed; error detected. backend/vbd/6/51712/hotplug-status error to xenstore.
Aug 21 22:56:00 node1 root: /etc/xen/scripts/block-drbd: /etc/xen/scripts/block-drbd failed; error detected.
It seems like /etc/xen/scripts/block-drbd is called a bit too early just
sometimes. This is Xen 4.8.4 with DRBD 8.9.10 from Debian stretch.
--
Valentin
Valentin