[Users] Reimporting storage domains after reinstalling ovirt

Itamar Heim iheim at redhat.com
Sun Mar 9 20:11:25 UTC 2014


On 03/09/2014 06:04 PM, Boudewijn Ector wrote:
> On 09-03-14 14:11, Vered Volansky wrote:
>> Hi Boudewijn,
>>
>> First of all, the wiki page you are referring to is a feature page that was never implemented.
>> We are currently working on the same feature, this is the correct feature page:
>> http://www.ovirt.org/Features/ImportStorageDomain .
>> I will ask that the irrelevant page be removed to avoid any further confusion.
>>
>> Second, currently, the only way to import a domain is to create an export domain and import it.
>> Can you get the old setup-up and create an export domain?
>> If not, we'll try to help and work around this is issue, but this is going to be very complex, since this is not supported.
>>
>> Just to have a general understanding of your setup - your storage on the same machine as ovirt engine?
>>
>> I'm assuming you're using web-admin.
>> What exactly are you doing there? We don't have the import option there as you mentioned, so I don't understand how you could import an SD that was not export.
>> Adding the entry to /etc/exports is meaningless.
>>
>> Do you have the ovfs of the old VMs available?
>> In the meantime checking for an easier solution than the above, will get back to you on that.
>>
>> Regards,
>> Vered
> Dear Vered,
>
>
> Thank you very much for your reply; I didn't expect this (at first hand)
> simple action to be so hard/complex to perform.

hence the feature page you saw, to add this functionality (currently 
work in progress)

