Subcategories

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

    451 Topics
    3k Posts
    nikadeN
    @DustyArmstrong thats super-strange, i actually have the same setup at home, 2 hp z240 machines running xcp-ng in a small pool. xcp1 is always up and running, xcp2 is powered down when I dont need it, everything important is running on xcp1, maybe that's the reason I don't run into these issues.
  • ACLs, Self-service, Cloud-init, Load balancing...

    100 Topics
    832 Posts
    Tristis OrisT
    Ok, my syntax is oudated. resize_rootfs: true growpart: mode: auto devices: ['/dev/xvda3'] ignore_growroot_disabled: false runcmd: - pvresize /dev/xvda3 - lvextend -r -l +100%FREE /dev/ubuntu-vg/ubuntu-lv || true this one works. final_message. doesn't support any macro like %(uptime) %(UPTIME)
  • All XO backup features: full and incremental, replication, mirrors...

    462 Topics
    5k Posts
    DustyArmstrongD
    Still not working, blew away my old backups and deleted the job, still getting detached snapshots. Interestingly, of my two hosts, the pool slave isn't actually recording the snapshot properly still. Tested the "revert snapshot" from XO, which works properly - everything works properly except the detached snapshot warning. Snapshotting a VM on XC2, slave in a pool. Don't know if this is expected or not for a pool slave. Pool master (Displays the IP of XO): HTTPS 123.456.789.6->|Async.VM.snapshot R:da375f8192ab|audit] ('trackid=2f566a5e238297cab4efbd4023dba8da' 'LOCAL_SUPERUSER' 'root' 'ALLOWED' 'OK' 'API' 'VM.snapshot' (('vm' 'VM_Name0' 'e0f0 29ec-f0b8-1c14-c654-80c6ecec582c' 'OpaqueRef:f0fae2b6-7729-b539-066f-16a795b0b22f') Pool slave (displays IP of the XCP host itself): HTTPS 123.456.789.2->:::80|Async.VM.snapshot R:da375f8192ab|audit] ('trackid=f49a8b9396c939d4cd5335542cba3848' 'LOCAL_SUPERUSER' '' 'ALLOWED' 'OK' 'API' 'VM.snapshot' (('vm' '' '' 'OpaqueRef:f0fae2b6-7729-b539-066f-16a795b0b22f') I don't know if this means anything. When I snapshot a VM on XC1 (warm migrated) it also shows in the logs of the pool master, but with the IP of XO (still detached): HTTPS 123.456.789.6->|Async.VM.snapshot R:cbd3f663c5d7|audit] ('trackid=2f566a5e238297cab4efbd4023dba8da' 'LOCAL_SUPERUSER' 'root' 'ALLOWED' 'OK' 'API' 'VM.snapshot' (('vm' 'VM_Name1 'c7c63201-e25a-a7d5-7e39-394636538866' 'OpaqueRef:72f934a8-bfd6-f01c-5917-234cacdd49d5') When I snapshot a VM I created natively (no warm migration), it looks exactly the same and is not detached: HTTPS 123.456.789.6->|Async.VM.snapshot R:3e4f5c3dd9f2|audit] ('trackid=2f566a5e238297cab4efbd4023dba8da' 'LOCAL_SUPERUSER' 'root' 'ALLOWED' 'OK' 'API' 'VM.snapshot' (('vm' 'VM_Name2' 'cd95df02-a907-bdaa-2c0e-ca503656460b' 'OpaqueRef:00c31a47-69d9-753d-5481-d5a10e881e13') Looking at another thread, running xl list shows VMs with a mixture of some with [XO warm migration Warm migration] tagged and some not. My VM that wasn't migrated shows as its normal name (matching output of xe vm-list), this one snapshots fine. Notably, another VM that was migrated doesn't show the migration tags, but doesn't snapshot properly anyway. I renamed the VMs after migrating. Renaming again doesn't update the output of xl list but does update the output of xe vm-list. If anyone in the know can help me understand what's going on I'd be most appreciative, I doubt I'll be able to backup my VMs until it's resolved. Alternatively, if anyone can confirm what steps I should take to completely rebuild XO such that the data is held correctly so this stops happening. To re-iterate, this only seems to happen on warm migrated VMs.
  • Everything related to Xen Orchestra's REST API

    77 Topics
    583 Posts
    R
    @Pilow tags can work and the path to them is much more succinct. Thanks!
  • Terraform, Packer or any tool to do IaC

    49 Topics
    452 Posts
    J
    @nathanael-h As a further follow up the MCP agents include at minimum:- Pulumi MariaDB Anyway I would really appreciate having an MCP Server which, can be used when writing IaC to provision and configure your customers’ systems. Can it be made available during this year please?
  • S3 Remote

    12
    0 Votes
    12 Posts
    2k Views
    F
    @lawrencesystems said in S3 Remote: I was hoping to avoid this method as my pfsense is not connected at 10G. Thank you for the clarification. Happy I could help.
  • un-zstd .xva files exported with XOA?

    Solved
    3
    0 Votes
    3 Posts
    377 Views
    ForzaF
    @olivierlambert said in un-zstd .xva files exported with XOA?: Hi! Again, before starting to talk about technical solution, can you explain the use case? If you have zstd installed on your machine, yes. It's a tar with compression (gzip or zstd). But then it won't be trivial to assemble VM data (but you can exctract metadata easily!) I didn't really mean disassemble the .xva, but rather create an uncompressed .xva that has broader support/portability. The zstd command line tool seems to be able to uncompress it just fine. Thanks.
  • Reset Xen Orchestra Community Edition Web Password

    2
    0 Votes
    2 Posts
    10k Views
    olivierlambertO
    Hey there! It's a good thing to start by reading our doc. If you enter "Password" in the search field, you would have find: https://xen-orchestra.com/docs/troubleshooting.html#recover-web-login-password As you are using Xen Orchestra into production, may I suggest to go for XOA with pro support at some point?
  • Automating VM creation via Terraform

    7
    0 Votes
    7 Posts
    3k Views
    E
    @newknowledge Thanks, I'll try it out later.
  • Pool Metadata backup sometimes fails when using multiple remotes

    4
    5
    0 Votes
    4 Posts
    412 Views
    ForzaF
    @olivierlambert Maybe. Ive created a support ticket for now. Hopefully you can see if the problem is a configuration mistake on our end or a problem in XO. Thanks.
  • Multiple internal networks in pool for each user

    2
    0 Votes
    2 Posts
    690 Views
    T
    @jfrelik Similar issue here - still trying to figure this out. https://xcp-ng.org/forum/topic/4209/xcp-ng-and-network-virtualisation-help
  • Ansible dynamic inventory and XO

    11
    0 Votes
    11 Posts
    2k Views
    olivierlambertO
    Nice
  • xo-cli - Get alarms

    Solved
    8
    1
    0 Votes
    8 Posts
    953 Views
    olivierlambertO
    You are welcome Enjoy! (great thing about xo cli is that you can get alarms of all your hosts from a single endpoint)
  • XOA migrate the XO itself

    Unsolved
    2
    0 Votes
    2 Posts
    844 Views
    olivierlambertO
    You can't, indeed, live migrate a VM from Intel to AMD (or vice-versa), for obvious reason (the VM will try to call Intel specific instructions after migrating on an AMD CPU, the result would be… a crash!) We had a similar migration ourselves (in our own prod), from Intel to AMD. And we decided to use Continuous Replication to make a first "backup" on destination (the full) while the original VMs were running (no service interruption). Then, we shut down the VMs, make another round of replication (delta, very fast) and then we booted on destination.
  • New VMs created in Xen Orchestra reboot every couple of minutes

    5
    0 Votes
    5 Posts
    855 Views
    R
    @olivierlambert That socket issue was not what was causing the problem, I went through setting by setting and if I choose 2GB of memory for a VM I get constant reboots when using XOA. I was able to repeat the issue with a number of OSs not just RHEL 8 (and variants). I havent went through and compared the differences between XOA and XenCenter yet.
  • Multiple remotes in a backup - how is retention calculated

    5
    0 Votes
    5 Posts
    964 Views
    badrAZB
    @s-pam said in Multiple remotes in a backup - how is retention calculated: OK Great. So if I set retention to 10, it would keep 10 copies on each remote? Yes. it will keep 10 copies on each remote.
  • 0 Votes
    1 Posts
    924 Views
    No one has replied
  • Error: SR_BACKEND_FAILURE_109(, The snapshot chain is too long, )

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    In theory, Xen Orchestra got a protection against this issue (see https://xen-orchestra.com/docs/backup_troubleshooting.html#vdi-chain-protection ) So you have to find what's causing a long chain outside XO. You can check in XO, in the Advanced tab of the SR view, if there's VDI to coalesce. Or maybe very long chain for other reasons, there's a tool we made called xapi-explore-sr.
  • Backups/VM Migrations Slow

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    Use CR instead of DR then, it will send only the diff to the other host, so it will be faster.
  • Cannot migrate VM from 7.5/7.6 to 8.2 INTERNAL_ERROR

    4
    0 Votes
    4 Posts
    599 Views
    M
    I can migrate this VM from another host (7.6) to the 8.2 host just fine: [image: 1612363337871-29412a19-7047-4feb-a82e-1b3d3ce61a94-image.png] Im not sure what the agent actually is, thats why im guessing this might be related [image: 1612363441628-eb67e1dd-0979-4b17-94a8-b3d4f72397a5-image.png] VM that fails: [image: 1612363482511-153e71d2-3779-4894-b990-3b4f6b02e032-image.png]
  • Crashed XOA. Can't boot a clean XOA and use RESTORE because of REGISTRATION

    10
    -1 Votes
    10 Posts
    2k Views
    olivierlambertO
    It's not that easy to block some screens. But that's an interesting suggestion, I'll pass that to @pdonias
  • Multiple VM exports fails with unknown error

    7
    0 Votes
    7 Posts
    2k Views
    DanpD
    @nodesocket Depends on your setup. For mine, I use sudo systemctl restart xo-server.service. You could also just restart the VM.
  • ova problems

    Solved community
    20
    0 Votes
    20 Posts
    4k Views
    olivierlambertO
    @s-pam said in ova problems: @crazytoo Best way to be sure it to boot the VM using a live-cd, for example systemrescue-cd or ubuntu live-dvd. Then you can use tools like gparted to inspect your disk image from inside the booted vm. That's exactly what I advised to do earlier, but it seems it was missed the first time I think that's the best approach to understand what's going on in the VM disk.
  • xoa update "your appliance is too old, please deploy a new one"

    2
    0 Votes
    2 Posts
    654 Views
    olivierlambertO
    Mainly a more recent version of Debian.
  • Duplicate entries in backup restore?

    3
    1
    0 Votes
    3 Posts
    287 Views
    ForzaF
    @jedimarcus No. But I think the problem could be an issue where I merged two remote backup trees.