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

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

    Scheduled Pinned Locked Moved Infrastructure as Code
    59 Posts 17 Posters 11.5k Views 19 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.
    • J Offline
      john.c
      last edited by

      @manilx I have proposed to the IaC team of Vates, a MCP Server for Vates VMS. Which can be used by GitHub Copilot or similar, if used when doing IaC etc.

      1 Reply Last reply Reply Quote 0
      • CyrilleC Offline
        Cyrille Vates πŸͺ DevOps Team
        last edited by

        Terraform Provider - Release 0.35.1

        The new version fixes bugs when creating a VM from a template #361:

        • All existing disks in the template are used if they are declared in the TF plan.
        • All unused disks in the template are deleted to avoid inconsistency between the TF plan and the actual state.
        • It is no longer possible to resize existing template disks to a smaller size (fixes potential source of data loss).

        The release: https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.35.1

        CyrilleC 1 Reply Last reply Reply Quote 1
        • CyrilleC Offline
          Cyrille Vates πŸͺ DevOps Team @Cyrille
          last edited by

          The release v0.35.0 improves the logging of both the Xen Orchestra golang SDK and the Terraform Provider.

          Now it should be easier to read the log using TF_LOG_PROVIDER=DEBUG (see the provider documentation)

          CyrilleC 1 Reply Last reply Reply Quote 1
          • CyrilleC Offline
            Cyrille Vates πŸͺ DevOps Team @Cyrille
            last edited by

            Terraform Provider v0.36.0 and Pulumi Provider v2.3.0

            • Read and expose boot_firmware on template data-source by @sakaru in #381
            • Fixes VM creation from multi-disks template:
              • All existing disks in the template are used if they are declared in the plan.
              • All unused disks in the template are deleted to avoid inconsistency between the plan and the actual state.
              • It is no longer possible to resize existing template disks to a smaller size (fixes potential source of data loss).
              • Order of existing disk matches the declaration order in the plan

            Terraform provider release: https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.36.0

            Pulumi provider release: https://github.com/vatesfr/pulumi-xenorchestra/releases/tag/v2.3.0

            CyrilleC 1 Reply Last reply Reply Quote 0
            • CyrilleC Offline
              Cyrille Vates πŸͺ DevOps Team @Cyrille
              last edited by

              Terraform provider release v0.36.1

              Fix for VM creation from templates with >=3 disks

              • https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.36.1
              • related sdk release: https://github.com/vatesfr/xenorchestra-go-sdk/releases/tag/v1.8.0
              1 Reply Last reply Reply Quote 1
              • olivierlambertO Online
                olivierlambert Vates πŸͺ Co-Founder CEO
                last edited by

                🍾

                1 Reply Last reply Reply Quote 0
                • cichyC Offline
                  cichy
                  last edited by

                  Prioritization of VM startup AND shutdown sequencing! PLEASE - in the GUI (XO). So - without code - I can finally shutdown my servers accessing DB's prior to shutting down the DB server vm's themselves thereby saving myself from table corruption. πŸ™

                  J 1 Reply Last reply Reply Quote 2
                  • J Offline
                    john.c @cichy
                    last edited by john.c

                    @cichy said in DevOps Megathread: what you need and how we can help!:

                    Prioritization of VM startup AND shutdown sequencing! PLEASE - in the GUI (XO). So - without code - I can finally shutdown my servers accessing DB's prior to shutting down the DB server vm's themselves thereby saving myself from table corruption. πŸ™

                    @cichy In the past it was recommended to do this with an vApp and script. However this means editing the script or configuration file (if one’s created for the script). Which doesn’t make it as easy as the method, used by VMware ESXi for configuring the order and enabling the capacity.

                    Xen Orchestra and/or XCP-ng could really do with an UI (and API) based method of setting up and managing the VM boot and shutdown order.

                    CyrilleC 1 Reply Last reply Reply Quote 1
                    • CyrilleC Offline
                      Cyrille Vates πŸͺ DevOps Team @john.c
                      last edited by

                      Terraform provider release v0.37.0

                      • Enables the secure boot parameter for the VM resource

                      Terraform provider release: https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.37.0

                      CyrilleC 1 Reply Last reply Reply Quote 1
                      • CyrilleC Offline
                        Cyrille Vates πŸͺ DevOps Team @Cyrille
                        last edited by Cyrille

                        Hi here,

                        We have released documentation with our recommendations for those who want to run Talos in Xen Orchestra. 😎

                        It is available in the official Sidero Labs documentation: Platform specific installation > Virtualized Platforms > Xen Orchestra

                        We are currently working on providing an example of a Talos cluster that has been created using Terraform.

                        Have fun πŸ˜‰

                        A 1 Reply Last reply Reply Quote 3
                        • olivierlambertO Online
                          olivierlambert Vates πŸͺ Co-Founder CEO
                          last edited by

                          Congrats! 🍾

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            afk @Cyrille
                            last edited by

                            @Cyrille said in DevOps Megathread: what you need and how we can help!:

                            Hi here,

                            We have released documentation with our recommendations for those who want to run Talos in Xen Orchestra. 😎

                            It is available in the official Sidero Labs documentation: Platform specific installation > Virtualized Platforms > Xen Orchestra

                            We are currently working on providing an example of a Talos cluster that has been created using Terraform.

                            Have fun πŸ˜‰

                            Nice ! Thank you for this.

                            Fwiw, I started to work on a PoC deployment of a talos cluster this summer and managed to do the full process with pulumi. I'll probably migrate to opentofu when I have everything setup as I want to clean things up.

                            The whole install and k8s bootstrap takes 2-3 minutes to deploy a 3 nodes control plane and 3 workers from start to finish. You even get the machine configs, kubeconfig and talosconfig as outputs. Then, I deployed fluxcd manually but you could even automate that in the deployment.

                            Overall, its really impressive and quite easy once you understand the way talos works. Highly recommended !

                            CyrilleC 1 Reply Last reply Reply Quote 2
                            • CyrilleC Offline
                              Cyrille Vates πŸͺ DevOps Team @afk
                              last edited by

                              @afk Nice! πŸ‘ I haven't tried Pulumi yet. Does Talos have a provider for it?

                              I'm working on improving the CCM to make it work with Talos. Especially the cloud-node-label-sync controller (as the cloud-controller is the Talos one) to get the XO topology in the node labels.

                              A 1 Reply Last reply Reply Quote 1
                              • A Offline
                                afk @Cyrille
                                last edited by

                                @Cyrille said in DevOps Megathread: what you need and how we can help!:

                                @afk Nice! πŸ‘ I haven't tried Pulumi yet. Does Talos have a provider for it?

                                I'm working on improving the CCM to make it work with Talos. Especially the cloud-node-label-sync controller (as the cloud-controller is the Talos one) to get the XO topology in the node labels.

                                Yes there is a provider for it: https://www.pulumi.com/registry/packages/talos/

                                I guess its the auto-generated provider from the terraform one because I had some type checking errors in some places, but using python I could ignore that... I don't know if it has been fixed since.
                                I remember reading some terraform examples on blogs to write the pulumi config so converting one to the other should be straightforward. Unfortunately, I can't publish what I wrote because its quite messy but feel free to ask if you have some blockers.

                                The CCM would be nice to have indeed ! Good luck on that.

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post