Subcategories

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

    328 Topics
    2k Posts
    O
    Hello, I'm new to the world of XCP-NG/XO so this might just be a case of new user missing something obvious. I've not got a clear answer from a search of the docs/forums, so figured it was worth asking. I'm running XCP-NG 8.3 on my host. I'm managing it with Xen Orchestra from sources (commit 8d39f). I've got a VM that I'd like to use for some basic Ollama/Openwebui tasks, so want to passthrough the Nvidia GPU from the host. I'm not using Ollama/Webui 24/7 so I'd also like to dynamically allocate RAM so that I don't have to consistently throw large quantities of the hosts RAM at it. For this reason, I configured the VM with the following memory setup: Static: 1 GiB/48 GiB Dynamic: 16 GiB/48 GiB When the VM is running, this configuration appears to work. I have the GPU passed through and the dynamic memory allocation set. When I stop the VM and attempt to start it again, the boot fails with the error: Error from xenguesthelper: Populate on Demand and PCI Passthrough are mutually exclusive If I adjust dynamic to be 48 GiB/48 GiB the machine will then boot. Once booted, I can then once again apply the desired dynamic config of 16 GiB/48 GiB. Am I misunderstanding the configuration options and this is just not supported, or have I stumbled across a bug?
  • ACLs, Self-service, Cloud-init, Load balancing...

    84 Topics
    707 Posts
    CyrilleC
    @ferrao Yes it is. At the end the task disappears unless there is an error / failure.
  • All XO backup features: full and incremental, replication, mirrors...

    337 Topics
    3k Posts
    olivierlambertO
    Thanks for your feedback, we'll discuss internally if there's any other possible approach (and I'm not sure).
  • Everything related to Xen Orchestra's REST API

    61 Topics
    476 Posts
    S
    @Studmuffn1134 I changed my link from ws:// to https:// and it now gives me this error File "Z:\Valera\School\Lakeland University\Finished\Programming 2\Python Programs\StudsPrograms.venv\Lib\site-packages\jsonrpc_base\jsonrpc.py", line 213, in parse_response raise ProtocolError(code, message, data) jsonrpc_base.jsonrpc.ProtocolError: (10, 'invalid parameters', {'error': {'message': 'invalid parameters', 'code': 10, 'data': {'errors': [{'instancePath': '/id', 'schemaPath': '#/properties/id/type', 'keyword': 'type', 'params': {'type': 'string'}, 'message': 'must be string'}]}}, 'id': '0a11ec72-9300-4030-a5d2-a5c0286f3811', 'jsonrpc': '2.0'})
  • Terraform, Packer or any tool to do IaC

    30 Topics
    279 Posts
    nathanael-hN
    Hello, I suggest you look also for Packer to build ready to use VM templates, with cloud-init, guest tools, and the softwares you'd need. There's a blog post for this https://xcp-ng.org/blog/2024/02/22/using-packer-with-xcp-ng/.
  • Mirror failed

    8
    0 Votes
    8 Posts
    183 Views
    AlexanderKA
    @olivierlambert said in Mirror failed: @AlexanderK said in Mirror failed: "OLD_447ff17a-82bc-4d49-a177-02f9086e9a04 That's the missing bit reported by XAPI/SM, indeed. Does this mean it is a bug?
  • Cant Boot Ubuntu 22.04 LTS after release update

    13
    0 Votes
    13 Posts
    2k Views
    andrewperryA
    @Meth0d thanks for sharing your experience. Fortunately I was able to just hit "Convert to HVM" after my imported PV failed to reboot after upgrade from 20.04 to 22.04 - was all set to load a livecd etc too!
  • Base Copy / VDI not merged

    25
    0 Votes
    25 Posts
    5k Views
    A
    yep i know but i think it is much better to have 2 Ext SR each with 1 hdd than to have 1 SR with a raid with 2 hdd, regarding downtime in case of failure disk
  • "Xenserver 8" patching

    Solved
    32
    0 Votes
    32 Posts
    2k Views
    olivierlambertO
  • snapshot with memory crashing debian VM

    24
    0 Votes
    24 Posts
    444 Views
    M
    @manilx Just happened on our production Pools. Snapshotting Windows Server 2022 crashes our ERP VM! Opening official ticket referencing this thread.
  • Migration fails: VDI_COPY_FAILED(End_of_file)

    10
    0 Votes
    10 Posts
    255 Views
    B
    @Danp I got around this by using Clonezilla to copy the disks of the 2 VMs I was having an issue with. This is very strange. The VMs booted and ran fine on the old host, I was able to clone them with Clonezilla to the new host where they also boot and run fine. There is something preventing the native tools from migrating these specific disks though.
  • Can .keeper files be deleted from the backup share?

    4
    1
    0 Votes
    4 Posts
    129 Views
    D
    @propsoft said in Can .keeper files be deleted from the backup share?: @florent Thank you. I just like things to be 'tidy' that's why I asked. Then stop looking at hidden files.... HA
  • XO Ansible Dynamic Inventory Plugin - Group Variables Support?

    Solved
    5
    0 Votes
    5 Posts
    201 Views
    G
    Many thanks @nathanael-h & @shinuza , both approaches indeed work!
  • Is there an equivalent to [NOSNAP][NOBAK] for Exported VMs?

    11
    1
    0 Votes
    11 Posts
    250 Views
    P
    @DustinB As to why you're seeing "VM not found!" I don't know if that is a XO alert or something you added into the screenshot, I've never seen that so I can't speak to it. I didn't add the text, all I did was highlight it with the red surround. Just testing the backups again using the 'Delta' method and '[NOSNAP][NOBAK] Data drive' as the name of the second drive , feeling more hopeful about this one though. I'm starting to like XO the more I use it, would be good to move to this instead of switching between 2 different XCP-ng Center EXEs. depending on the XCP-ng version on the host so I really hope I can get this to work. The scheduled hourly snapshot while the guest is running looks a great feature, although I need to learn to walk with this first before I go that far
  • XOA deploy error

    Solved xoa deploy error xcp-ng 8.3
    28
    1
    1 Votes
    28 Posts
    8k Views
    nathanael-hN
    @HamiltonWDS Thanks for the report. As it works with wget let use it! I'll switch from curl to wget in doc. In the meantime some colleagues will investigate more.
  • SAML Auth with Azure AD

    15
    1 Votes
    15 Posts
    2k Views
    olivierlambertO
    Sure, happy to have a PR on our doc!
  • XOA Failing on Check-in

    19
    1
    0 Votes
    19 Posts
    723 Views
    olivierlambertO
    Thank you very much for the clear explanation @HamiltonWDS ! This will be really helpful so we find a solution for that. We might default to IPv4 for a lot higher latency, and in the future maybe having closer location mirrors. Let me discuss this internally and schedule an action for that.
  • How do you clone a VM to another host?

    11
    0 Votes
    11 Posts
    4k Views
    D
    The simple answer here is to use the Continuous Replication backup type. It'll copy the VM to another host on whatever schedule you set. It couldn't be simpler.
  • Hub and Templates

    2
    0 Votes
    2 Posts
    95 Views
    olivierlambertO
    Hi! Yes, we'll develop the hub in the future, we just lack the resource internally to prioritize this against the rest, but as we a growing fast, expect more things coming in here
  • Guest Tools Recognized as Wrong Version

    4
    0 Votes
    4 Posts
    217 Views
    olivierlambertO
    I have no idea for the legacy Linux tools, they are badly coded and you can get rid of them entirely We've been using them in prod since almost a year without any issue. 1.0 will come soon but it's already very stable and safe (it's written in Rust). Our goal is to get them in all Linux distro upstream ASAP.
  • Backup to S3 aborted what permissions are required?

    backup aws
    26
    0 Votes
    26 Posts
    4k Views
    A
    Posted this as I personally found this configuration quite involved, and the permissions earlier in the thread were insufficient to make it work when using AWS KMS for bucket encryption as well as the XO provided encryption secret.
  • How it works the NBD? I don't see improvements

    7
    0 Votes
    7 Posts
    361 Views
    M
    @olivierlambert If you want me to check anything else, just tell me and I will test for you. Many Thanks BR Marco
  • Cloud Config success

    cloudinit config
    7
    3 Votes
    7 Posts
    2k Views
    M
    @mtcoffee Thank you. Just what I need.
  • Warm Migration HOST_CANNOT_ATTACH_NETWORK

    3
    0 Votes
    3 Posts
    108 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
    2
    0 Votes
    4 Posts
    97 Views
    J
    Doesn’t the status history go back 1 year? Thanks for the info I’ll restart it and clear it