multipath iscsi sessions and device mapper entries are left behind when disconnecting volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On the Kilo stable branch sometimes after running the full tempest test suite there are entries left behind from cinder such as:
stack@devstack:
tcp: [135] 10.0.5.10:3260,1 iqn.2010-
tcp: [136] 10.0.1.11:3260,1 iqn.2010-
tcp: [137] 10.0.5.11:3260,1 iqn.2010-
stack@devstack:
3624a93709a738e
size=20G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=enabled
|- #:#:#:# - #:# active undef running
`- #:#:#:# - #:# active undef running
3624a93709a738e
size=20G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=active
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
`- #:#:#:# - #:# active undef running
3624a93709a738e
size=20G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=active
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
`- #:#:#:# - #:# active undef running
3624a93709a738e
size=20G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=active
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
`- #:#:#:# - #:# active undef running
3624a93709a738e
size=20G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=active
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
`- #:#:#:# - #:# active undef running
3624a93709a738e
size=20G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=active
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
`- #:#:#:# - #:# active undef running
3624a93709a738e
size=20G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=active
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
`- #:#:#:# - #:# active undef running
3624a93709a738e
size=20G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=active
|- #:#:#:# - #:# active undef running
`- #:#:#:# - #:# active undef running
3624a93709a738e
size=20G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=active
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
`- #:#:#:# - #:# active undef running
3624a93709a738e
size=20G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=active
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
|- #:#:#:# - #:# active undef running
`- #:#:#:# - #:# active undef running
This is showing that there are quite a few 'orphaned' multipath entries and some iscsi sessions that did not properly get cleaned up. These appear to be intermittent issues, but can lead to errors such as:
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
2015-10-03 05:37:15.939 TRACE oslo_messaging.
Because the sessions get left in an error state if not logged out and disconnected by the target array (once terminate_
These errors are not observed in the liberty release so the latest changes and bug fixes for os-brick seem to have corrected this behavior.
Changed in cinder: | |
assignee: | nobody → Patrick East (patrick-east) |
Changed in cinder: | |
assignee: | nobody → Gorka Eguileor (gorka) |
Change abandoned by Patrick East (<email address hidden>) on branch: stable/kilo /review. openstack. org/230781 /review. openstack. org/#/q/ status: open+project: openstack/ cinder+ branch: stable/ kilo+topic: multipath- iscsi-cleanup, n,z for the full list.
Review: https:/
Reason: I've split this up into each single back-port, please see https:/