<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <b><br>
    </b><b>Can we share the iSCSI data storage domain across multiple
      clusters in the same datacenter?</b><br>
    <br>
    Following are the setup details which I tried.<br>
    <blockquote>-&nbsp;&nbsp;&nbsp; One datacenter, Say DC1<br>
      -&nbsp;&nbsp;&nbsp; in DC1, two clusters, say CL1 and CL2<br>
      -&nbsp;&nbsp;&nbsp; In CL1, one host, say H1. And in CL2 one host, say H2<br>
      -&nbsp;&nbsp;&nbsp; iSCSI Data Storage domain is configured where external
      storage LUNs are exported to host H1(A host in CL1 of Datacenter).
      <br>
    </blockquote>
    <br>
    While adding H1 to CL1 is succeeded; addition of H2 in CL2 is
    failing with following error in vdsm.log.<br>
    <blockquote><font color="#000099"><tt>Traceback (most recent call
          last):</tt><tt><br>
        </tt><tt>&nbsp; File "/usr/share/vdsm/storage/task.py", line 873, in
          _run</tt><tt><br>
        </tt><tt>&nbsp;&nbsp;&nbsp; return fn(*args, **kargs)</tt><tt><br>
        </tt><tt>&nbsp; File "/usr/share/vdsm/logUtils.py", line 45, in
          wrapper</tt><tt><br>
        </tt><tt>&nbsp;&nbsp;&nbsp; res = f(*args, **kwargs)</tt><tt><br>
        </tt><tt>&nbsp; File "/usr/share/vdsm/storage/hsm.py", line 1020, in
          connectStoragePool</tt><tt><br>
        </tt><tt>&nbsp;&nbsp;&nbsp; spUUID, hostID, msdUUID, masterVersion, domainsMap)</tt><tt><br>
        </tt><tt>&nbsp; File "/usr/share/vdsm/storage/hsm.py", line 1091, in
          _connectStoragePool</tt><tt><br>
        </tt><tt>&nbsp;&nbsp;&nbsp; res = pool.connect(hostID, msdUUID, masterVersion)</tt><tt><br>
        </tt><tt>&nbsp; File "/usr/share/vdsm/storage/sp.py", line 630, in
          connect</tt><tt><br>
        </tt><tt>&nbsp;&nbsp;&nbsp; self.__rebuild(msdUUID=msdUUID,
          masterVersion=masterVersion)</tt><tt><br>
        </tt><tt>&nbsp; File "/usr/share/vdsm/storage/sp.py", line 1153, in
          __rebuild</tt><tt><br>
        </tt><tt>&nbsp;&nbsp;&nbsp; self.setMasterDomain(msdUUID, masterVersion)</tt><tt><br>
        </tt><tt>&nbsp; File "/usr/share/vdsm/storage/sp.py", line 1360, in
          setMasterDomain</tt><tt><br>
        </tt><tt>&nbsp;&nbsp;&nbsp; raise se.StoragePoolMasterNotFound(self.spUUID,
          msdUUID)</tt><tt><br>
        </tt><tt>StoragePoolMasterNotFound: Cannot find master domain:
          'spUUID=a4dfaf64-adfa-4cfa-88d5-986fbdb2b2b2,
          msdUUID=741f7913-09ad-4d96-a225-3bda6d06e042'</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,780::task::885::TaskManager.Task::(_run)
          Task=`07997682-8d6b-42fd-acb3-1360f14860d6`::Task._run:
          07997682-8d6b-42fd-acb3-1360f14860d6
          ('a4dfaf64-adfa-4cfa-88d5-986fbdb2b2b2', 2,
          '741f7913-09ad-4d96-a225-3bda6d06e042', 1, None) {} failed -
          stopping task</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,780::task::1211::TaskManager.Task::(stop)
          Task=`07997682-8d6b-42fd-acb3-1360f14860d6`::stopping in state
          preparing (force False)</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,780::task::990::TaskManager.Task::(_decref)
          Task=`07997682-8d6b-42fd-acb3-1360f14860d6`::ref 1 aborting
          True</tt><tt><br>
        </tt><b><font color="#cc0000"><tt>Thread-13::<a class="moz-txt-link-freetext" href="INFO::2014-07-30">INFO::2014-07-30</a>
              15:24:49,780::task::1168::TaskManager.Task::(prepare)
              Task=`07997682-8d6b-42fd-acb3-1360f14860d6`::aborting:
              Task is aborted: 'Cannot find master domain' - code 304</tt></font></b><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,781::task::1173::TaskManager.Task::(prepare)
          Task=`07997682-8d6b-42fd-acb3-1360f14860d6`::Prepare: aborted:
          Cannot find master domain</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,781::task::990::TaskManager.Task::(_decref)
          Task=`07997682-8d6b-42fd-acb3-1360f14860d6`::ref 0 aborting
          True</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,781::task::925::TaskManager.Task::(_doAbort)
          Task=`07997682-8d6b-42fd-acb3-1360f14860d6`::Task._doAbort:
          force False</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,781::resourceManager::977::ResourceManager.Owner::(cancelAll)
          Owner.cancelAll requests {}</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,781::task::595::TaskManager.Task::(_updateState)
          Task=`07997682-8d6b-42fd-acb3-1360f14860d6`::moving from state
          preparing -&gt; state aborting</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,781::task::550::TaskManager.Task::(__state_aborting)
          Task=`07997682-8d6b-42fd-acb3-1360f14860d6`::_aborting:
          recover policy none</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,782::task::595::TaskManager.Task::(_updateState)
          Task=`07997682-8d6b-42fd-acb3-1360f14860d6`::moving from state
          aborting -&gt; state failed</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,782::resourceManager::940::ResourceManager.Owner::(releaseAll)
          Owner.releaseAll requests {} resources {}</tt><tt><br>
        </tt><tt>Thread-13::DEBUG::2014-07-30
          15:24:49,782::resourceManager::977::ResourceManager.Owner::(cancelAll)
          Owner.cancelAll requests {}</tt><tt><br>
        </tt><tt>Thread-13::ERROR::2014-07-30
          15:24:49,782::dispatcher::65::Storage.Dispatcher.Protect::(run)
          {'status': {'message': "Cannot find master domain:
          'spUUID=a4dfaf64-adfa-4cfa-88d5-986fbdb2b2b2,
          msdUUID=741f7913-09ad-4d96-a225-3bda6d06e042'", 'code': 304}}</tt></font><tt><br>
      </tt><br>
    </blockquote>
    <u><b>Please advise if I need to have one Storage Domain per cluster
        in given datacenter.</b></u><br>
    <br>
    Thanks, Santosh.<br>
    <br>
  </body>
</html>


<pre>

***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**********************************************************************</pre>