[Users] Reattach storage domain

Meital Bourvine mbourvin at redhat.com
Sat Feb 1 19:57:02 UTC 2014


I think that it should be something like this:

Method: PUT

URL: https://<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 -----
> From: "Itamar Heim" <iheim at redhat.com>
> To: "Alexandr" <shuriku at shurik.kiev.ua>, users at ovirt.org
> Sent: Saturday, February 1, 2014 7:58:56 PM
> Subject: Re: [Users] Reattach storage domain
> 
> On 02/01/2014 06:56 PM, Alexandr wrote:
> > Thank you. Can you provide me more detailed steps, I'm not familiar with
> > rest api :(
> 
> sorry i can't give more details right now:
> manage connection details:
> http://www.ovirt.org/Features/Manage_Storage_Connections
> 
> rest api (and other things):
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html-single/Developer_Guide/index.html
> 
> 
> >
> > 01.02.2014 19:51, Itamar Heim пишет:
> >> On 02/01/2014 06:38 PM, Alexandr wrote:
> >>> 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
> >>>
> >>> I attached engine.log, can someone provide me recovery steps?
> >>>
> >>> P.S. Sorry for my english
> >>>
> >>>
> >>> _______________________________________________
> >>> Users mailing list
> >>> Users at ovirt.org
> >>> http://lists.ovirt.org/mailman/listinfo/users
> >>>
> >>
> >> 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.
> >
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list