<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body style="font-family: sans-serif; font-size: 16px;" text="#000000"
    bgcolor="#FFFFFF">
    <div id="QCMcontainer"
      style="font-family:sans-serif;font-size:16px;">Hi all<br>
      <br>
      Another problem with SD (those SD drive me crazy !)<br>
      <br>
      I've attached the Export Domain to a Local domain and succesfully
      exported a VM<br>
      <br>
      Then I've placed the Export SD in Maintenance <br>
      <br>
      Then I asked oVirt to Detach the Domain and that seems impossible<br>
      <br>
      I see the mount point has been unomunted on the node but oVirt
      doesn't mark the SD as unattached ...<br>
      <br>
      I tried to reacttivate it with non luck (it's not mounted at the
      moment)<br>
      <br>
      Andy advice about how to get Export domain available again?<br>
      <br>
      I'm on Fedora 18<br>
      <br>
      Here is the log<br>
      <br>
      2013-06-06 13:03:12,676 INFO&nbsp;
      [org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand]
      (pool-3-thread-50) [59909ba8] Running command:
      DetachStorageDomainFromPoolCommand internal: false. Entities
      affected :&nbsp; ID: e79cd423-ae17-4f8b-9f53-28d851cc9822 Type: Storage<br>
      2013-06-06 13:03:12,676 INFO&nbsp;
      [org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand]
      (pool-3-thread-50) [59909ba8] Start detach storage domain<br>
      2013-06-06 13:03:12,684 INFO&nbsp;
      [org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand]
      (pool-3-thread-50) [59909ba8]&nbsp; Detach storage domain: before
      connect<br>
      2013-06-06 13:03:12,689 INFO&nbsp;
      [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
      (pool-3-thread-47) [69a827a7] START,
      ValidateStorageServerConnectionVDSCommand(HostName = nodo1, HostId
      = 3156bdac-ebfb-44cf-bea6-53d668b74a10, storagePoolId =
      00000000-0000-0000-0000-000000000000, storageType = NFS,
      connectionList = [{ id: 45085cbf-da10-4852-9d85-754707d20a92,
      connection: 172.16.0.5:/home/external/migration, iqn: null,
      vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans:
      null, nfsTimeo: null };]), log id: 1b41b932<br>
      2013-06-06 13:03:12,695 INFO&nbsp;
      [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
      (pool-3-thread-47) [69a827a7] FINISH,
      ValidateStorageServerConnectionVDSCommand, return:
      {45085cbf-da10-4852-9d85-754707d20a92=0}, log id: 1b41b932<br>
      2013-06-06 13:03:12,695 INFO&nbsp;
      [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand]
      (pool-3-thread-47) [69a827a7] Running command:
      ConnectStorageToVdsCommand internal: true. Entities affected :&nbsp;
      ID: aaa00000-0000-0000-0000-123456789aaa Type: System<br>
      2013-06-06 13:03:12,697 INFO&nbsp;
      [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
      (pool-3-thread-47) [69a827a7] START,
      ConnectStorageServerVDSCommand(HostName = nodo1, HostId =
      3156bdac-ebfb-44cf-bea6-53d668b74a10, storagePoolId =
      00000000-0000-0000-0000-000000000000, storageType = NFS,
      connectionList = [{ id: 45085cbf-da10-4852-9d85-754707d20a92,
      connection: 172.16.0.5:/home/external/migration, iqn: null,
      vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans:
      null, nfsTimeo: null };]), log id: 3f7041da<br>
      2013-06-06 13:03:12,738 INFO&nbsp;
      [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
      (pool-3-thread-47) [69a827a7] FINISH,
      ConnectStorageServerVDSCommand, return:
      {45085cbf-da10-4852-9d85-754707d20a92=100}, log id: 3f7041da<br>
      2013-06-06 13:03:12,739 ERROR
      [org.ovirt.engine.core.bll.storage.NFSStorageHelper]
      (pool-3-thread-47) [69a827a7] The connection with details
      172.16.0.5:/home/external/migration failed because of error code
      100 and error message is: generalexception<br>
      2013-06-06 13:03:12,741 ERROR
      [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand]
      (pool-3-thread-47) [69a827a7] Transaction rolled-back for command:
      org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand.<br>
      2013-06-06 13:03:12,741 INFO&nbsp;
      [org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand]
      (pool-3-thread-50) [59909ba8]&nbsp; Detach storage domain: after
      connect<br>
      2013-06-06 13:03:12,742 INFO&nbsp;
      [org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand]
      (pool-3-thread-50) [59909ba8] START,
      DetachStorageDomainVDSCommand( storagePoolId =
      d76c9edf-34cb-48eb-b53b-32d27bedc26a, ignoreFailoverLimit = false,
      compatabilityVersion = null, storageDomainId =
      e79cd423-ae17-4f8b-9f53-28d851cc9822, masterDomainId =
      00000000-0000-0000-0000-000000000000, masterVersion = 1, force =
      false), log id: 6e692e6d<br>
      2013-06-06 13:03:14,327 INFO&nbsp;
      [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
      (DefaultQuartzScheduler_Worker-3) No string for UNASSIGNED type.
      Use default Log<br>
      2013-06-06 13:03:14,922 ERROR
      [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
      (pool-3-thread-50) [59909ba8] Failed in DetachStorageDomainVDS
      method<br>
      2013-06-06 13:03:14,922 ERROR
      [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
      (pool-3-thread-50) [59909ba8] Error code StorageDomainDoesNotExist
      and error message IRSGenericException: IRSErrorException: Failed
      to DetachStorageDomainVDS, error = Storage domain does not exist:
      ('e79cd423-ae17-4f8b-9f53-28d851cc9822',)<br>
      2013-06-06 13:03:14,923 ERROR
      [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
      (pool-3-thread-50) [59909ba8]
      IrsBroker::Failed::DetachStorageDomainVDS due to:
      IRSErrorException: IRSGenericException: IRSErrorException: Failed
      to DetachStorageDomainVDS, error = Storage domain does not exist:
      ('e79cd423-ae17-4f8b-9f53-28d851cc9822',)<br>
      2013-06-06 13:03:14,925 INFO&nbsp;
      [org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand]
      (pool-3-thread-50) [59909ba8] FINISH,
      DetachStorageDomainVDSCommand, log id: 6e692e6d<br>
      2013-06-06 13:03:14,925 ERROR
      [org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand]
      (pool-3-thread-50) [59909ba8] Command
      org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand
      throw Vdc Bll exception. With error message VdcBLLException:
      org.ovirt.engine.core.vdsbroker.irsbroker.IRSErrorException:
      IRSGenericException: IRSErrorException: Failed to
      DetachStorageDomainVDS, error = Storage domain does not exist:
      ('e79cd423-ae17-4f8b-9f53-28d851cc9822',)<br>
      2013-06-06 13:03:14,927 INFO&nbsp;
      [org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand]
      (pool-3-thread-50) [59909ba8] Command
      [id=b2ab074c-e553-4c60-88fc-5b75d559b7ec]: Compensating
      CHANGED_STATUS_ONLY of
      org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap;
      snapshot: EntityStatusSnapshot [id=storagePoolId =
      d76c9edf-34cb-48eb-b53b-32d27bedc26a, storageId =
      e79cd423-ae17-4f8b-9f53-28d851cc9822, status=Maintenance].<br>
      <br>
      Thank You<br>
      <br>
      Best regards<br>
    </div>
  </body>
</html>