<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello all.<br><br></div>I have a test configuration with 2 nodes that is configured as iSCSI storage.</div><div><br></div><div>I've created a master/slave DRBD resource and a group that has the following resources ordered as follow : <br></div><div> - iSCSI TCP IP/port block (ocf::heartbeat:portblock)<br></div><div> - LVM (ocf::heartbeat:LVM)<br></div><div> - iSCSI IP (ocf::heartbeat:IPaddr2)</div><div> - iSCSI Target (ocf::heartbeat:iSCSITarget) for first LVM partition</div><div> - iSCSI LUN (ocf::heartbeat:iSCSILogicalUnit) for first LVM partition</div><div> - iSCSI Target (ocf::heartbeat:iSCSITarget) for second LVM partition<div> - iSCSI LUN (ocf::heartbeat:iSCSILogicalUnit) for second LVM partition</div><div> - iSCSI Target (ocf::heartbeat:iSCSITarget) for third LVM partition<div> - iSCSI LUN (ocf::heartbeat:iSCSILogicalUnit) for third LVM partition</div><div> - iSCSI TCP IP/port unBlock (ocf::heartbeat:portblock)</div><div><br></div><div>the LVM-iSCSI group has an order constraint on it to start after the DRBD resource as can be seen from pcs constraint list command</div><div><br></div><div>Ordering Constraints:<br>  promote Storage-DRBD then start Storage (kind:Mandatory)<br></div><div>Colocation Constraints:<br>  Storage with Storage-DRBD (score:INFINITY) (with-rsc-role:Master)</div><div><br></div></div></div>All was OK till I've did an update from CentOS 7.3 to 7.4 via yum.</div><div><br></div>After the update every time I start the cluster I get this error:<br><br>Failed Actions:<br>* Storage-LVM_monitor_0 on storage01 'unknown error' (1): call=22, status=complete, exitreason='LVM Volume ClusterDisk is not available',<br>    last-rc-change='Thu Sep 28 19:16:57 2017', queued=0ms, exec=515ms<br>* Storage-LVM_monitor_0 on storage02 'unknown error' (1): call=22, status=complete, exitreason='LVM Volume ClusterDisk is not available',<br>    last-rc-change='Thu Sep 28 19:17:48 2017', queued=0ms, exec=746ms<br><br></div>Even with this error after the DRBD resource start the LVM resource start as it should be on the DRBD master node.<br><br></div>I've did look on both nodes to see if LVM services got started by the system and disabled them and even mask-ed them to be sure that they will not start at all but with this changes I still get this error.<br><br></div>From what I see the cluster service tries to start LVM before the DRBD resource is started and fails as it dose not find the DRBD disk.<br><br></div>Any ideas on how to fix this ?<br><br></div>Best regards <br></div>Octavian Ciobanu<br></div>