[ovirt-users] Re: VM import doesn't see VMs on storage

2019-06-04 Thread Dmitry Filonov
I did deactivated and detached storage domain form the DC1 first.
Turned out the meta file for these disks had
DISKTYPE=1
After changing it to
DISKTYPE=DATA
I was able to import disks.

Not sure why was that, but changing that one line just solved my problem


--
Dmitry Filonov
Linux Administrator
SBGrid Core | Harvard Medical School
250 Longwood Ave, SGM-114
Boston, MA 02115


On Tue, Jun 4, 2019 at 12:56 PM Eyal Shenitzky  wrote:

> Hi Dmitry,
>
> Those VMs has more disks on different SD as well?
> Did you deactivated and detached the SD as needed?
>
> Try to run manually the OVF update for this specific storage domain.
>
>
>
> On Tue, Jun 4, 2019 at 12:23 AM Dmitry Filonov <
> filo...@hkl.hms.harvard.edu> wrote:
>
>> Correction. At least one (might be more or even all) of the machines that
>> don't show up under VM import tab was based on Blank template.
>> So that shouldn't be an issue. Has to be something else that prevent
>> machines from being "importable".
>>
>> At least two machines were pinned to a specific host in the DC1. Can that
>> be the issue? Seems unlikely, but am running out of ideas here :(
>>
>> Fil
>>
>> --
>> Dmitry Filonov
>> Linux Administrator
>> SBGrid Core | Harvard Medical School
>> 250 Longwood Ave, SGM-114
>> Boston, MA 02115
>>
>>
>> On Mon, Jun 3, 2019 at 10:46 AM Dmitry Filonov <
>> filo...@hkl.hms.harvard.edu> wrote:
>>
>>> Hi,
>>>  I have 2 independent oVirt datacenters. Need to move some of the VMs
>>> from DC1 to DC2.
>>> So far the strategy was as simple as this -
>>> 1) connect new storage domain (NFS) to DC1
>>> 2) move VM disks to that storage
>>> 3) shut down VMs
>>> 4) disconnect storage from DC1
>>> 5) import same storage into DC2
>>> 6) import VMs from that storage and optionally move VM disks to storage
>>> local to DC2.
>>>
>>> Works fine for a dozen VMs until last Friday when I tried to import
>>> another 13 VMs into DC2 and VM import shows only 6. I can see disks in Disk
>>> import tab, but not VMs.
>>>
>>> I guess this is related to the fact that some of the VMs to be moved are
>>> based on a template that is still on DC1. But how do I move these VMs then?
>>> I can't move the template as
>>> 1) I still need it in DC1
>>> 2) it doesn't have any disks attached, so I can't really do the same
>>> steps to move it.
>>>
>>> Any ideas are very welcome here.
>>>
>>> Thanks a lot.
>>>
>>>
>>> --
>>> Dmitry Filonov
>>> Linux Administrator
>>> SBGrid Core | Harvard Medical School
>>> 250 Longwood Ave, SGM-114
>>> Boston, MA 02115
>>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/4236OJHD6LP6IMLK5Q7LOKIYY4BKOR5I/
>>
>
>
> --
> Regards,
> Eyal Shenitzky
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/D3GL5HG7B3GX67H6RT6RT2INGHHGKQMV/


[ovirt-users] Re: VM import doesn't see VMs on storage

2019-06-04 Thread Eyal Shenitzky
Hi Dmitry,

Those VMs has more disks on different SD as well?
Did you deactivated and detached the SD as needed?

Try to run manually the OVF update for this specific storage domain.



On Tue, Jun 4, 2019 at 12:23 AM Dmitry Filonov 
wrote:

> Correction. At least one (might be more or even all) of the machines that
> don't show up under VM import tab was based on Blank template.
> So that shouldn't be an issue. Has to be something else that prevent
> machines from being "importable".
>
> At least two machines were pinned to a specific host in the DC1. Can that
> be the issue? Seems unlikely, but am running out of ideas here :(
>
> Fil
>
> --
> Dmitry Filonov
> Linux Administrator
> SBGrid Core | Harvard Medical School
> 250 Longwood Ave, SGM-114
> Boston, MA 02115
>
>
> On Mon, Jun 3, 2019 at 10:46 AM Dmitry Filonov <
> filo...@hkl.hms.harvard.edu> wrote:
>
>> Hi,
>>  I have 2 independent oVirt datacenters. Need to move some of the VMs
>> from DC1 to DC2.
>> So far the strategy was as simple as this -
>> 1) connect new storage domain (NFS) to DC1
>> 2) move VM disks to that storage
>> 3) shut down VMs
>> 4) disconnect storage from DC1
>> 5) import same storage into DC2
>> 6) import VMs from that storage and optionally move VM disks to storage
>> local to DC2.
>>
>> Works fine for a dozen VMs until last Friday when I tried to import
>> another 13 VMs into DC2 and VM import shows only 6. I can see disks in Disk
>> import tab, but not VMs.
>>
>> I guess this is related to the fact that some of the VMs to be moved are
>> based on a template that is still on DC1. But how do I move these VMs then?
>> I can't move the template as
>> 1) I still need it in DC1
>> 2) it doesn't have any disks attached, so I can't really do the same
>> steps to move it.
>>
>> Any ideas are very welcome here.
>>
>> Thanks a lot.
>>
>>
>> --
>> Dmitry Filonov
>> Linux Administrator
>> SBGrid Core | Harvard Medical School
>> 250 Longwood Ave, SGM-114
>> Boston, MA 02115
>>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/4236OJHD6LP6IMLK5Q7LOKIYY4BKOR5I/
>


-- 
Regards,
Eyal Shenitzky
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NTWH7JELJPQ6WGLBWKX2ABNZC64WFFQ7/


[ovirt-users] Re: VM import doesn't see VMs on storage

2019-06-03 Thread Dmitry Filonov
Correction. At least one (might be more or even all) of the machines that
don't show up under VM import tab was based on Blank template.
So that shouldn't be an issue. Has to be something else that prevent
machines from being "importable".

At least two machines were pinned to a specific host in the DC1. Can that
be the issue? Seems unlikely, but am running out of ideas here :(

Fil

--
Dmitry Filonov
Linux Administrator
SBGrid Core | Harvard Medical School
250 Longwood Ave, SGM-114
Boston, MA 02115


On Mon, Jun 3, 2019 at 10:46 AM Dmitry Filonov 
wrote:

> Hi,
>  I have 2 independent oVirt datacenters. Need to move some of the VMs from
> DC1 to DC2.
> So far the strategy was as simple as this -
> 1) connect new storage domain (NFS) to DC1
> 2) move VM disks to that storage
> 3) shut down VMs
> 4) disconnect storage from DC1
> 5) import same storage into DC2
> 6) import VMs from that storage and optionally move VM disks to storage
> local to DC2.
>
> Works fine for a dozen VMs until last Friday when I tried to import
> another 13 VMs into DC2 and VM import shows only 6. I can see disks in Disk
> import tab, but not VMs.
>
> I guess this is related to the fact that some of the VMs to be moved are
> based on a template that is still on DC1. But how do I move these VMs then?
> I can't move the template as
> 1) I still need it in DC1
> 2) it doesn't have any disks attached, so I can't really do the same steps
> to move it.
>
> Any ideas are very welcome here.
>
> Thanks a lot.
>
>
> --
> Dmitry Filonov
> Linux Administrator
> SBGrid Core | Harvard Medical School
> 250 Longwood Ave, SGM-114
> Boston, MA 02115
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4236OJHD6LP6IMLK5Q7LOKIYY4BKOR5I/