<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I am using the webgui, documentation
      doesn't mention any cli commandds.<br>
      <br>
      As the ISO_DOMAIN actually resides on the <i>engine</i>, not on
      the node, there is no vdsm log. Also the command 'vdsClient' does
      not exist.<br>
      /Peter<br>
      <br>
      2014-06-11 14:46, Dafna Ron skrev:<br>
    </div>
    <blockquote cite="mid:53984FB9.8090202@redhat.com" type="cite">Can
      you please also attach the vdsm log and can you please tell me
      what command you are using to add the domain?
      <br>
      and... please run vdsClient -s 0 getStorageDomainsList
      &lt;pool&gt;
      <br>
      <br>
      Thanks,
      <br>
      Dafna
      <br>
      <br>
      <br>
      On 06/11/2014 03:08 PM, Peter Haraldson wrote:
      <br>
      <blockquote type="cite">Hi
        <br>
        I have one Engine, one node.
        <br>
        Fresh install of oVirt 3.4 on new CentOS 6.5.
        <br>
        Engine holds ISO_DOMAIN, created automatically during setup.
        <br>
        The ISO_DOMAIN exists under Default -&gt; Storage. When trying
        to attach it, it is visible in web interface a few seconds as
        "locked", then disappears.
        <br>
        Log says:
        <br>
        ERROR [org.ovirt.engine.core.bll.storage.NFSStorageHelper]
        (org.ovirt.thread.pool-6-thread-24) [5a5288b3] The connection
        with details ctmgm0.certitrade.net:/ct/isos failed because of
        error code 477 and error message is: problem while trying to
        mount target (thanks for that error message... )
        <br>
        And a bit down:
        <br>
        ERROR
        [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
        (org.ovirt.thread.pool-6-thread-27) [43f2f913] Command
        org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand
        throw Vdc Bll exception. With error message VdcBLLException:
        org.ovirt.engine.core.vdsbroker.irsbroker.IRSErrorException:
        IRSGenericException: IRSErrorException: Failed to
        AttachStorageDomainVDS, error = Storage domain does not exist:
        ('0f6485ab-0301-4989-a59a-56efcd447ba0',), code = 358 (Failed
        with error StorageDomainDoesNotExist and code 358)
        <br>
        <br>
        I can, however, mount the ISO_DOMAIN manually, it has correct
        permissions and a directory structure obviously created by oVirt
        (see below).
        <br>
        There is no problem adding nfs storage from the node.
        <br>
        iptables is off, no firewalld, selinux is permissive.
        <br>
        <br>
        ISO_DOMAIN mounted on engine ("mount -t nfs
        172.19.1.10:/ct/isos/ /mnt/tmp/")
        <br>
        ls -l /mnt/
        <br>
        totalt 4
        <br>
        drwxr-xr-x. 3 vdsm kvm 4096 10 jun 19.18 tmp
        <br>
        <br>
        ls -l /mnt/tmp/0f6485ab-0301-4989-a59a-56efcd447ba0/images/
        <br>
        totalt 4
        <br>
        drwxr-xr-x. 2 vdsm kvm 4096 10 jun 19.19
        11111111-1111-1111-1111-111111111111
        <br>
        <br>
        I have read many posts about this problem, seems to be a common
        one, but no solution found.
        <br>
        <br>
        Complete log from one try:
        <br>
        2014-06-11 15:48:23,513 INFO
        [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
        (org.ovirt.thread.pool-6-thread-28) [7b977e41] Running command:
        AttachStorageDomainToPoolCommand internal: false. Entities
        affected :&nbsp; ID: 0f6485ab-0301-4989-a59a-56efcd447ba0 Type:
        Storage
        <br>
        2014-06-11 15:48:23,525 INFO
        [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand]
        (org.ovirt.thread.pool-6-thread-23) [795f995f] Running command:
        ConnectStorageToVdsCommand internal: true. Entities affected :&nbsp;
        ID: aaa00000-0000-0000-0000-123456789aaa Type: System
        <br>
        2014-06-11 15:48:23,533 INFO
        [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
        (org.ovirt.thread.pool-6-thread-23) [795f995f] START,
        ConnectStorageServerVDSCommand(HostName = ExtTest, HostId =
        1947b88f-b02e-4acf-bb30-1d92de626b45, storagePoolId =
        00000000-0000-0000-0000-000000000000, storageType = NFS,
        connectionList = [{ id: 53c268c3-5b04-4d42-bfa3-58d31c982a5d,
        connection: ctmgm0.certitrade.net:/ct/isos, iqn: null, vfsType:
        null, mountOptions: null, nfsVersion: null, nfsRetrans: null,
        nfsTimeo: null };]), log id: 5107b953
        <br>
        2014-06-11 15:48:23,803 INFO
        [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
        (org.ovirt.thread.pool-6-thread-23) [795f995f] Correlation ID:
        null, Call Stack: null, Custom Event ID: -1, Message: Failed to
        connect Host ExtTest to the Storage Domains ISO_DOMAIN.
        <br>
        2014-06-11 15:48:23,805 INFO
        [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
        (org.ovirt.thread.pool-6-thread-23) [795f995f] FINISH,
        ConnectStorageServerVDSCommand, return:
        {53c268c3-5b04-4d42-bfa3-58d31c982a5d=477}, log id: 5107b953
        <br>
        2014-06-11 15:48:23,808 INFO
        [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
        (org.ovirt.thread.pool-6-thread-23) [795f995f] Correlation ID:
        null, Call Stack: null, Custom Event ID: -1, Message: The error
        message for connection ctmgm0.certitrade.net:/ct/isos returned
        by VDSM was: Problem while trying to mount target
        <br>
        2014-06-11 15:48:23,810 ERROR
        [org.ovirt.engine.core.bll.storage.NFSStorageHelper]
        (org.ovirt.thread.pool-6-thread-23) [795f995f] The connection
        with details ctmgm0.certitrade.net:/ct/isos failed because of
        error code 477 and error message is: problem while trying to
        mount target
        <br>
        2014-06-11 15:48:23,814 ERROR
        [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand]
        (org.ovirt.thread.pool-6-thread-23) [795f995f] Transaction
        rolled-back for command:
        org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand.
        <br>
        2014-06-11 15:48:23,816 INFO
        [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
        (org.ovirt.thread.pool-6-thread-28) [7b977e41] START,
        AttachStorageDomainVDSCommand( storagePoolId =
        00000002-0002-0002-0002-00000000011b, ignoreFailoverLimit =
        false, storageDomainId = 0f6485ab-0301-4989-a59a-56efcd447ba0),
        log id: a2cca1b
        <br>
        2014-06-11 15:48:24,515 ERROR
        [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
        (org.ovirt.thread.pool-6-thread-28) [7b977e41] Failed in
        AttachStorageDomainVDS method
        <br>
        2014-06-11 15:48:24,547 ERROR
        [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
        (org.ovirt.thread.pool-6-thread-28) [7b977e41]
        IrsBroker::Failed::AttachStorageDomainVDS due to:
        IRSErrorException: IRSGenericException: IRSErrorException:
        Failed to AttachStorageDomainVDS, error = Storage domain does
        not exist: ('0f6485ab-0301-4989-a59a-56efcd447ba0',), code = 358
        <br>
        2014-06-11 15:48:24,555 INFO
        [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
        (org.ovirt.thread.pool-6-thread-28) [7b977e41] FINISH,
        AttachStorageDomainVDSCommand, log id: a2cca1b
        <br>
        2014-06-11 15:48:24,556 ERROR
        [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
        (org.ovirt.thread.pool-6-thread-28) [7b977e41] Command
        org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand
        throw Vdc Bll exception. With error message VdcBLLException:
        org.ovirt.engine.core.vdsbroker.irsbroker.IRSErrorException:
        IRSGenericException: IRSErrorException: Failed to
        AttachStorageDomainVDS, error = Storage domain does not exist:
        ('0f6485ab-0301-4989-a59a-56efcd447ba0',), code = 358 (Failed
        with error StorageDomainDoesNotExist and code 358)
        <br>
        2014-06-11 15:48:24,559 INFO
        [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
        (org.ovirt.thread.pool-6-thread-28) [7b977e41] Command
        [id=bff69195-7d00-4e18-bf5b-705be8d7210f]: Compensating
        NEW_ENTITY_ID of
        org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap;
        snapshot: storagePoolId = 00000002-0002-0002-0002-00000000011b,
        storageId = 0f6485ab-0301-4989-a59a-56efcd447ba0.
        <br>
        2014-06-11 15:48:24,580 INFO
        [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
        (org.ovirt.thread.pool-6-thread-28) [7b977e41] Correlation ID:
        7b977e41, Job ID: fafb4906-a9dd-41fb-b17f-833d831e953e, Call
        Stack: null, Custom Event ID: -1, Message: Failed to attach
        Storage Domain ISO_DOMAIN to Data Center Default. (User: admin)
        <br>
        <br>
        Regards
        <br>
        Peter Haraldson
        <br>
        <br>
        <br>
        _______________________________________________
        <br>
        Users mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
        <br>
      </blockquote>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>