XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Cyrille
    3. Posts
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 36
    • 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: 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!

      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

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: CPU topology (sockets/cores) for new VMs deployed via Terraform

      I created a GitHub issue to track this feature request: https://github.com/vatesfr/terraform-provider-xenorchestra/issues/378

      gCyrille created this issue in vatesfr/terraform-provider-xenorchestra

      open CPU topology (sockets/cores) for new VMs deployed via Terraform #378

      posted in Infrastructure as Code
      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: 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!

      Pulumi Xen Orchestra Provider - Pre-Release v2.2.0-alpha.1

      This is the pre-release version, which includes the changes to the memory_max field and adds the new memory_min field.

      https://github.com/vatesfr/pulumi-xenorchestra/releases/tag/v2.2.0-alpha.1

      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: Packer / Pulumi examples for Ubuntu and Windows VMs

      Hi, thank you for the example! We will take a look. It could be a good idea to have a dedicated documentation/web page with usage examples of 'DevOps' tools 👍

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: VM UUID via dmidecode does not match VM ID in xen-orchestra

      @deefdragon can you check if /sys/hypervisor/uuid matches your VMs UUID?

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: VM UUID via dmidecode does not match VM ID in xen-orchestra

      Hi,
      Do you know what causes the system UUID to change and not match the VM UUID?

      In the tests I have run (with Debian and Microk8s), it never changed.

      posted in Infrastructure as Code
      CyrilleC
      Cyrille
    • RE: Kubernetes Recipe VM failed to start - Raise Network Interfaces

      @deefdragon We are still trying to figure out why the DHCP isn't working. Our tests showed no issues with the recipe and DHCP.

      We don't yet plan to enable up/down scaling for the recipe, but we are working on adding the CCM. We welcome suggestions: what do you need and how would you like the up/down scaling feature to work in the XOA recipe?

      posted in Xen Orchestra
      CyrilleC
      Cyrille
    • RE: Kubernetes Recipe VM failed to start - Raise Network Interfaces

      @deefdragon Can you try with static IPs?
      Does your network have Internet access? The recipe needs it to update Debian and install microk8s.

      posted in Xen Orchestra
      CyrilleC
      Cyrille
    • RE: Kubernetes Recipe VM failed to start - Raise Network Interfaces

      Hi @deefdragon ,

      Can you share the settings you used in the form?

      According to the logs you have an issue with the network: can you check that the dhcp is working well (attributed IP address, netmask, gateway, etc. you can see in the console/screenshot) ?

      Maybe you can try to reboot the VM, and try to connect again in ssh. If it works, you can extract the cloud-init logs from /var/log/cloud-init-output.log.

      Cyrille

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

      Release v2.1.0

      This new version builds on the improvements to the Terraform Provider regarding the disk lifecycle of a VM (TF provider release).

      Full Release Note: 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.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