Bug 1422959 - iscsi or iser targets are not detached from the host in the maintenance mode
Summary: iscsi or iser targets are not detached from the host in the maintenance mode
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.19.4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Nir Soffer
QA Contact: Avihai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-16 16:33 UTC by Arman
Modified: 2020-06-26 16:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-01 14:47:10 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.3+
sbonazzo: ovirt-4.5?


Attachments (Terms of Use)

Description Arman 2017-02-16 16:33:52 UTC
In ovirt 4.1 when I put the host into maintenance mode then the nfs mounts are unmounted as expected.
but the hosts are still logged into the targets.

The test disks are not attached to any virtual machine. nothing done on the hosts.
 I just saw that the all test LUNs are still logged into target side so I went to the host(it was in the maintenance ) all disks are still there.

I just managing everything over the web gui:
Select host as SPM, then disks->new->directLUN->discovertargets->login->ok
on the host the disks are visible.
iscsiadm -m session -o show
tcp: [6] 10.10.10.35:3260,1 iqn.2003-01.org.linux-iscsi.c1701.x8664:sn.5b791971cd78 (non-flash)

Putting host to maintenance:
the disks are still there:
lsscsi
[0:0:0:0]    disk    ATA      ST3500630NS      K     /dev/sda
[11:0:0:0]   disk    LIO-ORG  c1701iser        4.0   /dev/sdb
[11:0:0:1]   disk    LIO-ORG  c1701iser32k     4.0   /dev/sdc

activating deactivating the host does not change situation.

I dont see any attempt of vdsm to logout the disks. I can see in the vdsmd.logs that "[storage.Mount] unmounting /rhev/data-center/mnt/......" unmounting the nfs part but nothing from [storage.ISCSI]

Comment 1 Sandro Bonazzola 2019-01-28 09:37:02 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

Comment 2 Michal Skrivanek 2020-03-19 15:41:21 UTC
We didn't get to this bug for more than 2 years, and it's not being considered for the upcoming 4.4. It's unlikely that it will ever be addressed so I'm suggesting to close it.
If you feel this needs to be addressed and want to work on it please remove cond nack and target accordingly.

Comment 3 Michal Skrivanek 2020-04-01 14:47:10 UTC
Closing old bug. Please reopen if still relevant/you want to work on it.


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