Cannot export VM to another data domain. "o.original_template is undefined"

Hello, 4.4.10 Gluster based cluster w/ 3 nodes. I'm backing up all VMs before upgrading the setup to 4.5. (Hopefully done right before 4.5.1 w/ Gluster fix is released). When trying to export a VM to another data domain, several VMs show the following error: "Export VM Failed. o.original_template is undefined". Engine log looks clean (I see nothing about the failed upgrade). Any idea what's broken? - Gilboa

P.S. I have no issues exporting this VM using the deprecated "export domain" method. - Gilboa On Wed, Jun 22, 2022 at 4:48 PM Gilboa Davara <gilboad@gmail.com> wrote:
Hello,
4.4.10 Gluster based cluster w/ 3 nodes. I'm backing up all VMs before upgrading the setup to 4.5. (Hopefully done right before 4.5.1 w/ Gluster fix is released). When trying to export a VM to another data domain, several VMs show the following error: "Export VM Failed. o.original_template is undefined".
Engine log looks clean (I see nothing about the failed upgrade).
Any idea what's broken? - Gilboa

can you check the dev console for messages? (F12 in chrome/firefox) On Wed, Jun 22, 2022 at 4:53 PM Gilboa Davara <gilboad@gmail.com> wrote:
P.S. I have no issues exporting this VM using the deprecated "export domain" method.
- Gilboa
On Wed, Jun 22, 2022 at 4:48 PM Gilboa Davara <gilboad@gmail.com> wrote:
Hello,
4.4.10 Gluster based cluster w/ 3 nodes. I'm backing up all VMs before upgrading the setup to 4.5. (Hopefully done right before 4.5.1 w/ Gluster fix is released). When trying to export a VM to another data domain, several VMs show the following error: "Export VM Failed. o.original_template is undefined".
Engine log looks clean (I see nothing about the failed upgrade).
Any idea what's broken? - Gilboa
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/SAGZ57R74SWS5V...

Hello, On Wed, Jun 22, 2022 at 4:56 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
can you check the dev console for messages? (F12 in chrome/firefox)
error export problem: TypeError: o.original_template is undefined Sa VmExportDataProvider.js:43 Sa VmExportDataProvider.js:58 onClick VmExportModal.js:45 React 9 unstable_runWithPriority scheduler.production.min.js:20 React 3 VmExportModal.js:49:14 - Gilboa
On Wed, Jun 22, 2022 at 4:53 PM Gilboa Davara <gilboad@gmail.com> wrote:
P.S. I have no issues exporting this VM using the deprecated "export
domain" method.
- Gilboa
On Wed, Jun 22, 2022 at 4:48 PM Gilboa Davara <gilboad@gmail.com> wrote:
Hello,
4.4.10 Gluster based cluster w/ 3 nodes. I'm backing up all VMs before upgrading the setup to 4.5. (Hopefully
done right before 4.5.1 w/ Gluster fix is released).
When trying to export a VM to another data domain, several VMs show the following error: "Export VM Failed. o.original_template is undefined".
Engine log looks clean (I see nothing about the failed upgrade).
Any idea what's broken? - Gilboa
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/SAGZ57R74SWS5V...

