XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    K8s recipe - ticket lodged already

    Scheduled Pinned Locked Moved Advanced features
    8 Posts 3 Posters 1.6k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tking-f5
      last edited by olivierlambert

      This is simply to share updates on the forum once we find a solution.

      We attempted to deploy a K8s recipe on XOA 5.98.1.
      1 control and 1 worker.
      Static IPs.
      SSH key.

      {
        "message": "no object with UUID or opaque ref: undefined",
        "name": "Error",
        "stack": "Error: no object with UUID or opaque ref: undefined
          at Xapi.apply (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:757:11)
          at Xapi.getObject (file:///usr/local/lib/node_modules/xo-server/src/xapi/index.mjs:98:26)
          at Xapi.apply (file:///usr/local/lib/node_modules/xo-server/src/xapi/mixins/vm.mjs:63:27)
          at Xapi.createVm (/usr/local/lib/node_modules/xo-server/node_modules/golike-defer/src/index.js:85:19)
          at Xoa.createCluster (/usr/local/lib/node_modules/xo-server-xoa/src/recipes/kubernetes-cluster.js:395:35)
          at Task.runInside (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:169:22)
          at Task.run (/usr/local/lib/node_modules/xo-server/node_modules/@vates/task/index.js:153:20)
          at Api.#callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:389:20)"
      }
      

      I'll update here once we find a solution with the folks at Vates.

      1 Reply Last reply
      Reply Quote 0
      • olivierlambertO
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Do you have the same issue on latest?

        T 1 Reply Last reply
        Reply Quote 0
        • T
          tking-f5 @olivierlambert
          last edited by

          @olivierlambert said in K8s recipe - ticket lodged already:

          Do you have the same issue on latest?

          I haven't tried the Latest channel since the cluster is considered production. How risky would it be?

          1 Reply Last reply
          Reply Quote 0
          • olivierlambertO
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            It's rather stable, you can just go to it and rollback after testing anyway 🙂

            T 1 Reply Last reply
            Reply Quote 0
            • T
              tking-f5 @olivierlambert
              last edited by

              @olivierlambert 'Latest' got us past that error. Now it stopped with just the Control Plane VM and the recipe's task still Pending.

              nathanael-hN 1 Reply Last reply
              Reply Quote 0
              • nathanael-hN
                nathanael-h Vates 🪐 DevOps Team @tking-f5
                last edited by

                @tking-f5 Could you share the version of kubernetes you tried to install, and the raw logs of the task pending?

                T 1 Reply Last reply
                Reply Quote 0
                • T
                  tking-f5 @nathanael-h
                  last edited by Danp

                  @nathanael-h - this includes the K8s version:

                  {
                    "id": "0m296bs8j",
                    "properties": {
                      "method": "xoa.recipe.createKubernetesCluster",
                      "params": {
                        "clusterName": "seanp-evaluation-cluster",
                        "controlPlaneIpAddress": "10.146.30.7/26",
                        "controlPlanePoolSize": 1,
                        "gatewayIpAddress": "10.146.30.62",
                        "k8sVersion": "1.31.1",
                        "nameservers": [
                          "192.168.180.15"
                        ],
                        "nbNodes": 1,
                        "network": "0311868b-99a6-8959-8a1f-8ed2e6a0acd1",
                        "sr": "4c4a1c4a-20a9-c0a0-c395-70a645bbfc7c",
                        "sshKey": "<<<redacted>>>",
                        "workerNodeIpAddresses": [
                          "10.146.30.8/26"
                        ]
                      },
                      "name": "API call: xoa.recipe.createKubernetesCluster",
                      "userId": "004e5612-89cd-4e23-890a-83d36b6c8cee",
                      "type": "api.call"
                    },
                    "start": 1728919997875,
                    "status": "pending",
                    "updatedAt": 1728919997875
                  }
                  
                  1 Reply Last reply
                  Reply Quote 0
                  • T
                    tking-f5
                    last edited by

                    It appears this works on 'Latest' / 5.99.1. We're now going to look at the cluster to see how the cluster is designed via the recipe. Thanks!

                    1 Reply Last reply
                    Reply Quote 0

                    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
                    • First post
                      Last post