XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Cyrille
    3. Best
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 47
    • Groups 2

    Posts

    Recent Best Controversial
    • Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      We are pleased to announce the development of a CSI driver for Xen Orchestra πŸŽ‰

      It is currently under active development, but it's already available for testing with static volume provisioning only (i.e. use an existing VDI with its UUID).

      https://github.com/vatesfr/xenorchestra-csi-driver

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

      Xen Orchestra Cloud Controller Manager in development πŸš€

      Hello everyone πŸ‘‹

      We publish a development version of a Xen Orchestra Cloud Controller Manager!

      It support the controllers cloud-node and cloud-node-lifecycle and add labels to your Kubernetes nodes hosted on Xen Orchestra VMs.

      apiVersion: v1
      kind: Node
      metadata:
        labels:
          # Type generated base on CPU and RAM
          node.kubernetes.io/instance-type: 2VCPU-1GB
          # Xen Orchestra Pool ID of the node VM Host
          topology.kubernetes.io/region: 3679fe1a-d058-4055-b800-d30e1bd2af48
          # Xen Orchestra ID of the node VM Host
          topology.kubernetes.io/zone: 3d6764fe-dc88-42bf-9147-c87d54a73f21
          # Additional labels based on Xen Orchestra data (beta)
          topology.k8s.xenorchestra/host_id: 3d6764fe-dc88-42bf-9147-c87d54a73f21
          topology.k8s.xenorchestra/pool_id: 3679fe1a-d058-4055-b800-d30e1bd2af48
          vm.k8s.xenorchestra/name_label: cgn-microk8s-recipe---Control-Plane
          ...
        name: worker-1
      spec:
        ...
        # providerID - magic string:
        #   xeorchestra://{Pool ID}/{VM ID}
        providerID: xeorchestra://3679fe1a-d058-4055-b800-d30e1bd2af48/8f0d32f8-3ce5-487f-9793-431bab66c115
      

      For now, we have only tested the provider with Microk8s.

      What's next?

      We will test the CCM with other types of Kubernetes clusters and work on fixing known issues.
      Also a modification of the XOA Hub recipe will come to include the CCM.
      More label will be added (Pool Name, VM Name, etc.).

      Feedback is welcome!

      You can install and test the XO CCM, and provide feedback to help improve and speed up the release of the first stable version. This is greatly appreciated πŸ™‚

      ➑ The XO CCM repository
      ➑ Installation doc

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: 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 πŸ˜‰

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

      Hello there,

      We release a new version Terraform provider with improvements of the VM disk lifecycle!

      Now you can expand a VM disk with Terraform without data loss.

      Read the release note: https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.32.0

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

      Kubernetes CCM for Xen Orchestra v1.0.0-rc.1

      πŸŽ‰ We’re shipping v1.0.0-rc.1, our first release candidate on the road to a stable 1.0.0! This RC is feature-complete and ready for real-world use.

      πŸš€ Please try it out and share any feedbackβ€”bugs, regressions, or usability notesβ€”so we can polish the final release. Thank you for testing and helping us! πŸ™Œ

      https://github.com/vatesfr/xenorchestra-cloud-controller-manager/releases/tag/v1.0.0-rc.1

      Golang SDK for Xen Orchestra v1.11.0

      SDK v2:

      • VM and Task services now match the latest REST API.
      • Host service has been added for host data retrieval.
      • Integration tests have also been strengthened to boost reliability.

      The v2 SDK is gradually becoming our main library for all the other DevOps tools (Kubernetes drivers, Terraform provider…).

      πŸ“’ There are BREAKING CAHNGES in the v2 SDK, so please read the release notes carefully.
      Remember that the v2 SDK is a beta version and can be subject to significant changes. The current semantic versioning we use is mostly for the v1 SDK. When the v2 SDK becomes stable, the major version number will increase.

      https://github.com/vatesfr/xenorchestra-go-sdk/releases/tag/v1.11.0

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: How to deploy the new k8s on latest XOA 5.106?

      These two bugs have been fixed in the latest release πŸ™‚

      posted in Advanced features
      CyrilleC
      Cyrille
    • RE: Powershell script for backup summary reports

      Whoo this looks very nice! Thank you for sharing this tool with us!

      posted in Backup
      CyrilleC
      Cyrille
    • RE: Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      Actually, it's not a closed door; it's more a door that is opening for people who are already using both Xen Orchestra and Kubernetes.πŸ€”

      From a technical point of view, it makes more sense for us to use XO, because its API is easier to use, especially with the new REST API. For the application side itself, it does many thing that we don't have to deal with. For VDIs, perhaps it's not so much. But for other things such as backups, live migrations, templates and VM creation... it's easier. Moreover, using a unique SDK to develop tools makes sense for our small DevOps team in terms of development speed, stability and security.

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: Terraform and disk migrations

      @carloum70 Disk migration isn't supported by the provider yet. What you can do it's only ignore the changes to the sr_id of a given disk.

      For example for the first disk:

        lifecycle {
          ignore_changes = [
            disk[0].sr_id
          ]
        }
      

      You can also manually do the migration in XO and then after edit your HCL to update the sr_id with the new ID. It should do the trick.

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

      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)

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

      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

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: Pulumi Xen Orchestra - News

      Release v2.2.0

      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.

      What's Changed

      • feat: Update TF provider to get VM memory improvements by @gCyrille in https://github.com/vatesfr/pulumi-xenorchestra/pull/420

      Full Changelog: https://github.com/vatesfr/pulumi-xenorchestra/compare/v2.1.0...v2.2.0

      • JavaScript/TypeScript: @vates/pulumi-xenorchestra
      • Python: pulumi-xenorchestra
      • Go: github.com/vatesfr/pulumi-xenorchestra/sdk
      • .NET: Pulumi.Xenorchestra
      gCyrille opened this pull request in vatesfr/pulumi-xenorchestra

      closed feat: Update TF provider to get VM memory improvements #420

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

      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

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

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

      @sid I made that request a while ago, and tried to look into myself too, but the current API of XenOrchestra just doesn't support it, there are many pieces missing from what I could see. I hope with XenOrchestra 6 the API wil support it though.

      That's the point. We started working on it, but it wasn't possible to implement the required functionality in the TF provider using the current JRPC API. We are working with the XO team to provide feedback to make it happen with the REST API. I hope the backup resource will be available with XO6 πŸ™‚

      NB: If you want to take a look, there are branches on the GitHub repository. These are for both the provider and the Golang client.

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

      Hi @afk!
      We are working on a new version of the Xen Orchestra Terraform provider to improve VM memory control.

      In this new version, the memory_max setting will now set the maximum limits for both the dynamic and static memory.

      There is also an optional new setting called 'memory_min', which can be used to set the minimum limit for dynamic VM memory.
      This version will also resolve the issue with template memory limits used during VM creation.

      Can you test this pre-release version and provide us with some feedback? Or maybe just tell us if this new behaviour is more likely to meet your needs?

      https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.33.0-alpha.1

      I will try asap to do a pre-release version for the Pulumi provider.

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

      Pulumi Xen Orchestra Provider - Release v2.1.0

      This new version brings improvement on the VM disks lifecycle made on the Terraform Provider.

      https://github.com/vatesfr/pulumi-xenorchestra/releases/tag/v2.1.0

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

      Pulumi Xen Orchestra Provider - Release v2.0.0

      We released a new version of the Pulumi Xen Orchestra provider.

      You can fail more information about the release here : https://xcp-ng.org/forum/post/92858

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: Pulumi Xen Orchestra - News

      Release v2.0.0

      This release aims to ensure that the provider is up to date with the latest version of the pulumi-terraform-bridge. This will make it easier to follow new Pulumi versions.

      The underlying Terraform provider XenOrchestra is updated to version 0.31.1, which fixes:

      • Issues with blocked operations when creating VMs. #344
      • A problem where the destroy_cloud_config_vdi_after_boot setting was ignored when the VM wasn't running. #345

      As the major version number suggests, this release introduces changes that break compatibility with previous versions (mostly deprecated functions and resources that have been removed).

      Find the release in the Pulumi registry: https://www.pulumi.com/registry/packages/xenorchestra/

      Full Release Note: https://github.com/vatesfr/pulumi-xenorchestra/releases/tag/v2.0.0

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: Pulumi Xen Orchestra - News

      Release v1.5.2

      The provider is now available on the Pulumi official Registry 😎

      https://www.pulumi.com/registry/packages/xenorchestra/

      We added example for Yaml in the documentation.

      Full Release Note: https://github.com/vatesfr/pulumi-xenorchestra/releases/tag/v1.5.2

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: DevOps Megathread: what you need and how we can help!

      Hello,
      If you want to discuss the Pulumi Provider in detail, let discuss here: https://xcp-ng.org/forum/topic/10592/pulumi-xen-orchestra-news

      posted in Infrastructure as Code
      CyrilleC
      Cyrille