Seems like the issue is in this line[1], can you send an API request manually to: https://ovirt-fqdn/ovirt-engine/api/vms/<vm_id> and check the original_template field? Should look like this: <original_template href="/ovirt-engine/api/templates/e9dbb5c0-19b6-46ea-b80f-8813758adaa1" id="e9dbb5c0-19b6-46ea-b80f-8813758adaa1"/> [1] https://github.com/oVirt/ovirt-engine-ui-extensions/blob/a85d47d644d5785483f... On Wed, Jun 22, 2022 at 5:30 PM Gilboa Davara <gilboad@gmail.com> wrote:
Hello,
On Wed, Jun 22, 2022 at 4:56 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
can you check the dev console for messages? (F12 in chrome/firefox)
error export problem: TypeError: o.original_template is undefined Sa VmExportDataProvider.js:43 Sa VmExportDataProvider.js:58 onClick VmExportModal.js:45 React 9 unstable_runWithPriority scheduler.production.min.js:20 React 3 VmExportModal.js:49:14
- Gilboa
On Wed, Jun 22, 2022 at 4:53 PM Gilboa Davara <gilboad@gmail.com> wrote:
P.S. I have no issues exporting this VM using the deprecated "export domain" method.
- Gilboa
On Wed, Jun 22, 2022 at 4:48 PM Gilboa Davara <gilboad@gmail.com> wrote:
Hello,
4.4.10 Gluster based cluster w/ 3 nodes. I'm backing up all VMs before upgrading the setup to 4.5. (Hopefully done right before 4.5.1 w/ Gluster fix is released). When trying to export a VM to another data domain, several VMs show the following error: "Export VM Failed. o.original_template is undefined".
Engine log looks clean (I see nothing about the failed upgrade).
Any idea what's broken? - Gilboa
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/SAGZ57R74SWS5V...

Thanks for the prompt reply. How can I authenticate? No matter what user / password combo I use (including the full fqdn, user@internal-authz) I get the following error: access_denied: Cannot authenticate user 'XXX': No valid profile found in credentials.. - Gilboa On Wed, Jun 22, 2022 at 5:49 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Seems like the issue is in this line[1], can you send an API request manually to: https://ovirt-fqdn/ovirt-engine/api/vms/<vm_id> and check the original_template field? Should look like this: <original_template href="/ovirt-engine/api/templates/e9dbb5c0-19b6-46ea-b80f-8813758adaa1" id="e9dbb5c0-19b6-46ea-b80f-8813758adaa1"/>
[1] https://github.com/oVirt/ovirt-engine-ui-extensions/blob/a85d47d644d5785483f...
On Wed, Jun 22, 2022 at 5:30 PM Gilboa Davara <gilboad@gmail.com> wrote:
Hello,
On Wed, Jun 22, 2022 at 4:56 PM Benny Zlotnik <bzlotnik@redhat.com>
can you check the dev console for messages? (F12 in chrome/firefox)
error export problem: TypeError: o.original_template is undefined Sa VmExportDataProvider.js:43 Sa VmExportDataProvider.js:58 onClick VmExportModal.js:45 React 9 unstable_runWithPriority scheduler.production.min.js:20 React 3 VmExportModal.js:49:14
- Gilboa
On Wed, Jun 22, 2022 at 4:53 PM Gilboa Davara <gilboad@gmail.com>
wrote:
P.S. I have no issues exporting this VM using the deprecated "export
domain" method.
- Gilboa
On Wed, Jun 22, 2022 at 4:48 PM Gilboa Davara <gilboad@gmail.com>
wrote:
Hello,
4.4.10 Gluster based cluster w/ 3 nodes. I'm backing up all VMs before upgrading the setup to 4.5. (Hopefully
done right before 4.5.1 w/ Gluster fix is released).
When trying to export a VM to another data domain, several VMs show
wrote: the following error: "Export VM Failed. o.original_template is undefined".
Engine log looks clean (I see nothing about the failed upgrade).
Any idea what's broken? - Gilboa
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/SAGZ57R74SWS5V...

