RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 868681 - [RACE]: Error in forceIScsiScan when putting hsm host in maintenance and deactivating domains at the same time (disconnect storage server is failing)
Summary: [RACE]: Error in forceIScsiScan when putting hsm host in maintenance and deac...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.3
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: 6.3
Assignee: Yeela Kaplan
QA Contact: Leonid Natapov
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-21 17:14 UTC by Dafna Ron
Modified: 2022-07-09 05:40 UTC (History)
18 users (show)

Fixed In Version: vdsm-4.9.6-41.0
Doc Type: Bug Fix
Doc Text:
Previously, due to a race condition, an exception error would sometimes occur in forceIScsiScan when attempting to put a host containing the host storage manager into maintenance mode and deactivating the attached storage domains. This caused the deactivation to fail and also caused problems when attempting to reactivate the domain. The race issue has been corrected to prevent exception errors when forceIScsiScan is used.
Clone Of:
Environment:
Last Closed: 2012-12-04 19:13:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (1.27 MB, application/x-gzip)
2012-10-21 17:14 UTC, Dafna Ron
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1508 0 normal SHIPPED_LIVE Important: rhev-3.1.0 vdsm security, bug fix, and enhancement update 2012-12-04 23:48:05 UTC

Description Dafna Ron 2012-10-21 17:14:19 UTC
Created attachment 630944 [details]
logs

Description of problem:

we get Error in forceIScsiScan when we put hsm host in maintenance and deactivating storage domains. 

event logs will show first: 

Failed to deactivate Storage Domain Dafna_New2 (Data Center iSCSI). (User: admin@internal)

and then we will deactivate the domains since it is not visible by the host:

Storage Domain Dafna_New2 (Data Center iSCSI) was deactivated by system because it's not visible by any of the hosts. 

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

si21.1

How reproducible:

30%

Steps to Reproduce:
1. have at least two hosts with a lot of iscsi domains.
2. start putting domains in maintenance + put the hsm hosts in maintenance. 
3.
  
Actual results:

we get Error in forceIScsiScan 
domains was disconnected and will be deactivated since the host cannot connect to it 

Expected results:

we should be able to put the hsm in maintenance and deactivate domains with no issues. 

Additional info:logs

Comment 2 Yeela Kaplan 2012-10-25 15:50:27 UTC
http://gerrit.ovirt.org/#/c/8820/

Comment 7 Daniel Paikov 2012-11-06 16:32:17 UTC
Checked on si24.

Comment 8 vvyazmin@redhat.com 2012-11-06 17:26:47 UTC
Verified on RHEVM 3.1 - SI24

RHEVM: rhevm-3.1.0-26.el6ev.noarch
VDSM: vdsm-4.9.6-41.0.el6_3.x86_64
LIBVIRT: libvirt-0.9.10-21.el6_3.5.x86_64
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.295.el6_3.4.x86_64
SANLOCK: sanlock-2.3-4.el6_3.x86_64

Comment 10 errata-xmlrpc 2012-12-04 19:13:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1508.html


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