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.
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
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
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