<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[VM Creation Failure | "Expected int64, got 'N'\"]]></title><description><![CDATA[<p dir="auto"><strong>Good-day Folks,</strong></p>
<p dir="auto"><strong>MY ENVIRONMENT:</strong></p>
<ul>
<li><strong>XCP-ng:</strong> 3 nodes running v8.3.0</li>
<li><strong>XOA:</strong> v5.98.1 Build 20241024 (air-apped)</li>
<li><strong>NFS Server:</strong> Windows Server 2016</li>
<li><strong>Networking:</strong> Management network of hosts exist within the same VLAN as NFS Server</li>
</ul>
<p dir="auto"><strong>THE ISSUE:</strong><br />
I'm working through an issue with support, regarding some VDIs disappearing - at a fairly consistent interval - and this has made my lab environment unstable.  So, as a remedy, I created a new SR and I'm not having the same issues with VMs created on that SR.</p>
<p dir="auto">So I built a new VM and converted it to a template, then decided to create a new VM from that template.  However, I decided not to use the fast copy feature - just to benchmark how long it would take.  The VM creation task ran all the way to the end and then failed with the following error:</p>
<pre><code>vm.create
{
  "clone": false,
  "existingDisks": {
    "0": {
      "name_label": "Mail02_Disk1_OS",
      "name_description": "Operating System Disk for Mail02",
      "size": 161061273600,
      "$SR": "921094bf-12a3-78a2-f470-a2b6ad342647"
    }
  },
  "name_label": "MAIL02",
  "template": "d7973e98-2211-f806-f6ce-adce6cf4cca8",
  "VDIs": [
    {
      "name_description": "Data Disk for Mail02",
      "name_label": "MAIL02_Disk2_Data",
      "SR": "921094bf-12a3-78a2-f470-a2b6ad342647",
      "type": "system",
      "size": 161061273600
    }
  ],
  "VIFs": [
    {
      "network": "acc073bc-ed2d-adda-c67a-dd68f5b567a9",
      "allowedIpv4Addresses": [],
      "allowedIpv6Addresses": []
    }
  ],
  "CPUs": 4,
  "cpusMax": 4,
  "cpuWeight": null,
  "cpuCap": null,
  "name_description": "Mail Server #2 (running MailEnable)",
  "memoryMax": 17179869184,
  "memoryMin": 8589934592,
  "memoryStaticMax": null,
  "autoPoweron": true,
  "bootAfterCreate": true,
  "copyHostBiosStrings": false,
  "createVtpm": false,
  "destroyCloudConfigVdiAfterBoot": false,
  "secureBoot": true,
  "share": false,
  "coreOs": false,
  "tags": [
    "Member Server"
  ],
  "hvmBootFirmware": "uefi"
}
{
  "code": "INTERNAL_ERROR",
  "params": [
    "Failure(\"Expected int64, got 'N'\")"
  ],
  "call": {
    "method": "VM.set_memory_static_max",
    "params": [
      "OpaqueRef:5d925d4b-1de3-8ebb-7efa-22c98a4a1cf2",
      null
    ]
  },
  "message": "INTERNAL_ERROR(Failure(\"Expected int64, got 'N'\"))",
  "name": "XapiError",
  "stack": "XapiError: INTERNAL_ERROR(Failure(\"Expected int64, got 'N'\"))
    at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)
    at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/transports/json-rpc.mjs:38:21
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
    at process.callbackTrampoline (node:internal/async_hooks:128:17)"
}
</code></pre>
<p dir="auto">The template has a 150GB VDI and I attempted to add a second VDI to the VM at creation, so the process to about 30 minutes to complete, before throwing the error.  So thinking that perhaps it may be the copy time that took too long, I removed the second VDI and attempted the creation again.  It failed again with the same error.</p>
<p dir="auto">I welcome any assistance I can get on this, thank you.  As it stands now, my Proof of Concept testing has come to a halt, as I'm unable to create any new VMs.</p>
]]></description><link>https://xcp-ng.org/forum/topic/10252/vm-creation-failure-expected-int64-got-n</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 17:24:04 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/10252.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Jan 2025 19:41:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Sun, 19 Jan 2025 17:04:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Yes we can, however, it's unsettling not knowing the root cause.  But seems that restarting the Xen Toolstack may have resolved this issue.</p>
<p dir="auto">I haven't attempted creating a VM yet, so I'll do that when I get in tomorrow.</p>
]]></description><link>https://xcp-ng.org/forum/post/88469</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88469</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 19 Jan 2025 17:04:35 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Sun, 19 Jan 2025 14:24:40 GMT]]></title><description><![CDATA[<p dir="auto">Great, so at least we can rule out a memory or CPU issue with memory <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/88459</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88459</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sun, 19 Jan 2025 14:24:40 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Sun, 19 Jan 2025 08:28:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Memory tests on all three hosts completed successfully; results below.</p>
<p dir="auto"><strong>VMH01 (Master)</strong><br />
<img src="/forum/assets/uploads/files/1737275061158-vmh01_image1.png" alt="VMH01_Image1.png" class="img-markdown  img-fluid" /></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1737275082112-vmh01_image2.png" alt="VMH01_Image2.png" class="img-markdown  img-fluid" /></p>
<p dir="auto"><strong>VMH02</strong><br />
<img src="/forum/assets/uploads/files/1737275128407-vmh02_image1.png" alt="VMH02_Image1.png" class="img-markdown  img-fluid" /></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1737275128492-vmh02_image2.png" alt="VMH02_Image2.png" class="img-markdown  img-fluid" /></p>
<p dir="auto"><strong>VMH03</strong><br />
<img src="/forum/assets/uploads/files/1737275156726-vmh03_image1.png" alt="VMH03_Image1.png" class="img-markdown  img-fluid" /></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1737275156843-vmh03_image2.png" alt="VMH03_Image2.png" class="img-markdown  img-fluid" /></p>
]]></description><link>https://xcp-ng.org/forum/post/88454</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88454</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 19 Jan 2025 08:28:02 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Fri, 17 Jan 2025 18:21:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> yeah, I almost cried when it happened.</p>
]]></description><link>https://xcp-ng.org/forum/post/88390</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88390</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 17 Jan 2025 18:21:22 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Fri, 17 Jan 2025 17:36:51 GMT]]></title><description><![CDATA[<p dir="auto">Ouch <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
]]></description><link>https://xcp-ng.org/forum/post/88373</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88373</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 17 Jan 2025 17:36:51 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Fri, 17 Jan 2025 17:15:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> So, as luck would have it, the lab lost partial power around 10pm last night - right when the memtest had reached 98% complete on the 4th pass.  Unfortunately, I'm gonna have to run the tests again and let it run over the weekend.</p>
<p dir="auto">It took about 10 hours to run, so that should be enough hours over the weekend for all three hosts to finish.</p>
]]></description><link>https://xcp-ng.org/forum/post/88367</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88367</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 17 Jan 2025 17:15:32 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Thu, 16 Jan 2025 21:41:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Cool, I'll run the other two when I get back.  I'll kick them off simultaneously.</p>
]]></description><link>https://xcp-ng.org/forum/post/88293</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88293</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 16 Jan 2025 21:41:02 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Thu, 16 Jan 2025 21:38:11 GMT]]></title><description><![CDATA[<p dir="auto">If it's a lab and you can afford the time, at least we'll be on the safe side</p>
]]></description><link>https://xcp-ng.org/forum/post/88291</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88291</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 16 Jan 2025 21:38:11 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Thu, 16 Jan 2025 21:34:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Awesome, thanks for the explanation - I suspected that.  Cool, I'm gonna let it run all 4 passes.  Also, should I run the same on the other two hosts?</p>
]]></description><link>https://xcp-ng.org/forum/post/88290</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88290</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 16 Jan 2025 21:34:19 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Thu, 16 Jan 2025 21:07:48 GMT]]></title><description><![CDATA[<p dir="auto">@kagbasi-ngc Yes, top is executed from your Dom0, which is... a VM <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /> When you run memtest, you run it on the entire host. And yes, ideally let it run entirely.</p>
]]></description><link>https://xcp-ng.org/forum/post/88283</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88283</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 16 Jan 2025 21:07:48 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Thu, 16 Jan 2025 20:01:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> So, the memtest of the master host is still ongoing.  1 of 4 passes has completed and no errors have been found.  Do you want me to continue and let it run all 4 passes?</p>
<p dir="auto">One thing that struck me as odd is that even though I have 160GB of RAM installed on this host, when I run <code>top</code>, it's showing only 2.41GB of total RAM.  Is this normal?</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1737057093024-memtest_1.jpeg" alt="Memtest_1.jpeg" class="img-markdown  img-fluid" /></p>
]]></description><link>https://xcp-ng.org/forum/post/88271</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88271</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 16 Jan 2025 20:01:28 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Wed, 15 Jan 2025 16:17:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Do you want the memtest on all three hosts, or just the master (VMH01)?</p>
]]></description><link>https://xcp-ng.org/forum/post/88172</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88172</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 15 Jan 2025 16:17:07 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Wed, 15 Jan 2025 14:58:26 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:1.4em;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /> Yeah that's weird, but I'm still concerned about the hardware.</p>
]]></description><link>https://xcp-ng.org/forum/post/88156</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88156</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 15 Jan 2025 14:58:26 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Wed, 15 Jan 2025 01:27:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> So, while troubleshooting <a href="https://xcp-ng.org/forum/topic/10201/vdi_copy_failed-failed-to-find-parent/4?_=1736896665515">this issue</a>, I restarted the Xen Toolstack on the pool master (VMH01).</p>
<p dir="auto">So I tried creating the VM just to see if perhaps the toolstack restart would've had an effect, and it worked (<em>using fast clone</em>).  I then tried without fast clone and it worked as well.  Looks like restarting the toolstack on the pool master did the trick - though very concerning why this happened in the first place without any warnings of any underlying issues.</p>
]]></description><link>https://xcp-ng.org/forum/post/88132</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88132</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 15 Jan 2025 01:27:20 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Tue, 14 Jan 2025 23:00:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> You mean run a memtest within the OS or via the BIOS?  I can certainly do that tonight, I'm in the lab now and will be here for 3-4 hours.</p>
]]></description><link>https://xcp-ng.org/forum/post/88128</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88128</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 14 Jan 2025 23:00:49 GMT</pubDate></item><item><title><![CDATA[Reply to VM Creation Failure | "Expected int64, got 'N'\" on Tue, 14 Jan 2025 19:46:44 GMT]]></title><description><![CDATA[<p dir="auto">@kagbasi-ngc said in <a href="/forum/post/88122">VM Creation Failure | "Expected int64, got 'N'\"</a>:</p>
<blockquote>
<p dir="auto">INTERNAL_ERROR(Failure("Expected int64, got 'N'"))</p>
</blockquote>
<p dir="auto">This is weird, it doesn't ring any bell <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:1.4em;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /></p>
<p dir="auto">I would have a relative confidence on a such unstable setup, the first thing I'd like to rule out is hardware (at least CPU &amp; RAM). Can you run a memtest on this?</p>
]]></description><link>https://xcp-ng.org/forum/post/88124</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/88124</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 14 Jan 2025 19:46:44 GMT</pubDate></item></channel></rss>