[Users] Reimporting storage domains after reinstalling ovirt

Gadi Ickowicz gickowic at redhat.com
Mon Mar 10 06:48:18 UTC 2014


Hi,

Regarding what to do in order to be able to add the domain, due to the bug you pointed out (https://bugzilla.redhat.com/show_bug.cgi?id=1059604), the workaround is to move the host to a datacenter. Check the host's cluster under the web interface - if it does not list a datacenter, you can move the host to maintenance, select the cluster, click 'edit' and then select a datacenter.

The second error "Error while executing action: Cannot add Storage Connection. Storage connection already exists." is also a known bug (https://bugzilla.redhat.com/show_bug.cgi?id=1014966). You need to find the storage connection and remove it manually from oVirt. This can be done with REST or SDK. 

For REST:
1. find the ID of the connection. should be at: <fqdn/ip of engine>/api/storageconnections . (look for the connection that lists 192.168.1.44:/raid/ovirt-old/data and note it's ID)
2. Send a DELETE request to <fqdn/ip of engine>/api/storageconnections/<ID of storage connection>

Thanks,
Gadi Ickowicz

----- Original Message -----
From: "Boudewijn Ector" <boudewijn at boudewijnector.nl>
To: users at ovirt.org
Sent: Monday, March 10, 2014 1:00:35 AM
Subject: Re: [Users] Reimporting storage domains after reinstalling ovirt


> 
> 
> (there's another storage doman which has to be converted too but 
> that's not that relevant imo).
> 
> Now I log in onto the webinterface, select storage domain ->
> import domain :
> 
> Domain function set to export/NFS export path: 
> 192.168.1.44:/raid/ovirt-old/data/
> 
> (192.168.1.44 is the server's IP)
> 
> 
> Now this error pops up:
> 
> Error while executing action: Cannot add Storage. Storage format V3
> is not supported on the selected host version.
> 
> I just had a look for this one and found this bug (in which you 
> replied... such a small world :)  ) : 
> https://bugzilla.redhat.com/show_bug.cgi?id=1059604 But there's no
> obvious solution over there.
> 
> Despite this the domains are available in the storage domain list
> but they're unattached so no use to me.
> 
> Am I still missing something?
> 
> Cheers,
> 
> Boudewijn _______________________________________________ Users
> mailing list Users at ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users
> 
Interesting: i just tried readding it again (maybe rereading the
storage domain takes a lot of time) but despite it not showing up in
the storage domain list, ovirt's webadmin tells met the repo has
already been added:

Error while executing action: Cannot add Storage Connection. Storage
connection already exists.


Strange.

Cheers,

Boudewijn


_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list