can you try with user@internal? On Wed, Jun 22, 2022 at 6:10 PM Gilboa Davara <gilboad@gmail.com> wrote:
Thanks for the prompt reply. How can I authenticate?
No matter what user / password combo I use (including the full fqdn, user@internal-authz) I get the following error: access_denied: Cannot authenticate user 'XXX': No valid profile found in credentials..
- Gilboa
On Wed, Jun 22, 2022 at 5:49 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Seems like the issue is in this line[1], can you send an API request manually to: https://ovirt-fqdn/ovirt-engine/api/vms/<vm_id> and check the original_template field? Should look like this: <original_template href="/ovirt-engine/api/templates/e9dbb5c0-19b6-46ea-b80f-8813758adaa1" id="e9dbb5c0-19b6-46ea-b80f-8813758adaa1"/>
[1] https://github.com/oVirt/ovirt-engine-ui-extensions/blob/a85d47d644d5785483f...
On Wed, Jun 22, 2022 at 5:30 PM Gilboa Davara <gilboad@gmail.com> wrote:
Hello,
On Wed, Jun 22, 2022 at 4:56 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
can you check the dev console for messages? (F12 in chrome/firefox)
error export problem: TypeError: o.original_template is undefined Sa VmExportDataProvider.js:43 Sa VmExportDataProvider.js:58 onClick VmExportModal.js:45 React 9 unstable_runWithPriority scheduler.production.min.js:20 React 3 VmExportModal.js:49:14
- Gilboa
On Wed, Jun 22, 2022 at 4:53 PM Gilboa Davara <gilboad@gmail.com> wrote:
P.S. I have no issues exporting this VM using the deprecated "export domain" method.
- Gilboa
On Wed, Jun 22, 2022 at 4:48 PM Gilboa Davara <gilboad@gmail.com> wrote:
Hello,
4.4.10 Gluster based cluster w/ 3 nodes. I'm backing up all VMs before upgrading the setup to 4.5. (Hopefully done right before 4.5.1 w/ Gluster fix is released). When trying to export a VM to another data domain, several VMs show the following error: "Export VM Failed. o.original_template is undefined".
Engine log looks clean (I see nothing about the failed upgrade).
Any idea what's broken? - Gilboa
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/SAGZ57R74SWS5V...

Works, thanks! Pretty large json, but there's no original_template field. (See attached). - Gilboa On Wed, Jun 22, 2022 at 6:40 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
can you try with user@internal?
On Wed, Jun 22, 2022 at 6:10 PM Gilboa Davara <gilboad@gmail.com> wrote:
Thanks for the prompt reply. How can I authenticate?
No matter what user / password combo I use (including the full fqdn,
user@internal-authz) I get the following error:
access_denied: Cannot authenticate user 'XXX': No valid profile found in credentials..
- Gilboa
On Wed, Jun 22, 2022 at 5:49 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Seems like the issue is in this line[1], can you send an API request manually to: https://ovirt-fqdn/ovirt-engine/api/vms/<vm_id> and check the original_template field? Should look like this: <original_template href="/ovirt-engine/api/templates/e9dbb5c0-19b6-46ea-b80f-8813758adaa1" id="e9dbb5c0-19b6-46ea-b80f-8813758adaa1"/>
[1]
https://github.com/oVirt/ovirt-engine-ui-extensions/blob/a85d47d644d5785483f...
On Wed, Jun 22, 2022 at 5:30 PM Gilboa Davara <gilboad@gmail.com>
wrote:
Hello,
On Wed, Jun 22, 2022 at 4:56 PM Benny Zlotnik <bzlotnik@redhat.com>
wrote:
can you check the dev console for messages? (F12 in chrome/firefox)
error export problem: TypeError: o.original_template is undefined Sa VmExportDataProvider.js:43 Sa VmExportDataProvider.js:58 onClick VmExportModal.js:45 React 9 unstable_runWithPriority scheduler.production.min.js:20 React 3 VmExportModal.js:49:14
- Gilboa
On Wed, Jun 22, 2022 at 4:53 PM Gilboa Davara <gilboad@gmail.com>
wrote:
P.S. I have no issues exporting this VM using the deprecated
"export domain" method.
- Gilboa
On Wed, Jun 22, 2022 at 4:48 PM Gilboa Davara <gilboad@gmail.com>
wrote:
> > Hello, > > 4.4.10 Gluster based cluster w/ 3 nodes. > I'm backing up all VMs before upgrading the setup to 4.5. (Hopefully done right before 4.5.1 w/ Gluster fix is released). > When trying to export a VM to another data domain, several VMs show the following error: "Export VM Failed. o.original_template is undefined". > > Engine log looks clean (I see nothing about the failed upgrade). > > Any idea what's broken? > - Gilboa
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/SAGZ57R74SWS5V...

