Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    244 Topics
    2k Posts
    olivierlambertO

    It's still a draft maybe it's not working correctly, @florent might give a look when he can

  • ACLs, Self-service, Cloud-init, Load balancing...

    74 Topics
    651 Posts
    ronan-aR

    @dslauter You can test the new RPMs using the testing repository, FYI: sm-3.2.3-1.14.xcpng8.3 and http-nbd-transfer-1.5.0-1.xcpng8.3.

  • All XO backup features: full and incremental, replication, mirrors...

    266 Topics
    3k Posts
    Bastien NolletB

    Hi @McHenry

    If you still have the problem, you can increase the healthCheckTimeout value as Olivier recommended (e.g. healthCheckTimeout = ‘30m’), however this value should be in the [backups.defaultSettings] section of the configuration file (or in the [backups.vm.defaultSettings] section) rather than in the [backups] section.

    We've detailed the documentation a bit to make this more understandable: https://github.com/vatesfr/xen-orchestra/blob/a945888e63dd37227262eddc8a14850295fa303f/packages/xo-server/config.toml#L78-L79

  • Everything related to Xen Orchestra's REST API

    42 Topics
    278 Posts
    M

    @CodeMercenary Can't help you there. The only thing I use(d) is the cli on the xcp hosts themselves.
    reboot or shutdown

  • Terraform, Packer or any tool to do IaC

    21 Topics
    197 Posts
    K

    Thanx !

    I will check out with your team at the start of the new year for subscription, maybe we will discuss about it.

    @olivierlambert said in User self-service creation automation:

    I don't think it's possible to treat that "automatically" as it's a very specific use case. However, it should be possible to script that using our API.

    I don't think so. It's definetivly not an hypervisor must-have feature, but cloud yes. If you are a cloud provider and providing compute to customers, you will want to build "plans" for subscritpion and assign it automatically when user create is account and choose is plan.

    It is the same thing here, instead of not having bilings and several plans.

    Have a nice Christmas !

  • Cloud Config success

    7
    3 Votes
    7 Posts
    1k Views
    M

    @mtcoffee Thank you. Just what I need.

  • Warm Migration HOST_CANNOT_ATTACH_NETWORK

    3
    0 Votes
    3 Posts
    33 Views
    J

    @nick-lloyd So looked at the network ports on the host it is going to. They show disconnected due to they are in a bond lacp so the 2 network ports show as disconnected but the bond shows as connected. Also have other VMs running on the receiving host so know the bond is working.

  • possible bug for cpu stats in XOA 5.101.0

    4
    0 Votes
    4 Posts
    36 Views
    J

    Doesn’t the status history go back 1 year?

    Thanks for the info I’ll restart it and clear it

  • Can't copy between hosts

    8
    0 Votes
    8 Posts
    52 Views
    olivierlambertO

    Check XO Lite and XO 6, it will be closer to your habits, but not XenCenter is only community supported (we don't want to support it at Vates)

  • "Xenserver 8" patching

    27
    0 Votes
    27 Posts
    755 Views
    R

    @MathieuRA ok, thanks

  • How do you clone a VM to another host?

    9
    0 Votes
    9 Posts
    3k Views
    P

    I'm having same issue, is there any update to this? I can migrate between hosts but when I hit copy it doesn't allow me to copy between hosts and only shows the host on which it's on.

    I have an XENServer host (primary) and XCP-ng (new server). I Can migrate from xenserver to xcp-ng but can't copy for some reason?

  • Imported VM Starts but Does Not Initialize the Display

    Unsolved
    38
    0 Votes
    38 Posts
    545 Views
    MefosheezM

    @stormi thanks for the feedback. no rush here. just let me know if I can help.

  • Migrating an offline VM disk between two local SRs is slow

    6
    0 Votes
    6 Posts
    45 Views
    ForzaF

    @olivierlambert said in Migrating an offline VM disk between two local SRs is slow:

    80/100MiB/s for one storage migration is already pretty decent. You might go faster by migrating more disks at once.

    I'm not sure to understand what difference are you referring too? It's always has been in that ballpark, per disk.

    This is not over a Network, only between local ext4 SRs on the same server. I tried the same migration using XCP-ng center and it is at the moment double as fast:
    bdde4643-4733-43ca-b685-560e0b54b02e-image.png

    Can't really see any difference though. It is the same sparse_dd and nbd connection 🤷 Perhaps it's a fragmentation issue. Though, doing a copy of the same VHD file gives close to 500MB/s.

  • XO Community Edition - Ldap Plugin not working ?

    31
    0 Votes
    31 Posts
    501 Views
    K

    @pdonias As requested, I added the log filter to the XO config file, restarted the xo-server service, and then ran the LDAP tester from the UI twice. Afterwards, I then ran journalctl -u xo-server, and this is all I see in the logs:

    ON XOA:

    Dec 16 17:15:59 xoa xo-server[418777]: 2024-12-16T22:15:59.962Z xo:api WARN user | plugin.test(...) [165ms] =!> Error: could not authenticate user Dec 16 17:17:46 xoa xo-server[418777]: 2024-12-16T22:17:46.904Z xo:api WARN user | plugin.test(...) [13ms] =!> Error: could not authenticate user

    ON XOCE:

    Dec 16 17:22:34 XO1 xo-server[85750]: 2024-12-16T22:22:34.618Z xo:api WARN user | plugin.test(...) [62ms] =!> Error: could not authenticate user Dec 16 17:23:04 XO1 xo-server[85750]: 2024-12-16T22:23:04.792Z xo:api WARN user | plugin.test(...) [11ms] =!> Error: could not authenticate user

    I am still able to login, if I reduce the security groups I'm member of to 2 or less. 3 or more, results in failure.

  • Ubuntu 22.04 template

    3
    0 Votes
    3 Posts
    48 Views
    F

    @olivierlambert said in Ubuntu 22.04 template:

    Is your XCP-ng fully up to date

    I am running 8.3 latest. I also found this guide since which helped 🙂
    #https://docs.xcp-ng.org/guides/create-use-custom-xcpng-ubuntu-templates/

  • XOA - Console freezing every few seconds consistently.

    Solved
    13
    0 Votes
    13 Posts
    170 Views
    olivierlambertO

    Great news, nice catch 🙂

  • Cannot Download Exported VM After Export Task Completes Successfully

    Unsolved
    18
    0 Votes
    18 Posts
    158 Views
    K

    @olivierlambert Yep.

    Here's the video of the test - https://www.youtube.com/watch?v=tiVdR74PNjw

  • SR_BACKEND_FAILURE_108 | Unable to Add a Second NFS Storage Repository

    Solved
    4
    0 Votes
    4 Posts
    57 Views
    K

    @olivierlambert You're most welcome. XCP-ng + Xen Orchestra is a solid solution and I would very much like to see it get adopted within my organization, so I'll do anything (legal of course) to work through these problems and share the solutions, so the entire community can benefit.

  • Dynamic cloudinit network config [FEATURE REQUEST]

    7
    0 Votes
    7 Posts
    117 Views
    D

    @julien-f

    Would that be something like this for a dynamic network config as an example?

    network: version: 1 config: - type: physical name: enX0 subnets: - type: static address: 192.168.99.{index}/24 gateway: 192.168.99.1 - type: nameserver address: - 172.31.31.1 - 192.168.45.11 search: - example.tld

    I plan to test this at some point, but I don't do a whole lot of bulk provisioning myself. Just curious.

  • 2CRSI BIOS update not available

    20
    0 Votes
    20 Posts
    357 Views
    D

    Ahah ok, it's fun!
    I need to find the procedure for the update and I'll let you know.

    Thanks!

  • XOA Failing on Check-in

    13
    0 Votes
    13 Posts
    235 Views
    A

    @Danp Interesting. That will be it. Thanks for linking this.
    In the mean time, I've put in a request with the Australian government to move us closer to Europe.
    😄

  • Ubuntu 24.04 Cloud Image Template Not Working

    14
    0 Votes
    14 Posts
    223 Views
    D

    @encryptblockr said in Ubuntu 24.04 Cloud Image Template Not Working:

    did you mount the guest tools cdrom to the cloud image before you created a template from it?

    No, I just make my base images (for the end template) as generic as possible, and I do all mounts, package installs, accounts, keys, including the xe-guest utils package all in the user-data config for cloud-init. Makes the configurations more uniform across all stacks I have to maintain and scales really well with jinja templates.

    also what is point of {name}% in below? can you explain? where does it get {name} from and what is % use?

    That pulls the hostname from metadata that is provided by the nocloud datasource.

    If you ever want to see all the metadata available (for example, say your provisioning plane does dynamic configuration from some backend IAS platform, and you need logic that renders metadata to run different configurations; run the following after login:

    cloud-init query -a

    For example, I run different configurations based on what the 'distro' value is -
    example:

    cloud-init query -f {{v1.distro}} {% if distro in ['rocky', 'ol', 'centos', 'fedora', 'redhat', 'almalinux'] -%} //do the rpm things//

    This allows us to run completely different configuration settings based on what distro its being run in, or even what virtualization platform it is running on. Some platforms won't use the hostname, or fqdn meta values, so I have some if logic that only adds it when vendordata is null, example;

    {% if vendordata == '' %} fqdn: {name} {% endif %}

    Probably more than you wanted to know, but that's a brief summary of cloud-init metadata.

  • [SOLVED] How to install guest tools via apt?

    Solved
    2
    0 Votes
    2 Posts
    81 Views
    E

    so i imported a new VM and made sure i mounted the guest-tools iso to it before converting it to template

    i just tried this and it worked!!!

    #cloud-config hostname: someotheruser ssh_authorized_keys: - ssh-rsa AAAAxxx - ssh-rsa AAAAxxx - ssh-ed25519 AAAAxxx runcmd: - [mkdir, -p, /mnt/guest-tools] - [mount, /dev/cdrom, /mnt/guest-tools] - [bash, /mnt/guest-tools/Linux/install.sh] - [umount, /dev/cdrom] - [rm, -rf, /mnt/guest-tools]
  • Can backups be "imported"?

    4
    0 Votes
    4 Posts
    416 Views
    J

    @olivierlambert
    Based on what you mentioned about losing everything and rebuilding, if you reconnect to the NFS share, will you be able to see the VMs listed below, or would additional steps be required to recover them? Thanks!

    a2bede49-af10-45e8-9014-7c70143688cf-image.png

  • pool cpu usage vs host cpu usage

    2
    0 Votes
    2 Posts
    43 Views
    J

    figured it out... When under "Pool" view its displaying the "stacked" value and not the average value.