<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 21:57, Meital Bourvine
пишет:<br>
</div>
<blockquote
cite="mid:1126371345.3012583.1391284622988.JavaMail.root@redhat.com"
type="cite">
<pre wrap="">I think that it should be something like this:
Method: PUT
URL: <a class="moz-txt-link-freetext" href="https://">https://</a><IP>/api/storageconnections/<ID>
Body:
<storage_connection>
<address></address>
<type></type>
<port></port>
<target></target>
</storage_connection>
(Add the correct details to the body.
----- Original Message -----
</pre>
<blockquote type="cite">
<pre wrap="">From: "Itamar Heim" <a class="moz-txt-link-rfc2396E" href="mailto:iheim@redhat.com"><iheim@redhat.com></a>
To: "Alexandr" <a class="moz-txt-link-rfc2396E" href="mailto:shuriku@shurik.kiev.ua"><shuriku@shurik.kiev.ua></a>, <a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a>
Sent: Saturday, February 1, 2014 7:58:56 PM
Subject: Re: [Users] Reattach storage domain
On 02/01/2014 06:56 PM, Alexandr wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Thank you. Can you provide me more detailed steps, I'm not familiar with
rest api :(
</pre>
</blockquote>
<pre wrap="">
sorry i can't give more details right now:
manage connection details:
<a class="moz-txt-link-freetext" href="http://www.ovirt.org/Features/Manage_Storage_Connections">http://www.ovirt.org/Features/Manage_Storage_Connections</a>
rest api (and other things):
<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>
</pre>
<blockquote type="cite">
<pre wrap="">
01.02.2014 19:51, Itamar Heim пишет:
</pre>
<blockquote type="cite">
<pre wrap="">On 02/01/2014 06:38 PM, Alexandr wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello!
Unfortunately my master storage domain (gluster) is dead. I setup
another gluster-storage and attach it to the ovirt. Hostname, path and
volume name are same as old ones. Then I restored from tar archive all
files. But I cannot activate master domain, operation failed and domain
status remains "inactive". I see - it mounted on nodes:
vms02.lis.ua:STORAGE on
/rhev/data-center/mnt/glusterSD/vms02.lis.ua:STORAGE
a
I attached engine.log, can someone provide me recovery steps?
P.S. Sorry for my english
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre wrap="">
the right way to do this would be to restore it not via engine, then
use the rest api to edit the storage domain connection (mount) in the
engine.
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
</blockquote>
I tried to change it via ovirt-shell and receive an error:<small><br>
<br>
[oVirt shell (connected)]# update storageconnection
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 can be edited only for NFS, Posix, local or iSCSI data
domains.</small><br>
</body>
</html>