[ovirt-users] Re: Migrating VMs with templates from 4.2.8 to new 4.4.6 instance

2021-05-17 Thread Pavel Strzinek
Hello Eyal,
here is a snippet of engine.log with error messages when using export domain:

2021-05-17 15:25:14,382+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-44418) 
[adae4f6c-c046-491e-bdea-7c33c0fda8
cb] START, PrepareImageVDSCommand(HostName = onode1, 
PrepareImageVDSCommandParameters:{hostId='8f143998-6ba4-4d91-80b1-dbcd7699cfe1'}),
 log id: 4337ef77
2021-05-17 15:25:14,491+02 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (default 
task-12) [56b9f36b-66ee-46ef-a4a8-b339f05b99fd] START, GetVmsInfoVDSComman
d( 
GetVmsInfoVDSCommandParameters:{storagePoolId='ab922cf8-ad7f-11eb-8600-00163e10f859',
 ignoreFailoverLimit='false', 
storageDomainId='ab219477-08ea-487a-b421-0e809a6dc0a8', vmIdLis
t='null'}), log id: 147caed0
2021-05-17 15:25:14,534+02 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (default 
task-12) [56b9f36b-66ee-46ef-a4a8-b339f05b99fd] FINISH, GetVmsInfoVDSComma
nd, log id: 147caed0
2021-05-17 15:25:14,701+02 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-44418) 
[adae4f6c-c046-491e-bdea-7c33c0fda8
cb] Failed in 'PrepareImageVDS' method, for vds: 'onode1'; host: 
'onode1.in.edhouse.cz': null
2021-05-17 15:25:14,701+02 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-44418) 
[adae4f6c-c046-491e-bdea-7c33c0fda8
cb] Command 'PrepareImageVDSCommand(HostName = onode1, 
PrepareImageVDSCommandParameters:{hostId='8f143998-6ba4-4d91-80b1-dbcd7699cfe1'})'
 execution failed: null
2021-05-17 15:25:14,701+02 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-44418) 
[adae4f6c-c046-491e-bdea-7c33c0fda8
cb] FINISH, PrepareImageVDSCommand, return: , log id: 4337ef77
2021-05-17 15:25:14,703+02 INFO  
[org.ovirt.engine.core.utils.transaction.TransactionSupport] 
(EE-ManagedThreadFactory-engine-Thread-44418) 
[adae4f6c-c046-491e-bdea-7c33c0fda8cb] tr
ansaction rolled back
2021-05-17 15:25:14,703+02 ERROR 
[org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand] 
(EE-ManagedThreadFactory-engine-Thread-44418) 
[adae4f6c-c046-491e-bdea-7c33c0fda8cb
] Command 'org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand' 
failed: EngineException: java.lang.NullPointerException (Failed with error 
ENGINE and code 5001)
2021-05-17 15:25:14,725+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-44418) [adae4f6c-c046-491e-bdea-7c33c0
fda8cb] EVENT_ID: IMPORTEXPORT_IMPORT_TEMPLATE_FAILED(1,159), Failed to import 
Template CentOS_x64_custom to Data Center Default, Cluster Default
2021-05-17 15:25:15,105+02 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (default 
task-8) [77ff5fae-2a13-4dd1-b116-f3ffdcf477a4] START, GetVmsInfoVDSCommand
( 
GetVmsInfoVDSCommandParameters:{storagePoolId='ab922cf8-ad7f-11eb-8600-00163e10f859',
 ignoreFailoverLimit='false', 
storageDomainId='ab219477-08ea-487a-b421-0e809a6dc0a8', vmIdList
='null'}), log id: 437811e8

I don't see any errors in vdsm.log

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


[ovirt-users] Re: Migrating VMs with templates from 4.2.8 to new 4.4.6 instance

2021-05-15 Thread Eyal Shenitzky
Can you share the engine and VDSM logs?

On Thu, 13 May 2021 at 20:05, Pavel Strzinek 
wrote:

> Hello,
> I am having hard time migrating vms based on templates from existing 4.2.8
> instance to newly installed 4.4.6 HCI with different storage. When I export
> VMs and corresponding templates to export NFS storage, detach it from
> source DC and attach the export storage to a new oVirt environment, the
> import of templates is failing with error "Failed to import Template XXX to
> Data Center YYY, Cluster ZZZ". I cannot find anything more specific about
> the error in logs. Am I missing something?
>
> Exporting to OVA and importing back does work, but I want to make use of
> template thin provisioning.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/TWIC754QFESDTQ7BDJT2XVIGPQW36JPD/
>


-- 
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/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PWJS7JHKVUFTMLBRROZJ2RSVGN3FV4FI/


[ovirt-users] Re: Migrating VMs with templates from 4.2.8 to new 4.4.6 instance

2021-05-14 Thread Pavel Strzinek
Hello,
I tried to alternatively use NFS data storage for migration instead of export, 
but I am not successful either. After attaching the storage to new instance 
(and converting it to version 5 - irreversible step!), I cannot import the 
template either, it gives me this error in GUI:

Error while executing action:
Template_XYZ:
Cannot import Template. The image {diskImageId}/{imageId} does not exist on 
any active storage domain.

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