XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. ThasianXi
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 23
    • Groups 0

    ThasianXi

    @ThasianXi

    11
    Reputation
    4
    Profile views
    23
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    ThasianXi Unfollow Follow

    Best posts made by ThasianXi

    • RE: Enabling and using NBD backups

      @MrNaz I recommend reading the XO blog; updates are published monthly.

      NBD was introduced in the 5.76 release and the ability to enable in the Xen Orchestra UI was introduced in 5.79
      https://xen-orchestra.com/blog/xen-orchestra-5-76/
      https://xen-orchestra.com/blog/xen-orchestra-5-79/

      Also enhancements were released in 5.81
      https://xen-orchestra.com/blog/xen-orchestra-5-81/

      posted in Xen Orchestra
      T
      ThasianXi
    • RE: Xen Orchestra netbox sync error

      @sb2014 In the 5.85 release of XO there were updates to the Netbox plugin that now requires three objects in the UUID field.
      https://xen-orchestra.com/blog/xen-orchestra-5-85/

      Here are the ones you need:

      Virtualization > cluster
      Virtualization > virtual machine 
      Virtualization > interface
      
      posted in Advanced features
      T
      ThasianXi
    • RE: VM Boot Order via XO?

      @cichy This can be accomplished using vApps via the CLI.
      Check out this forum post in which a member shared the process: XCP-ng Pool Boot Order

      posted in Migrate to XCP-ng
      T
      ThasianXi
    • RE: very slow disk ssd support all vms xcp-ng8.2.1

      @comdirect
      Use this command: (replace sda in the command below with the relevant device)
      cat /sys/block/sda/queue/scheduler
      The active scheduler will be enclosed in brackets. e.g. noop deadline [cfq]

      For multiple drives use:
      grep "" /sys/block/*/queue/scheduler

      posted in Hardware
      T
      ThasianXi
    • RE: Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      @jmara Thank you for the input. All pods are running with caveats. ⚠

      Prior to executing the installation, I updated the image name to ghcr.io/vatesfr/xenorchestra-csi:edge in the manifests.
      After executing the install, I had to manually edit the image name in the DaemonSet, from ghcr.io/vatesfr/xenorchestra-csi-driver:edge to ghcr.io/vatesfr/xenorchestra-csi:edge.
      After editing the DaemonSet, the node pods restarted and transitioned to running.

      However, the controller pod was still attempting to pull this image: ghcr.io/vatesfr/xenorchestra-csi-driver:edge and never transitioned to running.
      To correct that, I edited the image name in the Deployment, from ghcr.io/vatesfr/xenorchestra-csi-driver:edge to ghcr.io/vatesfr/xenorchestra-csi:edge.

      Thus after editing the DaemonSet and Deployment, the pods transitioned to running. ⛳

      kgp -nkube-system | grep csi*
      csi-xenorchestra-controller-b5b695fb-ts4b9               3/3     Running   0          4m8s
      csi-xenorchestra-node-27qzg                              3/3     Running   0          6m21s
      csi-xenorchestra-node-4bflf                              3/3     Running   0          6m20s
      csi-xenorchestra-node-8tb5m                              3/3     Running   0          6m20s
      csi-xenorchestra-node-t9m78                              3/3     Running   0          6m20s
      
      posted in Infrastructure as Code
      T
      ThasianXi
    • RE: Feedback: XO Cloud Controller Manager (CCM)

      @nathanael-h I have not yet tried the XO CSI driver, if I do I will leave feedback on the relevant thread. (I found the one started in 2025 November)

      posted in Infrastructure as Code
      T
      ThasianXi
    • Feedback: XO Cloud Controller Manager (CCM)

      Offering feedback that my implementation of the XO CCM (v1.0.0-rc.1) into my K8s cluster was successful; I validated that the nodes were labeled as expected. I attached screenshots from Rancher and the CLI.
      In my lab, I use OCNE 1.9 (Oracle Cloud Native Environment) on Oracle Linux 9.7.

      In my setup, I edited the kubeadm-config ConfigMap and on all nodes added the Kubelet argument for the cloud provider.
      I restarted the Kubelet on all nodes and then deployed the CCM via Method 1 per the documentation

      āš— From my setup to set the cloud-provider:

      kubectl edit cm kubeadm-config -n kube-system

      apiServer:
        extraArgs:
          cloud-provider: external
      controllerManager:
        extraArgs:
          cloud-provider: external
      

      sudo vim /etc/sysconfig/kubelet

      KUBELET_EXTRA_ARGS="--fail-swap-on=false --cloud-provider=external"
      

      sudo systemctl daemon-reload && sudo systemctl restart kubelet

      Rancher_XO_CCM_labels.png

      OCNE_XO-CCM_pod.png

      posted in Infrastructure as Code
      T
      ThasianXi
    • RE: Installation of XCP Guest tool frivers on RHEL9

      @Denson You can mount from the CD in Xen Orchestra on the Console tab or install from the EPEL repo. (I always install from EPEL)

      EPEL install:
      dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y

      Tool install:
      dnf install xe-guest-utilities-latest -y
      Be sure to enable and start after installing: systemctl enable --now xe-linux-distribution

      Doc ref: https://xcp-ng.org/docs/guests.html#linux

      posted in Compute
      T
      ThasianXi

    Latest posts made by ThasianXi

    • RE: xe-gues-utilities woes on openSUSE Leap 16

      @damjank If possible, consider trying the Rust-based Xen guest agent: Rust guest tools 0.4.0

      Download and installation:

      curl https://gitlab.com/xen-project/xen-guest-agent/-/jobs/6041686376/artifacts/raw/RPMS/x86_64/xen-guest-agent-0.4.0-0.fc37.x86_64.rpm -O
      
      rpm -i xen-guest-agent-0.4.0-0.fc37.x86_64.rpm
      
      systemctl enable xen-guest-agent.service --now
      
      posted in XCP-ng
      T
      ThasianXi
    • RE: Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      šŸ Just a follow-up that the PV and PVC creation was successful.
      All pods stable since previous post. āœ”

      k get pv
      NAME              CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS      CLAIM                        STORAGECLASS          VOLUMEATTRIBUTESCLASS   REASON   AGE
      dtw-6m            2Gi        RWO            Retain           Bound       kube-system/xo-csi-test      csi-xenorchestra-sc   <unset>                          10h
      
      
      k get pvc -nkube-system
      NAME          STATUS   VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS          VOLUMEATTRIBUTESCLASS   AGE
      xo-csi-test   Bound    dtw-6m   2Gi        RWO            csi-xenorchestra-sc   <unset>                 9h
      
      kgp -nkube-system | grep csi*
      csi-xenorchestra-controller-b5b695fb-ts4b9               3/3     Running   0          43h
      csi-xenorchestra-node-27qzg                              3/3     Running   0          43h
      csi-xenorchestra-node-4bflf                              3/3     Running   0          43h
      csi-xenorchestra-node-8tb5m                              3/3     Running   0          43h
      csi-xenorchestra-node-t9m78                              3/3     Running   0          43h
      
      posted in Infrastructure as Code
      T
      ThasianXi
    • RE: very slow disk ssd support all vms xcp-ng8.2.1

      @comdirect
      Use this command: (replace sda in the command below with the relevant device)
      cat /sys/block/sda/queue/scheduler
      The active scheduler will be enclosed in brackets. e.g. noop deadline [cfq]

      For multiple drives use:
      grep "" /sys/block/*/queue/scheduler

      posted in Hardware
      T
      ThasianXi
    • RE: Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      @jmara Thank you for the input. All pods are running with caveats. ⚠

      Prior to executing the installation, I updated the image name to ghcr.io/vatesfr/xenorchestra-csi:edge in the manifests.
      After executing the install, I had to manually edit the image name in the DaemonSet, from ghcr.io/vatesfr/xenorchestra-csi-driver:edge to ghcr.io/vatesfr/xenorchestra-csi:edge.
      After editing the DaemonSet, the node pods restarted and transitioned to running.

      However, the controller pod was still attempting to pull this image: ghcr.io/vatesfr/xenorchestra-csi-driver:edge and never transitioned to running.
      To correct that, I edited the image name in the Deployment, from ghcr.io/vatesfr/xenorchestra-csi-driver:edge to ghcr.io/vatesfr/xenorchestra-csi:edge.

      Thus after editing the DaemonSet and Deployment, the pods transitioned to running. ⛳

      kgp -nkube-system | grep csi*
      csi-xenorchestra-controller-b5b695fb-ts4b9               3/3     Running   0          4m8s
      csi-xenorchestra-node-27qzg                              3/3     Running   0          6m21s
      csi-xenorchestra-node-4bflf                              3/3     Running   0          6m20s
      csi-xenorchestra-node-8tb5m                              3/3     Running   0          6m20s
      csi-xenorchestra-node-t9m78                              3/3     Running   0          6m20s
      
      posted in Infrastructure as Code
      T
      ThasianXi
    • RE: Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      @nathanael-h
      šŸ The image pull was successful to my local computer using the same classic personal access token I generated and set as the regcred secret.
      2602_ghcr_xocsi.png


      šŸ’”
      Looking at the documentation again and since I am not using MicroK8s, I tried something different but the result was the same. (the pods never transitioned to a running state).

      This time, prior to executing the install script, I updated the kubelet-registration-path and the volume path in the csi-xenorchestra-node-single.yaml and csi-xenorchestra-node.yaml files.
      (I believe this would be an opportunity to update the README for clarity on what to update based on the Kubernetes platform i.e. MicroK8s vs non-MicroK8s -- I can submit a PR for this, if you like)
      excerpts:

       - --kubelet-registration-path=/var/lib/kubelet/plugins/csi.xenorchestra.vates.tech/csi.sock
       #- --kubelet-registration-path=/var/snap/microk8s/common/var/lib/kubelet/plugins/csi.xenorchestra.vates.tech/csi.sock
      -------------------------
       volumes:
              - hostPath:
                  path: /var/lib/kubelet/plugins/csi.xenorchestra.vates.tech
                  type: DirectoryOrCreate
                name: socket-dir
      

      On the control-plane:

      [root@xxxx kubelet]# pwd
      /var/lib/kubelet
      [root@xxxx  kubelet]# tree plugins
      plugins
      └── csi.xenorchestra.vates.tech
      
       kgp -nkube-system | grep csi
      csi-xenorchestra-controller-748db9b45b-w4zk4             2/3     ImagePullBackOff   19 (12s ago)     41m
      csi-xenorchestra-node-6zzv8                              1/3     CrashLoopBackOff   11 (3m51s ago)   41m
      csi-xenorchestra-node-8r4ml                              1/3     CrashLoopBackOff   11 (3m59s ago)   41m
      csi-xenorchestra-node-btrsb                              1/3     CrashLoopBackOff   11 (4m11s ago)   41m
      csi-xenorchestra-node-w69pc                              1/3     CrashLoopBackOff   11 (4m3s ago)    41m
      

      Excerpt from /var/log/messages:

      Feb 18 22:21:44 xxx kubelet[50541]: I0218 22:21:44.474317   50541 scope.go:117] "RemoveContainer" containerID="26d29856a551fe7dfd873a3f8124584d400d1a88d77cdb4c1797a9726fa85408"
      Feb 18 22:21:44 xxx crio[734]: time="2026-02-18 22:21:44.475900036-05:00" level=info msg="Checking image status: ghcr.io/vatesfr/xenorchestra-csi-driver:edge" id=308f8922-453b-481f-804d-3d85b489b933 name=/runtime.v1.ImageService/ImageStatus
      Feb 18 22:21:44 xxx crio[734]: time="2026-02-18 22:21:44.476149865-05:00" level=info msg="Image ghcr.io/vatesfr/xenorchestra-csi-driver:edge not found" id=308f8922-453b-481f-804d-3d85b489b933 name=/runtime.v1.ImageService/ImageStatus
      Feb 18 22:21:44 xxx crio[734]: time="2026-02-18 22:21:44.476188202-05:00" level=info msg="Image ghcr.io/vatesfr/xenorchestra-csi-driver:edge not found" id=308f8922-453b-481f-804d-3d85b489b933 name=/runtime.v1.ImageService/ImageStatus
      Feb 18 22:21:44 xxx kubelet[50541]: E0218 22:21:44.476862   50541 pod_workers.go:1298] "Error syncing pod, skipping" err="[failed to \"StartContainer\" for \"node-driver-registrar\" with CrashLoopBackOff: \"back-off 5m0s restarting failed container=node-driver-registrar pod=csi-xenorchestra-node-btrsb_kube-system(433e69c9-2da9-4e23-b92b-90918bd36248)\", failed to \"StartContainer\" for \"xenorchestra-csi-driver\" with ImagePullBackOff: \"Back-off pulling image \\\"ghcr.io/vatesfr/xenorchestra-csi-driver:edge\\\"\"]" pod="kube-system/csi-xenorchestra-node-btrsb" podUID="433e69c9-2da9-4e23-b92b-90918bd36248"
      

      Any other suggestions in the meantime or if I can collect more information, let me know.

      posted in Infrastructure as Code
      T
      ThasianXi
    • RE: Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      My validation of this was not successful; I used the Quick Start PoC.
      Pods eventually went into CrashLoopBackOff after ErrImagePull and ImagePullBackOff.
      I created a GitHub token with these permissions: public_repo, read:packages. I also used a token with more permissions (although that was futile) however, I figured at least it required the aforementioned ones.

      I have since uninstalled via the script but captured the following events from the controller and one of the node pods:

      kgp -nkube-system | grep csi*
      
      csi-xenorchestra-controller-748db9b45b-z26h6             1/3     CrashLoopBackOff   31 (2m31s ago)   77m
      csi-xenorchestra-node-4jw9z                              1/3     CrashLoopBackOff   18 (42s ago)     77m
      csi-xenorchestra-node-7wcld                              1/3     CrashLoopBackOff   18 (58s ago)     77m
      csi-xenorchestra-node-8jrlq                              1/3     CrashLoopBackOff   18 (34s ago)     77m
      csi-xenorchestra-node-hqwjj                              1/3     CrashLoopBackOff   18 (50s ago)     77m
      

      Pod events:
      csi-xenorchestra-controller-748db9b45b-z26h6

      Normal  BackOff  3m48s (x391 over 78m)  kubelet  Back-off pulling image "ghcr.io/vatesfr/xenorchestra-csi-driver:edge"
      

      csi-xenorchestra-node-4jw9z

      Normal   BackOff  14m (x314 over 79m)    kubelet  Back-off pulling image "ghcr.io/vatesfr/xenorchestra-csi-driver:edge"
      Warning  BackOff  4m21s (x309 over 78m)  kubelet  Back-off restarting failed container node-driver-registrar in pod csi-xenorchestra-node-4jw9z_kube-system(b533c28b-1f28-488a-a31e-862117461964)
      

      I can deploy again and capture more information if needed.

      posted in Infrastructure as Code
      T
      ThasianXi
    • RE: Feedback: XO Cloud Controller Manager (CCM)

      @nathanael-h I have not yet tried the XO CSI driver, if I do I will leave feedback on the relevant thread. (I found the one started in 2025 November)

      posted in Infrastructure as Code
      T
      ThasianXi
    • RE: Feedback: XO Cloud Controller Manager (CCM)

      @nathanael-h You're welcome. I deployed CCM to an existing cluster and only checked that the labels were applied; I did not use CCM to initialise nodes.
      Any other questions about my setup, let me know.

      posted in Infrastructure as Code
      T
      ThasianXi
    • Feedback: XO Cloud Controller Manager (CCM)

      Offering feedback that my implementation of the XO CCM (v1.0.0-rc.1) into my K8s cluster was successful; I validated that the nodes were labeled as expected. I attached screenshots from Rancher and the CLI.
      In my lab, I use OCNE 1.9 (Oracle Cloud Native Environment) on Oracle Linux 9.7.

      In my setup, I edited the kubeadm-config ConfigMap and on all nodes added the Kubelet argument for the cloud provider.
      I restarted the Kubelet on all nodes and then deployed the CCM via Method 1 per the documentation

      āš— From my setup to set the cloud-provider:

      kubectl edit cm kubeadm-config -n kube-system

      apiServer:
        extraArgs:
          cloud-provider: external
      controllerManager:
        extraArgs:
          cloud-provider: external
      

      sudo vim /etc/sysconfig/kubelet

      KUBELET_EXTRA_ARGS="--fail-swap-on=false --cloud-provider=external"
      

      sudo systemctl daemon-reload && sudo systemctl restart kubelet

      Rancher_XO_CCM_labels.png

      OCNE_XO-CCM_pod.png

      posted in Infrastructure as Code
      T
      ThasianXi
    • RE: XO: Multiple VM creation - Uncaught TypeError

      This is now solved. I rebuilt the XO VM and can create multiple VMs as expected.šŸ

      posted in Management
      T
      ThasianXi