Can you submit a bug? Looks like we may need to change this validation For a workaround, verify in the database that the original_template_id is null select original_template_id from vm_static where vm_guid = '16b5df4b-c3b5-4899-b5b1-336c3462494c'; if it indeed is you can set it to 00000000-0000-0000-0000-000000000000: update vm_static set original_template_id = '00000000-0000-0000-0000-000000000000' where vm_guid = '16b5df4b-c3b5-4899-b5b1-336c3462494c'; On Wed, Jun 22, 2022 at 6:47 PM Gilboa Davara <gilboad@gmail.com> wrote:
Works, thanks!
Pretty large json, but there's no original_template field. (See attached).
- Gilboa
On Wed, Jun 22, 2022 at 6:40 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
can you try with user@internal?
On Wed, Jun 22, 2022 at 6:10 PM Gilboa Davara <gilboad@gmail.com> wrote:
Thanks for the prompt reply. How can I authenticate?
No matter what user / password combo I use (including the full fqdn, user@internal-authz) I get the following error: access_denied: Cannot authenticate user 'XXX': No valid profile found in credentials..
- Gilboa
On Wed, Jun 22, 2022 at 5:49 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Seems like the issue is in this line[1], can you send an API request manually to: https://ovirt-fqdn/ovirt-engine/api/vms/<vm_id> and check the original_template field? Should look like this: <original_template href="/ovirt-engine/api/templates/e9dbb5c0-19b6-46ea-b80f-8813758adaa1" id="e9dbb5c0-19b6-46ea-b80f-8813758adaa1"/>
[1] https://github.com/oVirt/ovirt-engine-ui-extensions/blob/a85d47d644d5785483f...
On Wed, Jun 22, 2022 at 5:30 PM Gilboa Davara <gilboad@gmail.com> wrote:
Hello,
On Wed, Jun 22, 2022 at 4:56 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
can you check the dev console for messages? (F12 in chrome/firefox)
error export problem: TypeError: o.original_template is undefined Sa VmExportDataProvider.js:43 Sa VmExportDataProvider.js:58 onClick VmExportModal.js:45 React 9 unstable_runWithPriority scheduler.production.min.js:20 React 3 VmExportModal.js:49:14
- Gilboa
On Wed, Jun 22, 2022 at 4:53 PM Gilboa Davara <gilboad@gmail.com> wrote: > > P.S. I have no issues exporting this VM using the deprecated "export domain" method. > > - Gilboa > > On Wed, Jun 22, 2022 at 4:48 PM Gilboa Davara <gilboad@gmail.com> wrote: >> >> Hello, >> >> 4.4.10 Gluster based cluster w/ 3 nodes. >> I'm backing up all VMs before upgrading the setup to 4.5. (Hopefully done right before 4.5.1 w/ Gluster fix is released). >> When trying to export a VM to another data domain, several VMs show the following error: "Export VM Failed. o.original_template is undefined". >> >> Engine log looks clean (I see nothing about the failed upgrade). >> >> Any idea what's broken? >> - Gilboa > > _______________________________________________ > Users mailing list -- users@ovirt.org > To unsubscribe send an email to users-leave@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/SAGZ57R74SWS5V...

