<?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[How to deploy the new k8s on latest XOA 5.106?]]></title><description><![CDATA[<p dir="auto">I'm trying to deploy the updated k8s cluster on XOA 5.106 but it fails quietly.</p>
<p dir="auto">After digging through the logs I was able to find this:</p>
<pre><code>{
  "id": "0ma67t63q",
  "properties": {
    "method": "xoa.recipe.createKubernetesCluster",
    "params": {
      "clusterName": "VersatusHPC",
      "controlPlanePoolSize": 3,
      "k8sVersion": "1.33",
      "nbNodes": 3,
      "network": "4751905f-b4db-2d54-d05d-0c1be97a0260",
      "sr": "f2d0eb72-4016-4b3b-8dc0-bc2a16df6c35",
      "sshKey": "ssh-ed25519 AAAAC3NzaC1lZDI"
    },
    "name": "API call: xoa.recipe.createKubernetesCluster",
    "userId": "fd28fb18-c3f1-429b-919f-4e8ae57dde0e",
    "type": "api.call"
  },
  "start": 1746155348774,
  "status": "failure",
  "updatedAt": 1746155466728,
  "end": 1746155466728,
  "result": {
    "code": 10,
    "data": {
      "errors": [
        {
          "instancePath": "",
          "schemaPath": "#/required",
          "keyword": "required",
          "params": {
            "missingProperty": "template"
          },
          "message": "must have required property 'template'"
        }
      ]
    },
    "message": "invalid parameters",
    "name": "XoError",
    "stack": "XoError: invalid parameters\n    at Module.invalidParameters (/usr/local/lib/node_modules/xo-server/node_modules/xo-common/src/api-errors.js:21:32)\n    at Xo.call (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:121:22)\n    at Api.#callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:409:19)\n    at Xoa.createCluster (/usr/local/lib/node_modules/xo-server-xoa/src/recipes/kubernetes-cluster.js:262:28)\n    at Task.runInside (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:175:22)\n    at Task.run (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:159:20)\n    at Api.#callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:469:18)"
  }
}
</code></pre>
<p dir="auto">However that wasn't that helpful.</p>
<p dir="auto">I tried changing options and atributes and got a little further but it ended up with a similar issue:</p>
<pre><code>{
  "id": "0ma78aljw",
  "properties": {
    "method": "xoa.recipe.createKubernetesCluster",
    "params": {
      "clusterName": "VersatusHPC",
      "controlPlaneIpAddresses": [
        "10.20.0.151/24",
        "10.20.0.152/24",
        "10.20.0.153/24"
      ],
      "controlPlanePoolSize": 3,
      "gatewayIpAddress": "10.20.0.1",
      "k8sVersion": "1.33",
      "nameservers": [
        "10.20.0.1"
      ],
      "nbNodes": 3,
      "network": "a28fd0a8-70e2-8fc6-cefa-12c46c8f47cb",
      "searches": [
        "local.versatushpc.com.br",
        "versatushpc.com.br"
      ],
      "sr": "f2d0eb72-4016-4b3b-8dc0-bc2a16df6c35",
      "sshKey": "ssh-ed25519 AAAAC3NzaC1lZDI1N",
      "vipAddress": "10.20.0.150/24",
      "workerNodeIpAddresses": [
        "10.20.0.154/24",
        "10.20.0.155/24",
        "10.20.0.156/24"
      ]
    },
    "name": "API call: xoa.recipe.createKubernetesCluster",
    "userId": "fd28fb18-c3f1-429b-919f-4e8ae57dde0e",
    "type": "api.call"
  },
  "start": 1746216628124,
  "status": "failure",
  "updatedAt": 1746217416799,
  "end": 1746217416798,
  "result": {
    "message": "Cannot read properties of undefined (reading 'VM')",
    "name": "TypeError",
    "stack": "TypeError: Cannot read properties of undefined (reading 'VM')\n    at Xoa.createCluster (/usr/local/lib/node_modules/xo-server-xoa/src/recipes/kubernetes-cluster.js:488:22)\n    at Task.runInside (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:175:22)\n    at Task.run (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:159:20)\n    at Api.#callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:469:18)"
  }
}
</code></pre>
<p dir="auto">I can see 3 control planes and 3 works were deployed. However it does not complete the task.</p>
<p dir="auto">What steps I further need to take to investigate the issue?</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://xcp-ng.org/forum/topic/10807/how-to-deploy-the-new-k8s-on-latest-xoa-5.106</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 13:43:23 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/10807.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 May 2025 20:00:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to deploy the new k8s on latest XOA 5.106? on Mon, 12 May 2025 13:45:53 GMT]]></title><description><![CDATA[<p dir="auto">These two bugs have been fixed in the latest release <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=bbd7a2dd886" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/92828</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92828</guid><dc:creator><![CDATA[Cyrille]]></dc:creator><pubDate>Mon, 12 May 2025 13:45:53 GMT</pubDate></item><item><title><![CDATA[Reply to How to deploy the new k8s on latest XOA 5.106? on Tue, 06 May 2025 08:17:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ferrao" aria-label="Profile: ferrao">@<bdi>ferrao</bdi></a> Yes it is. At the end the task disappears unless there is an error / failure.</p>
]]></description><link>https://xcp-ng.org/forum/post/92648</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92648</guid><dc:creator><![CDATA[Cyrille]]></dc:creator><pubDate>Tue, 06 May 2025 08:17:42 GMT</pubDate></item><item><title><![CDATA[Reply to How to deploy the new k8s on latest XOA 5.106? on Mon, 05 May 2025 16:54:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/cyrille" aria-label="Profile: Cyrille">@<bdi>Cyrille</bdi></a> said in <a href="/forum/post/92632">How to deploy the new k8s on latest XOA 5.106?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ferrao" aria-label="Profile: ferrao">@<bdi>ferrao</bdi></a> open the VMs list (Home&gt;VMs), click on "Filters" near the search bar, and then click "Save...", in the popup dialog enter a name for the filter and click "OK".</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1746456413368-snapshot_2025-05-05_16-41-58.png" alt="Snapshot_2025-05-05_16-41-58.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">This should be enough to workaround the 2nd bug that happened at the end (that prevent to save the tag that is added to the clusters VMs)</p>
</blockquote>
<p dir="auto">Hello. Thanks, it seems to have worked. The deployment screen no longer hangs. However I don't get any feedback at the finish.</p>
<p dir="auto">And on the Task log, the log about the Kubernetes cluster seems to be gone:</p>
<pre><code>Cannot GET /rest/v0/tasks/0mabaot5t
</code></pre>
<p dir="auto">I've selected this task:</p>
<pre><code>API call: xoa.recipe.createKubernetesCluster			2025-05-05 13:28	
</code></pre>
<p dir="auto">Is this expected?</p>
]]></description><link>https://xcp-ng.org/forum/post/92638</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92638</guid><dc:creator><![CDATA[ferrao]]></dc:creator><pubDate>Mon, 05 May 2025 16:54:49 GMT</pubDate></item><item><title><![CDATA[Reply to How to deploy the new k8s on latest XOA 5.106? on Mon, 05 May 2025 14:49:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ferrao" aria-label="Profile: ferrao">@<bdi>ferrao</bdi></a> open the VMs list (Home&gt;VMs), click on "Filters" near the search bar, and then click "Save...", in the popup dialog enter a name for the filter and click "OK".</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1746456413368-snapshot_2025-05-05_16-41-58.png" alt="Snapshot_2025-05-05_16-41-58.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">This should be enough to workaround the 2nd bug that happened at the end (that prevent to save the tag that is added to the clusters VMs)</p>
]]></description><link>https://xcp-ng.org/forum/post/92632</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92632</guid><dc:creator><![CDATA[Cyrille]]></dc:creator><pubDate>Mon, 05 May 2025 14:49:44 GMT</pubDate></item><item><title><![CDATA[Reply to How to deploy the new k8s on latest XOA 5.106? on Mon, 05 May 2025 14:39:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/cyrille" aria-label="Profile: Cyrille">@<bdi>Cyrille</bdi></a> said in <a href="/forum/post/92615">How to deploy the new k8s on latest XOA 5.106?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ferrao" aria-label="Profile: ferrao">@<bdi>ferrao</bdi></a> Thank you for the logs, with it I was able to reproduce the bug.</p>
<p dir="auto">It's at the end of the recipe, when the tag associated with the k8s cluster is saved in the user's custom filters. This has no effect on the cluster creation, as this is done at the end when everything else is done.</p>
<p dir="auto">To avoid this bug in future runs, you can save a custom filter from the search field in the VMs list.</p>
<p dir="auto">About the first error you encounter, it's related to the template used to create the VM, which seems not available at the VM creation... I'm working on this to understand why.</p>
</blockquote>
<p dir="auto">I think I was able to nail down the first one as a DHCP server with insufficient leases for all VMs. Because when I used static IP addresses I was able to generate the second log.</p>
<p dir="auto">I'll try to create the tag you mentioned now and redeploy everything from scratch. Is there any specific text tag that I should create? I'm not sure if I understand 100% the procedure.</p>
]]></description><link>https://xcp-ng.org/forum/post/92630</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92630</guid><dc:creator><![CDATA[ferrao]]></dc:creator><pubDate>Mon, 05 May 2025 14:39:12 GMT</pubDate></item><item><title><![CDATA[Reply to How to deploy the new k8s on latest XOA 5.106? on Mon, 05 May 2025 11:10:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ferrao" aria-label="Profile: ferrao">@<bdi>ferrao</bdi></a> Thank you for the logs, with it I was able to reproduce the bug.</p>
<p dir="auto">It's at the end of the recipe, when the tag associated with the k8s cluster is saved in the user's custom filters. This has no effect on the cluster creation, as this is done at the end when everything else is done.</p>
<p dir="auto">To avoid this bug in future runs, you can save a custom filter from the search field in the VMs list.</p>
<p dir="auto">About the first error you encounter, it's related to the template used to create the VM, which seems not available at the VM creation... I'm working on this to understand why.</p>
]]></description><link>https://xcp-ng.org/forum/post/92615</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92615</guid><dc:creator><![CDATA[Cyrille]]></dc:creator><pubDate>Mon, 05 May 2025 11:10:50 GMT</pubDate></item><item><title><![CDATA[Reply to How to deploy the new k8s on latest XOA 5.106? on Sat, 03 May 2025 17:53:37 GMT]]></title><description><![CDATA[<p dir="auto">Let me ping the appropriate team in here <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=bbd7a2dd886" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Ping <a class="plugin-mentions-group plugin-mentions-a" href="/forum/groups/team-devops" aria-label="Profile: Team-DevOps">@<bdi>Team-DevOps</bdi></a></p>
]]></description><link>https://xcp-ng.org/forum/post/92582</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/92582</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sat, 03 May 2025 17:53:37 GMT</pubDate></item></channel></rss>