Unable to import template from export domain Ovirt 3.6

Able to create a template on one host, and then export to NFS. I detach from one host and successfully attach to second host. WHen I attempt to import template, I see error 'Failed to complete copy of template mytemplate to Domain <UNKNOWN>' Errors in log are: 2015-11-08 20:08:26,516 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-28) [9f0aa95] Correlation ID: d957f05, Job ID: 084199b0-96ce-4b80-bd02-a0d45bcd5de9, Call Stack: null, Custom Event ID: -1, Message: Failed to import Template mytemplate to Data Center ovirt-2_localdc, Cluster ovirt-2_localclstr 2015-11-08 20:08:29,329 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-50) [] Correlation ID: d957f05, Call Stack: null, Custom Event ID: -1, Message: Failed to complete copy of Template mytemplate to Domain <UNKNOWN>. Seeing this command that failed: 2015-11-08 20:08:29,296 ERROR [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (DefaultQuartzScheduler_Worker-76) [395116d1] BaseAsyncTask::logEndTaskFailure: Task 'd2681280-fff6-469d-81c8-edc5fd9fb7af' (Parent Command 'ImportVmTemplate', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended with failure: -- Message: 'VDSGenericException: VDSErrorException: Failed in vdscommand to HSMGetAllTasksStatusesVDS, error = d2681280-fff6-469d-81c8-edc5fd9fb7af', -- Exception: 'VDSGenericException: VDSErrorException: Failed in vdscommand to HSMGetAllTasksStatusesVDS, error = d2681280-fff6-469d-81c8-edc5fd9fb7af' But dont see anything else... Thoughts?

Hi Liam, I want to make sure I get the flow. You have 2 hosts on different Data centers I assume (when you attach and detach the SD that means between data centers), with 2 different NFS storage domains? You create a template and then export it to an NFS export domain which is attached to first DC. Then you detach the export domain from the first DC and attach it to the second one and then try to import it to the second SD of this data center? Is that the correct flow? Thanks. Sefi. ----- Original Message -----
From: "Liam Curtis" <lcurtis@datto.com> To: Users@ovirt.org Sent: Monday, November 9, 2015 3:35:43 AM Subject: [ovirt-users] Unable to import template from export domain Ovirt 3.6
Able to create a template on one host, and then export to NFS. I detach from one host and successfully attach to second host. WHen I attempt to import template, I see error 'Failed to complete copy of template mytemplate to Domain <UNKNOWN>'
Errors in log are:
2015-11-08 20:08:26,516 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-28) [9f0aa95] Correlation ID: d957f05, Job ID: 084199b0-96ce-4b80-bd02-a0d45bcd5de9, Call Stack: null, Custom Event ID: -1, Message: Failed to import Template mytemplate to Data Center ovirt-2_localdc, Cluster ovirt-2_localclstr 2015-11-08 20:08:29,329 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-50) [] Correlation ID: d957f05, Call Stack: null, Custom Event ID: -1, Message: Failed to complete copy of Template mytemplate to Domain <UNKNOWN>.
Seeing this command that failed:
2015-11-08 20:08:29,296 ERROR [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (DefaultQuartzScheduler_Worker-76) [395116d1] BaseAsyncTask::logEndTaskFailure: Task 'd2681280-fff6-469d-81c8-edc5fd9fb7af' (Parent Command 'ImportVmTemplate', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended with failure: -- Message: 'VDSGenericException: VDSErrorException: Failed in vdscommand to HSMGetAllTasksStatusesVDS, error = d2681280-fff6-469d-81c8-edc5fd9fb7af', -- Exception: 'VDSGenericException: VDSErrorException: Failed in vdscommand to HSMGetAllTasksStatusesVDS, error = d2681280-fff6-469d-81c8-edc5fd9fb7af'
But dont see anything else...
Thoughts?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

To add to that question, Could you please specify which version of Ovirt 3.6 are you using, what versions of vdsm running on the hosts? 10x. ----- Original Message -----
From: "Sefi Litmanovich" <slitmano@redhat.com> To: "Liam Curtis" <lcurtis@datto.com> Cc: Users@ovirt.org Sent: Monday, November 9, 2015 10:46:00 AM Subject: Re: [ovirt-users] Unable to import template from export domain Ovirt 3.6
Hi Liam,
I want to make sure I get the flow. You have 2 hosts on different Data centers I assume (when you attach and detach the SD that means between data centers), with 2 different NFS storage domains? You create a template and then export it to an NFS export domain which is attached to first DC. Then you detach the export domain from the first DC and attach it to the second one and then try to import it to the second SD of this data center? Is that the correct flow?
Thanks. Sefi.
----- Original Message -----
From: "Liam Curtis" <lcurtis@datto.com> To: Users@ovirt.org Sent: Monday, November 9, 2015 3:35:43 AM Subject: [ovirt-users] Unable to import template from export domain Ovirt 3.6
Able to create a template on one host, and then export to NFS. I detach from one host and successfully attach to second host. WHen I attempt to import template, I see error 'Failed to complete copy of template mytemplate to Domain <UNKNOWN>'
Errors in log are:
2015-11-08 20:08:26,516 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-28) [9f0aa95] Correlation ID: d957f05, Job ID: 084199b0-96ce-4b80-bd02-a0d45bcd5de9, Call Stack: null, Custom Event ID: -1, Message: Failed to import Template mytemplate to Data Center ovirt-2_localdc, Cluster ovirt-2_localclstr 2015-11-08 20:08:29,329 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-50) [] Correlation ID: d957f05, Call Stack: null, Custom Event ID: -1, Message: Failed to complete copy of Template mytemplate to Domain <UNKNOWN>.
Seeing this command that failed:
2015-11-08 20:08:29,296 ERROR [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (DefaultQuartzScheduler_Worker-76) [395116d1] BaseAsyncTask::logEndTaskFailure: Task 'd2681280-fff6-469d-81c8-edc5fd9fb7af' (Parent Command 'ImportVmTemplate', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended with failure: -- Message: 'VDSGenericException: VDSErrorException: Failed in vdscommand to HSMGetAllTasksStatusesVDS, error = d2681280-fff6-469d-81c8-edc5fd9fb7af', -- Exception: 'VDSGenericException: VDSErrorException: Failed in vdscommand to HSMGetAllTasksStatusesVDS, error = d2681280-fff6-469d-81c8-edc5fd9fb7af'
But dont see anything else...
Thoughts?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Thank you, Sefi. The flow is 2 different hosts / local data centers and 1 export domain over NFS. I detach the domain from one data center and then attach to the second where I attempt to import template and get the failure. The NFS mount is actually a gluster brick being mounted via NFS, though I have tried same thing with regular NFS mount. VDSM is version vdsm-4.17.10-0.el7.centos.noarch Thanks so much for your insight. On Mon, Nov 9, 2015 at 3:51 AM, Sefi Litmanovich <slitmano@redhat.com> wrote:
To add to that question, Could you please specify which version of Ovirt 3.6 are you using, what versions of vdsm running on the hosts?
10x.
From: "Sefi Litmanovich" <slitmano@redhat.com> To: "Liam Curtis" <lcurtis@datto.com> Cc: Users@ovirt.org Sent: Monday, November 9, 2015 10:46:00 AM Subject: Re: [ovirt-users] Unable to import template from export domain Ovirt 3.6
Hi Liam,
I want to make sure I get the flow. You have 2 hosts on different Data centers I assume (when you attach and detach the SD that means between data centers), with 2 different NFS storage domains? You create a template and then export it to an NFS export domain which is attached to first DC. Then you detach the export domain from the first DC and attach it to the second one and then try to import it to the second SD of this data
----- Original Message ----- center?
Is that the correct flow?
Thanks. Sefi.
----- Original Message -----
From: "Liam Curtis" <lcurtis@datto.com> To: Users@ovirt.org Sent: Monday, November 9, 2015 3:35:43 AM Subject: [ovirt-users] Unable to import template from export domain Ovirt 3.6
Able to create a template on one host, and then export to NFS. I detach from one host and successfully attach to second host. WHen I attempt to import template, I see error 'Failed to complete copy of template mytemplate to Domain <UNKNOWN>'
Errors in log are:
2015-11-08 20:08:26,516 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-28) [9f0aa95] Correlation ID: d957f05, Job ID: 084199b0-96ce-4b80-bd02-a0d45bcd5de9, Call Stack: null, Custom Event ID: -1, Message: Failed to import Template mytemplate to Data Center ovirt-2_localdc, Cluster ovirt-2_localclstr 2015-11-08 20:08:29,329 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-50) [] Correlation ID: d957f05, Call Stack: null, Custom Event ID: -1, Message: Failed to complete copy of Template mytemplate to Domain <UNKNOWN>.
Seeing this command that failed:
2015-11-08 20:08:29,296 ERROR [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (DefaultQuartzScheduler_Worker-76) [395116d1] BaseAsyncTask::logEndTaskFailure: Task 'd2681280-fff6-469d-81c8-edc5fd9fb7af' (Parent Command 'ImportVmTemplate', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended with failure: -- Message: 'VDSGenericException: VDSErrorException: Failed in vdscommand to HSMGetAllTasksStatusesVDS, error = d2681280-fff6-469d-81c8-edc5fd9fb7af', -- Exception: 'VDSGenericException: VDSErrorException: Failed in vdscommand to HSMGetAllTasksStatusesVDS, error = d2681280-fff6-469d-81c8-edc5fd9fb7af'
But dont see anything else...
Thoughts?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Sefi, Sorry to be a pest. Any thoughts on this? I am getting around this by scp'ing the disk image of the template to the other host and then dd'ing it into a precreated template, but this seems like a hacky way to do things...

Liam, Can you open a bug on this and provide logs for engine and hosts ? Thanks, Freddy On Wed, Nov 11, 2015 at 5:59 PM, Liam Curtis <lcurtis@datto.com> wrote:
Hi Sefi,
Sorry to be a pest. Any thoughts on this? I am getting around this by scp'ing the disk image of the template to the other host and then dd'ing it into a precreated template, but this seems like a hacky way to do things...
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Yes. Will do. Thank you. On Thu, Nov 12, 2015 at 2:48 AM, Fred Rolland <frolland@redhat.com> wrote:
Liam,
Can you open a bug on this and provide logs for engine and hosts ?
Thanks,
Freddy
On Wed, Nov 11, 2015 at 5:59 PM, Liam Curtis <lcurtis@datto.com> wrote:
Hi Sefi,
Sorry to be a pest. Any thoughts on this? I am getting around this by scp'ing the disk image of the template to the other host and then dd'ing it into a precreated template, but this seems like a hacky way to do things...
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Fred Rolland
-
Liam Curtis
-
Sefi Litmanovich