<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">01.02.2014 23:12, Itamar Heim пишет:<br>
    </div>
    <blockquote cite="mid:52ED6358.7060203@redhat.com" type="cite">On
      02/01/2014 09:58 PM, Alexandr wrote:
      <br>
      <blockquote type="cite">01.02.2014 21:57, Meital Bourvine пишет:
        <br>
        <blockquote type="cite">I think that it should be something like
          this:
          <br>
          <br>
          Method: PUT
          <br>
          <br>
          URL:<a class="moz-txt-link-freetext" href="https://">https://</a>&lt;IP&gt;/api/storageconnections/&lt;ID&gt;
          <br>
          <br>
          Body:
          <br>
          &lt;storage_connection&gt;
          <br>
          &lt;address&gt;&lt;/address&gt;
          <br>
          &lt;type&gt;&lt;/type&gt;
          <br>
          &lt;port&gt;&lt;/port&gt;
          <br>
          &lt;target&gt;&lt;/target&gt;
          <br>
          &lt;/storage_connection&gt;
          <br>
          <br>
          (Add the correct details to the body.
          <br>
          <br>
          ----- Original Message -----
          <br>
          <blockquote type="cite">From: "Itamar
            Heim"<a class="moz-txt-link-rfc2396E" href="mailto:iheim@redhat.com">&lt;iheim@redhat.com&gt;</a>
            <br>
            To: "Alexandr"<a class="moz-txt-link-rfc2396E" href="mailto:shuriku@shurik.kiev.ua">&lt;shuriku@shurik.kiev.ua&gt;</a>,<a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a>
            <br>
            Sent: Saturday, February 1, 2014 7:58:56 PM
            <br>
            Subject: Re: [Users] Reattach storage domain
            <br>
            <br>
            On 02/01/2014 06:56 PM, Alexandr wrote:
            <br>
            <blockquote type="cite">Thank you. Can you provide me more
              detailed steps, I'm not familiar with
              <br>
              rest api :(
              <br>
            </blockquote>
            sorry i can't give more details right now:
            <br>
            manage connection details:
            <br>
            <a class="moz-txt-link-freetext" href="http://www.ovirt.org/Features/Manage_Storage_Connections">http://www.ovirt.org/Features/Manage_Storage_Connections</a>
            <br>
            <br>
            rest api (and other things):
            <br>
<a class="moz-txt-link-freetext" href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html-single/Developer_Guide/index.html">https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html-single/Developer_Guide/index.html</a>
            <br>
            <br>
            <br>
            <blockquote type="cite">01.02.2014 19:51, Itamar Heim пишет:
              <br>
              <blockquote type="cite">On 02/01/2014 06:38 PM, Alexandr
                wrote:
                <br>
                <blockquote type="cite">Hello!
                  <br>
                  <br>
                  Unfortunately my master storage domain (gluster) is
                  dead. I setup
                  <br>
                  another gluster-storage and attach it to the ovirt.
                  Hostname, path and
                  <br>
                  volume name are same as old ones. Then I restored from
                  tar archive all
                  <br>
                  files. But I cannot activate master domain, operation
                  failed and domain
                  <br>
                  status remains "inactive". I see - it mounted on
                  nodes:
                  <br>
                  <br>
                  vms02.lis.ua:STORAGE on
                  <br>
                  /rhev/data-center/mnt/glusterSD/vms02.lis.ua:STORAGE
                  <br>
                  a
                  <br>
                  I attached engine.log, can someone provide me recovery
                  steps?
                  <br>
                  <br>
                  P.S. Sorry for my english
                  <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>
                  <br>
                </blockquote>
                the right way to do this would be to restore it not via
                engine, then
                <br>
                use the rest api to edit the storage domain connection
                (mount) in the
                <br>
                engine.
                <br>
              </blockquote>
            </blockquote>
            _______________________________________________
            <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>
            <br>
          </blockquote>
        </blockquote>
        I tried to change it via ovirt-shell and receive an error:
        <br>
        <br>
        [oVirt shell (connected)]# update storageconnection
        <br>
        4a1d8b07-f393-4134-86cc-4f46145cca2b --address vms02.lis.ua
        --path STORAGE
        <br>
        <br>
        error:
        <br>
        status: 400
        <br>
        reason: Bad Request
        <br>
        detail: Cannot edit Storage Connection. Storage connection
        parameters
        <br>
        can be edited only for NFS, Posix, local or iSCSI data domains.
        <br>
      </blockquote>
      <br>
      alisa/derez - any reason we don't support edit connection for
      gluster sd?
      <br>
    </blockquote>
    I still cannot solve my problem with a storage, and now I have
    started most important virtual machines directly via libvirt and set
    in domain xml configuration file disk configuration to <br>
    <br>
    <small>disk type='file' device='disk'&gt;<br>
            &lt;driver name='qemu' type='raw'/&gt;<br>
            &lt;source
file='/rhev/data-center/mnt/glusterSD/vms02.lis.ua:STORAGE/7f9709c1-3ab6-4af8-9e58-955ef7c9452e/images/fd0bf58e-3ba1-428c-a3e2-7e5410d6bc75/4ebf1396-28ac-4851-8b86-e0f1085f735e'/&gt;</small><br>
    <br>
    Now I have two questions:<br>
    <br>
    1. If setup fresh ovirt installation how can I attach an existing
    gluster storage and import disks? Are
    <a class="moz-txt-link-freetext" href="http://www.ovirt.org/Features/Import_an_existing_Storage_Domain">http://www.ovirt.org/Features/Import_an_existing_Storage_Domain</a> and
    <a class="moz-txt-link-freetext" href="http://www.ovirt.org/Features/Domain_Scan">http://www.ovirt.org/Features/Domain_Scan</a> already implemented in
    3.3.2?<br>
    or<br>
    2. May be I can move these disk images into a new SD?<br>
    <br>
  </body>
</html>