LIO target needs better detection for broken targets

Bug #1705292 reported by Eric Harney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Eric Harney

Bug Description

There are cases where ensure_export() in LIO does not do the right thing, particularly after a system reboot where the LVM VG and LVs may not be in the expected state, but the LIO targets have been restored.

ensure_export() does a self._get_targets() and does not detect if the target "exists" in LIO/targetcli but does not have a block backstore attached to it.

Something in this path needs to detect that the target is missing its backstore and recreate it.

Tags: drivers lio lvm
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.