$ psql engine select original_template_id engine-# from vm_static engine-# where vm_guid = '16b5df4b-c3b5-4899-b5b1-336c3462494c'; original_template_id ---------------------- (1 row) update vm_static set original_template_id = '00000000-0000-0000-0000-000000000000' where vm_guid = '16b5df4b-c3b5-4899-b5b1-336c3462494c'; UPDATE 1 select original_template_id from vm_static where vm_guid = '16b5df4b-c3b5-4899-b5b1-336c3462494c'; original_template_id -------------------------------------- 00000000-0000-0000-0000-000000000000 (1 row) Now export works as advertised. Thanks. Regarding the BZ#, which component should I choose? Wouldn't the bug get auto-closed, as I'm still using 4.4.10? - Gilboa On Wed, Jun 22, 2022 at 7:05 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Can you submit a bug? Looks like we may need to change this validation
For a workaround, verify in the database that the original_template_id is null
select original_template_id from vm_static where vm_guid = '16b5df4b-c3b5-4899-b5b1-336c3462494c';
if it indeed is you can set it to 00000000-0000-0000-0000-000000000000: update vm_static set original_template_id = '00000000-0000-0000-0000-000000000000' where vm_guid = '16b5df4b-c3b5-4899-b5b1-336c3462494c';
On Wed, Jun 22, 2022 at 6:47 PM Gilboa Davara <gilboad@gmail.com> wrote:
Works, thanks!
Pretty large json, but there's no original_template field. (See
attached).
- Gilboa
On Wed, Jun 22, 2022 at 6:40 PM Benny Zlotnik <bzlotnik@redhat.com>
can you try with user@internal?
On Wed, Jun 22, 2022 at 6:10 PM Gilboa Davara <gilboad@gmail.com>
wrote:
Thanks for the prompt reply. How can I authenticate?
No matter what user / password combo I use (including the full fqdn,
user@internal-authz) I get the following error:
access_denied: Cannot authenticate user 'XXX': No valid profile found in credentials..
- Gilboa
On Wed, Jun 22, 2022 at 5:49 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Seems like the issue is in this line[1], can you send an API request manually to: https://ovirt-fqdn/ovirt-engine/api/vms/<vm_id> and check the original_template field? Should look like this: <original_template
wrote: href="/ovirt-engine/api/templates/e9dbb5c0-19b6-46ea-b80f-8813758adaa1"
id="e9dbb5c0-19b6-46ea-b80f-8813758adaa1"/>
[1] https://github.com/oVirt/ovirt-engine-ui-extensions/blob/a85d47d644d5785483f...
On Wed, Jun 22, 2022 at 5:30 PM Gilboa Davara <gilboad@gmail.com> wrote:
Hello,
On Wed, Jun 22, 2022 at 4:56 PM Benny Zlotnik <bzlotnik@redhat.com>
wrote:
> > can you check the dev console for messages? (F12 in chrome/firefox)
error export problem: TypeError: o.original_template is undefined Sa VmExportDataProvider.js:43 Sa VmExportDataProvider.js:58 onClick VmExportModal.js:45 React 9 unstable_runWithPriority scheduler.production.min.js:20 React 3 VmExportModal.js:49:14
- Gilboa
> > On Wed, Jun 22, 2022 at 4:53 PM Gilboa Davara <gilboad@gmail.com> wrote: > > > > P.S. I have no issues exporting this VM using the deprecated "export domain" method. > > > > - Gilboa > > > > On Wed, Jun 22, 2022 at 4:48 PM Gilboa Davara < gilboad@gmail.com> wrote: > >> > >> Hello, > >> > >> 4.4.10 Gluster based cluster w/ 3 nodes. > >> I'm backing up all VMs before upgrading the setup to 4.5. (Hopefully done right before 4.5.1 w/ Gluster fix is released). > >> When trying to export a VM to another data domain, several VMs show the following error: "Export VM Failed. o.original_template is undefined". > >> > >> Engine log looks clean (I see nothing about the failed upgrade). > >> > >> Any idea what's broken? > >> - Gilboa > > > > _______________________________________________ > > Users mailing list -- users@ovirt.org > > To unsubscribe send an email to users-leave@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/SAGZ57R74SWS5V... >

Regarding the BZ#, which component should I choose? ovirt-engine-ui-extensions
Wouldn't the bug get auto-closed, as I'm still using 4.4.10? Well, it still exists in 4.5 so it shouldn't auto-close

Done. https://bugzilla.redhat.com/show_bug.cgi?id=2100194 Thanks again! - Gilboa On Wed, Jun 22, 2022 at 8:01 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Regarding the BZ#, which component should I choose? ovirt-engine-ui-extensions
Wouldn't the bug get auto-closed, as I'm still using 4.4.10? Well, it still exists in 4.5 so it shouldn't auto-close
participants (2)
-
Benny Zlotnik
-
Gilboa Davara