• DevOps Megathread: what you need and how we can help!

    Pinned
    70
    4 Votes
    70 Posts
    33k Views
    nathanael-hN
    Hello there, I posted in another thread an experimental Docker containers integration, not for production, but good enough to test it, see https://xcp-ng.org/forum/topic/12423/bringing-container-visibility-back-to-xo/9?_=1791618850567
  • packer plugin signing key

    3
    0 Votes
    3 Posts
    205 Views
    enkaskalE
    thanks @poddingue I've opened: https://github.com/vatesfr/packer-plugin-xenserver/issues/212
  • cloud-init Cloud Config use of {name}

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    bvitnikB
    @bug-meister Yeah, I would say the "mechanism" is deprecated too. Getting this mechanism to work, either by using ansible-pull or by some clever scripting during the first boot, requires Ansible to be preinstalled on your VM templates. That just makes your VMs messy and bloated with additional stuff you only use once. Also, managing Ansible versions becomes more complex. If Ansible is installed from distro repositories, you will have all different versions of Ansible across different distros. If you use pip to install Ansible, it can mess up your system if Ansible dependencies are installed on a system level. You can use Python virtual environments to prevent that but requires additional managing. It's much better and much more practical to have Ansible installed and used from a single place - Control Node. That way you have one place, one OS, one Ansible version to think about. You already have a machine you are accessing your VMs from? Use that as a control node... unless it is Windows?
  • Xen Orchestra Container Storage Interface (CSI) for Kubernetes

    30
    5 Votes
    30 Posts
    6k Views
    CyrilleC
    @koushik you have to use the Helm controller addons for RKE2 to deploy autmatically the Helm chart for the Xen Orchestra CCM with the field spec.bootstrap set to true: Field | Default | Description -------------------------------------------------- `spec.bootstrap` | `false` | Set to True if this chart is needed to bootstrap the cluster (Cloud Controller Manager, etc) EDIT: I wrote a wiki page with what I've tested https://github.com/vatesfr/xenorchestra-cloud-controller-manager/wiki/Rancher-RKE2
  • Running Kubernetes on XCP-ng? Help us test the CSI driver v0.4.0

    1
    2 Votes
    1 Posts
    548 Views
    No one has replied
  • 5 Votes
    6 Posts
    2k Views
    dalemD
    @afk I’ve got two draft nixpkgs for libvhdi and Xen orchestra from sources respectively, I’ll look into submitting them upstream soon but take a look and feel free to share any feedback xen-orchestra-ce libvhdi.
  • OpenTofu - create VM from named template in the configured pool

    3
    0 Votes
    3 Posts
    682 Views
    G
    @hoerup Dang, how did I miss that. Thanks and my apologies! Graham
  • Feedback: XO Cloud Controller Manager (CCM)

    6
    2
    1 Votes
    6 Posts
    1k Views
    T
    @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)
  • Xen Orchestra OpenMetrics Plugin - Grafana Dashboard

    7
    5 Votes
    7 Posts
    3k Views
    DustyArmstrongD
    Edit: For anyone with this issue, stopping and starting the Openmetrics plugin after saving the password in XO fixed it. I keep getting the {"error":"Query authentication does not match server setting"} problem, is there something I'm missing? I run XO proxied through Nginx with HTTPS, is there some additional config required to get it working? I have set the key with openssl rand -hex 32 and have verified that is saved correctly in the plugin, and that I am using the same key for curl. I am able to obtain the /health endpoint as expected, I just cannot obtain the full metrics, only returns that error. Command: curl --insecure -H "Authorization: Bearer mytoken" https://xo.mydomain.local/openmetrics/metrics XO commit: 91c5d I should note that running the command inside my Docker container returns only the error, including the health endpoint. Do I need to expose 9004?
  • Ansible Role - Install XO from source - Now available

    7
    3 Votes
    7 Posts
    2k Views
    P
    @majorp93 I've updated and added a node.js-installation to the role. Targeting the LTS-24 version. I hope you find it to your liking.
  • fun fact ? create a VDI in an ISO SR is possible

    1
    5
    0 Votes
    1 Posts
    396 Views
    No one has replied
  • 0 Votes
    2 Posts
    1k Views
    S
    Starting from Other install media with BIOS (not uefi) is the only combo that is working with Terraform
  • 0 Votes
    6 Posts
    2k Views
    S
    UPDATE Now on XCP-ng 8.3 and XO from sources I had no problems with Windows 11. Had problem Ubuntu Noble Numbat 24.04 base template failing to boot from disk when cloned using Terraform. Changing the base template to "Other install media" resolved the issue, and the Terraform-cloned VMs work fine. EDIT: Also has problems with base template Windows Server 2025.
  • Ansible and XAPI first playbook (Ansible)

    8
    0 Votes
    8 Posts
    2k Views
    S
    @bvitnik Thank you for the great response. I have had great success with Terraform - great work. I'm not touching ocaml myself. And yes, Citrix... they are still above VMware/Broadcom on my list. But SMH. I keep promoting XCP-ng hoping some large companies take advantage of it. It's much more valuable to me than nautobot, for example.
  • destroy_cloud_config_vdi_after_boot

    9
    0 Votes
    9 Posts
    2k Views
    CyrilleC
    Can you share how you created the template? And copy here the template object from xo-cli or the rest api: xo-cli list-objects type=VM-template id=<your_template_id>?
  • Unable to configure Network IP inside the VM throgh API

    Moved
    13
    0 Votes
    13 Posts
    3k Views
    C
    What is the output of the following command: cloud-init schema --system
  • Terraform and disk migrations

    4
    0 Votes
    4 Posts
    1k Views
    C
    This approach isn’t entirely foolproof since I can’t use a wildcard, and I don’t know how many disks will be attached to the VM. For now, it will never exceed two disks, so I can explicitly include both in the ignore_changes statement. That’s an acceptable solution for us. Thanks for your support.
  • 0 Votes
    6 Posts
    2k Views
    HolgiBH
    @sid It seems I have to get my hands dirty and take a deeper look into Terraform / OpenTofu. I am not shure how well the other folks at work partially will have fun working with commandline versus the easy to use XO web GUI. Tailoring down the CloudInit files used is not really the basic idea behind this. I was rather going the oposite way and install / configure the stuff we usually bake into our templates on the fly while generating the VM via CloudInit. Thanks a lot for all the responses !
  • Script suddently stop working (TLS error)

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    olivierlambertO
    Excellent news! Thanks for the feedback
  • CPU topology (sockets/cores) for new VMs deployed via Terraform

    5
    2 Votes
    5 Posts
    2k Views
    CyrilleC
    I created a GitHub issue to track this feature request: https://github.com/vatesfr/terraform-provider-xenorchestra/issues/378