Error importing OVA file - "Expected grain marker, received [Object, Object]
-
Trying to import an OVA file via the XOCE import VM section and it's failing with this log entry in settings -
No user expected grain marker, received [object Object]Here's a clip from the full error if that helps.
"crash_dumps": [], "virtual_size": 10485760000, "physical_utilisation": 24064, "type": "user", "sharable": false, "read_only": false, "other_config": {}, "storage_lock": false, "location": "2538546e-f69b-4ed5-8b77-9b0caba33c02", "managed": true, "missing": false, "parent": "OpaqueRef:NULL", "xenstore_data": {}, "sm_config": {}, "is_a_snapshot": false, "snapshot_of": "OpaqueRef:NULL", "snapshots": [], "snapshot_time": "19700101T00:00:00Z", "tags": [], "allow_caching": false, "on_boot": "persist", "metadata_of_pool": "", "metadata_latest": false, "is_tools_iso": false, "cbt_enabled": false }, "message": "expected grain marker, received [object Object]", "name": "Error", "stack": "Error: expected grain marker, received [object Object] at VMDKDirectParser.parseMarkedGrain (/opt/xo/xo-builds/xen-orchestra-202304010309/packages/xo-vmdk-to-vhd/src/vmdk-read.js:163:13) at VMDKDirectParser.blockIterator (/opt/xo/xo-builds/xen-orchestra-202304010309/packages/xo-vmdk-to-vhd/src/vmdk-read.js:197:17) at generateBlocks (/opt/xo/xo-builds/xen-orchestra-202304010309/packages/vhd-lib/createReadableSparseStream.js:119:22) at iterator (/opt/xo/xo-builds/xen-orchestra-202304010309/packages/vhd-lib/createReadableSparseStream.js:142:5)" }Any ideas what's malfunctioning? I'm using the latest CE build - 8a07b
It's been doing this for the past few builds (been trying for a few days updating thinking it was maybe being fixed in the most recent build).Thanks
Tony
-
Hi,
Is this file can be accessed by us so we can reproduce?
-
@olivierlambert Yep, here is the link:
-
Thank you! @Darkbeldin can you check if you can reproduce? If yes, we'll escalate to @florent

-
@olivierlambert sure let me try
-
@Darkbeldin I reproduce in XOA latest so I think you can escalate

-
This one is for you @florent

-
@olivierlambert @fataugie thanks for the head up , I am on it
(to be fair there is like 12 sub format of vmdk from only a descriptor file linked to a raw, to a multi level sparse compressed file ) -
@florent I tried a barebones cloud disk from Ubuntu (22.04) in OVA format last night for grins and giggles...... and that failed with the same message.
-
Any updates on this?
As of this morning's build (afadc) it's still an issue. -
@fataugie I am still working on it, I hope to fix it this week.
-
@fataugie I think I found it , at least
can you test this branch ?
https://github.com/vatesfr/xen-orchestra/pull/6779 -
@florent SUCCESS!
Just grabbed and built XOCE with that branch, ran an import and it worked just as expected.
I'll probably run a half dozen more imports over the next day or so. If anything weird pops up, I'll report back but this looks like it fixed the problem.
Thank you, I appreciate it!
-
@fataugie We'll merge it to master ASAP
thank you for your report(If you want to import a lot of ova, maybe you can use the new import from vmware feature ? )
-
@florent I would love to....but I transitioned from Hyper-V a few months ago. No VMWare to be found around here.
Without fail, these OVAs will be downloads from a variety of applications.
Thanks again!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login