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
    53 Posts 17 Posters 10.6k 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.
    • sidS Online
      sid @Cyrille
      last edited by

      @Cyrille Aah, I didn't know about the branches. I had started my own attempt to implement the feature, good to know I can abandon that work. Oh boy discovering the settings map uses an empty key was a moment.

      OK, I will wait. Thanks to your team for the work on the terraform provider πŸ™‚

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

        New releases for Terraform and Pulumi providers!

        This new version introduces a new field, memory_min, for the VM resource and makes a slight change to the memory_max field, which now sets both the dynamic and static maximum memory limits and providing better control of VM memory.

        Pulumi Provider v2.2.0
        Terraform Provider v0.33.0
        Xen Orchestra Go SDK v1.4.0

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

          @Cyrille Thanks for the release !

          I just tested the happy path of settings (6GB min / 8GB max and 8/8) and it seems to work as expected.
          Now, I can get rid of the workaround, that's awesome πŸ™‚

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

            @olivierlambert Another useful item to aid in development processes and IaC operations. Is when using GitHub Copilot an MCP Server which will interface with the Vates VMS stack, so the agent can get context related to requests (queries). That way its responses can be properly grounded in the context of the stack, as well as the configuration, setup of the Vates VMS installation and its available resources.

            Can the IaC team work on this, though may need other teams help?

            nathanael-hN 1 Reply Last reply Reply Quote 0
            • nathanael-hN Offline
              nathanael-h Vates πŸͺ DevOps Team @john.c
              last edited by

              @john.c Why not, can you share what would be the first tools to support and your use cases? I assume that if you are working in VSCode you might be useing some infrastructure as code, like Terraform or Pulumi or Ansible, isn't? In these case do you also have some related MCP servers enabled?

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                john.c @nathanael-h
                last edited by john.c

                @nathanael-h said in DevOps Megathread: what you need and how we can help!:

                @john.c Why not, can you share what would be the first tools to support and your use cases? I assume that if you are working in VSCode you might be useing some infrastructure as code, like Terraform or Pulumi or Ansible, isn't? In these case do you also have some related MCP servers enabled?

                @nathanael-h Pulumi for the infrastructure as code, with the code held on a private GitHub repository.

                To aid in writing the IaC code as well as helping with provisioning VMs etc.

                As well as during development of full stack website projects.

                The appropriate servers are already enabled and configured, for GitHub Copilot use.

                Visual Studio Code with GitHub Copilot.

                1 Reply Last reply Reply Quote 0
                • 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 Offline
                            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.

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