> My machine is indeed  a single machine containing both a node,
> webinterface and storage.
>
> The old setup has been reinstalled, so I can't get that one to work
> anymore. On the other hand I do still have a database dump from it.
> I'm using the webadmin indeed and if I go to storage there's a button
> saying import domain. In the dialogue that pops up after pressing that
> button it's mentioned that I should use a FQDN/IP notation which made me
> expect that it uses NFS ;-).
>
> Yes I do have ovf's, this is a directory listing from one of the storage
> domains:
>
> [root at leiden 1979444d-b79a-494c-8c1a-bcc132e31a04]# find
> .
> ./images
> ./images/6055a0a2-a6e9-4466-b0eb-3928c5c84d99
> ./images/6055a0a2-a6e9-4466-b0eb-3928c5c84d99/9e5be41b-c512-4f22-9d7c-81090d62dc31
> ./images/6055a0a2-a6e9-4466-b0eb-3928c5c84d99/9e5be41b-c512-4f22-9d7c-81090d62dc31.lease
> ./images/6055a0a2-a6e9-4466-b0eb-3928c5c84d99/9e5be41b-c512-4f22-9d7c-81090d62dc31.meta
> ./images/d72c41ff-2e34-474d-86be-3c11181b2128
> ./images/d72c41ff-2e34-474d-86be-3c11181b2128/0dd635c7-ef77-4e0f-962c-90b66085ba93.lease
> ./images/d72c41ff-2e34-474d-86be-3c11181b2128/0dd635c7-ef77-4e0f-962c-90b66085ba93.meta
> ./images/d72c41ff-2e34-474d-86be-3c11181b2128/0dd635c7-ef77-4e0f-962c-90b66085ba93
> ./images/df485d87-7dda-4cee-8fd0-5dc8b00d44c6
> ./images/df485d87-7dda-4cee-8fd0-5dc8b00d44c6/38eee7d5-9fd1-44b0-876c-b24e4bc0085b
> ./images/df485d87-7dda-4cee-8fd0-5dc8b00d44c6/988f90f6-a37d-4dfd-8477-70aa5d2db5b6.meta
> ./images/df485d87-7dda-4cee-8fd0-5dc8b00d44c6/38eee7d5-9fd1-44b0-876c-b24e4bc0085b.meta
> ./images/df485d87-7dda-4cee-8fd0-5dc8b00d44c6/988f90f6-a37d-4dfd-8477-70aa5d2db5b6
> ./images/df485d87-7dda-4cee-8fd0-5dc8b00d44c6/38eee7d5-9fd1-44b0-876c-b24e4bc0085b.lease
> ./images/df485d87-7dda-4cee-8fd0-5dc8b00d44c6/988f90f6-a37d-4dfd-8477-70aa5d2db5b6.lease
> ./images/898c01ea-d7b5-4d59-8329-c9140f3e55c1
> ./images/898c01ea-d7b5-4d59-8329-c9140f3e55c1/8b511fc2-4ec5-4c82-9faf-93da8490adc9.lease
> ./images/898c01ea-d7b5-4d59-8329-c9140f3e55c1/8b511fc2-4ec5-4c82-9faf-93da8490adc9.meta
> ./images/898c01ea-d7b5-4d59-8329-c9140f3e55c1/8b511fc2-4ec5-4c82-9faf-93da8490adc9
> ./images/1f6b7b10-736c-4a6c-9743-a628f370ff2f
> ./images/1f6b7b10-736c-4a6c-9743-a628f370ff2f/8633fb9b-9c08-406b-925e-7d5955912165.lease
> ./images/1f6b7b10-736c-4a6c-9743-a628f370ff2f/8633fb9b-9c08-406b-925e-7d5955912165
> ./images/1f6b7b10-736c-4a6c-9743-a628f370ff2f/8633fb9b-9c08-406b-925e-7d5955912165.meta
> ./images/c866dd6c-c7e5-419a-85e4-af49228be5a2
> ./images/c866dd6c-c7e5-419a-85e4-af49228be5a2/5e56a396-8deb-4c04-9897-0e4f6582abcc.meta
> ./images/c866dd6c-c7e5-419a-85e4-af49228be5a2/5e56a396-8deb-4c04-9897-0e4f6582abcc.lease
> ./images/c866dd6c-c7e5-419a-85e4-af49228be5a2/5e56a396-8deb-4c04-9897-0e4f6582abcc
> ./images/a33a673d-751f-4287-a655-e84dfcfcd005
> ./images/a33a673d-751f-4287-a655-e84dfcfcd005/2cd8d3dc-e92f-4be5-88fa-923076aba287.lease
> ./images/a33a673d-751f-4287-a655-e84dfcfcd005/2cd8d3dc-e92f-4be5-88fa-923076aba287
> ./images/a33a673d-751f-4287-a655-e84dfcfcd005/2cd8d3dc-e92f-4be5-88fa-923076aba287.meta
> ./images/07b94c8d-8195-449b-b5e0-873bde6f85fd
> ./images/07b94c8d-8195-449b-b5e0-873bde6f85fd/efc46a9a-6fcd-4e48-a197-e6bdf1e655bf
> ./images/07b94c8d-8195-449b-b5e0-873bde6f85fd/efc46a9a-6fcd-4e48-a197-e6bdf1e655bf.lease
> ./images/07b94c8d-8195-449b-b5e0-873bde6f85fd/efc46a9a-6fcd-4e48-a197-e6bdf1e655bf.meta
> ./images/72dba8d6-4303-4db7-8a32-aafa0a3165a5
> ./images/72dba8d6-4303-4db7-8a32-aafa0a3165a5/caecf666-302d-426c-8a32-65eda8d9e5df
> ./images/72dba8d6-4303-4db7-8a32-aafa0a3165a5/caecf666-302d-426c-8a32-65eda8d9e5df.lease
> ./images/72dba8d6-4303-4db7-8a32-aafa0a3165a5/caecf666-302d-426c-8a32-65eda8d9e5df.meta
> ./images/7fd446ce-bfb5-4706-9eb8-4133fcfbc00d
> ./images/7fd446ce-bfb5-4706-9eb8-4133fcfbc00d/88a7d07b-b4a3-497d-b2e5-3e6ebc85d83e
> ./images/7fd446ce-bfb5-4706-9eb8-4133fcfbc00d/88a7d07b-b4a3-497d-b2e5-3e6ebc85d83e.meta
> ./images/7fd446ce-bfb5-4706-9eb8-4133fcfbc00d/88a7d07b-b4a3-497d-b2e5-3e6ebc85d83e.lease
> ./master
> ./master/vms
> ./master/vms/0edd5aea-3425-4780-8f54-1c84f9a87765
> ./master/vms/0edd5aea-3425-4780-8f54-1c84f9a87765/0edd5aea-3425-4780-8f54-1c84f9a87765.ovf
> ./master/vms/0b03d653-127a-449a-b6c6-276fed15de1b
> ./master/vms/0b03d653-127a-449a-b6c6-276fed15de1b/0b03d653-127a-449a-b6c6-276fed15de1b.ovf
> ./master/vms/00000000-0000-0000-0000-000000000000
> ./master/vms/00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000.ovf
> ./master/vms/f45a4a7c-5db5-40c2-af06-230aa5f2b090
> ./master/vms/f45a4a7c-5db5-40c2-af06-230aa5f2b090/f45a4a7c-5db5-40c2-af06-230aa5f2b090.ovf
> ./master/vms/0b062e65-7b0f-4177-9e08-cba48230f89a
> ./master/vms/0b062e65-7b0f-4177-9e08-cba48230f89a/0b062e65-7b0f-4177-9e08-cba48230f89a.ovf
> ./master/vms/a466a009-cde7-40db-b3db-712b737eb64a
> ./master/vms/a466a009-cde7-40db-b3db-712b737eb64a/a466a009-cde7-40db-b3db-712b737eb64a.ovf
> ./master/vms/c040505a-da58-4ee1-8e17-8e32b9765608
> ./master/vms/c040505a-da58-4ee1-8e17-8e32b9765608/c040505a-da58-4ee1-8e17-8e32b9765608.ovf
> ./master/vms/45434b2f-2a79-4a13-812e-a4fd2f563947
> ./master/vms/45434b2f-2a79-4a13-812e-a4fd2f563947/45434b2f-2a79-4a13-812e-a4fd2f563947.ovf
> ./master/vms/a16e4354-0c32-47c1-a01b-7131da3dbb6b
> ./master/vms/a16e4354-0c32-47c1-a01b-7131da3dbb6b/a16e4354-0c32-47c1-a01b-7131da3dbb6b.ovf
> ./master/vms/b6cd8901-6832-4d95-935e-bb24d53f486d
> ./master/vms/b6cd8901-6832-4d95-935e-bb24d53f486d/b6cd8901-6832-4d95-935e-bb24d53f486d.ovf
> ./master/tasks
> ./dom_md
> ./dom_md/inbox
> ./dom_md/ids
> ./dom_md/metadata
> ./dom_md/outbox
> ./dom_md/leases
>
>
> How should I go on recovering those VMs?

change the domain into an export domain, attach it, and import the VMs 
from it (currently, you can only import an export domain)
i think this thread has the relevant info:
https://www.mail-archive.com/users@ovirt.org/msg04257.html




More information about the Users mailing list