Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1354001 - iscsi session in the host is not closed after removing a direct lun disk from the env
Summary: iscsi session in the host is not closed after removing a direct lun disk from...
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.0.2
Hardware: Unspecified
OS: Unspecified
medium vote
Target Milestone: ovirt-4.0.2
: ---
Assignee: Allon Mureinik
QA Contact: Aharon Canan
Depends On:
TreeView+ depends on / blocked
Reported: 2016-07-08 16:43 UTC by Carlos Mestre González
Modified: 2016-07-18 14:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-07-08 16:46:23 UTC
oVirt Team: Storage
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?

Attachments (Terms of Use)
enginelog and vdsm.log (deleted)
2016-07-08 16:43 UTC, Carlos Mestre González
no flags Details

Description Carlos Mestre González 2016-07-08 16:43:55 UTC
Created attachment 1177705 [details]
enginelog and vdsm.log

Description of problem:
After removing a direct lun disk from the env, being the only iscsi resource, the iscsi session in the host is not removed.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create a DC, Cluster, with a host and a File domain
2. Add a direct lun disk via Disk -> New Disk -> Log in into the target -> add
3. After adding it, remove that disk

Actual results:
session is open: iscsiadm -m session
tcp: [165],1 (non-flash)

Expected results:
Session is closed (same behaviour as when adding a iscsi storage domain and is removed/put in maintenance, the session is closed).

Additional info:
Putting medium severity, maybe is low?

from the attached logs:
2016-07-08 19:25:23,142 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-1) [64519bbe] Correlation ID: 64519bbe, Job ID: 98a8efd4-0368-46d6-b1d5-e7a86ecf8ce6, Call Stack: null, Custom Event ID: -1, Message: Disk direct_lun_session_disk_test was successfully removed (User admin@internal-authz).
2016-07-08 19:25:23,150 INFO  [] (org.ovirt.thread.pool-6-thread-1) [64519bbe] Lock freed to object 'EngineLock:{exclusiveLocks='[929bafa4-7446-44c1-bc8c-405e2390d973=<DISK, ACTION_TYPE_FAILED_DISK_IS_BEING_REMOVED$DiskName direct_lun_session_disk_test>]', sharedLocks='null'}'

Comment 1 Carlos Mestre González 2016-07-08 16:46:23 UTC
Sorry, according to the test plan the session must be open.

Comment 2 Ala Hino 2016-07-18 14:48:57 UTC
Cancelling the NEEDINFO

Note You need to log in before you can comment on or make changes to this bug.