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/.
  • Difference between "pool", "host" and "server".

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    pdoniasP
    @andrewperry Exactly
  • Lots of performance alerts after upgrading XO to commit aa490

    28
    0 Votes
    28 Posts
    4k Views
    Bastien NolletB
    @ph7 Some of the errors you encountered are intended. We don't allow values in the "Virtual Machines" field if "Exclude VMs" is disabled and "All running VMs" is enabled, because it would make the plugin configuration confusing. However you're right, there seems to be an issue when the VMs are selected and then removed. The value becomes an empty list instead of being undefined, which causes the validation to fail when we try to turn off the "Exclude VMs" option. I'm going to create a task on our side so that we can plan to resolve this problem. In the meantime you can work around the problem by deleting the monitor and recreating a new one with the same parameters.
  • S3 Backup - maximum number of parts

    1
    0 Votes
    1 Posts
    56 Views
    No one has replied
  • How to update to the latest version of XOA?

    2
    1
    0 Votes
    2 Posts
    132 Views
    DanpD
    Hi, This is explained in this KB article -- https://help.vates.tech/kb/en-us/30/21 Regards, Dan
  • Guide : XOA OIDC authentication with Fortiauthenticator

    1
    0 Votes
    1 Posts
    59 Views
    No one has replied
  • Connection failed - Unknown error

    Solved
    3
    1
    0 Votes
    3 Posts
    106 Views
    B
    @Andrew thank you
  • Rolling pool update failed to migrate VMs back

    14
    0 Votes
    14 Posts
    362 Views
    N
    @BenjiReis HA is automatically disabled by the RPU when it starts, then enabled at the end. - I see the task for that in the task log. We do have about 5 VMs that do not have HA enabled, but they are very small (~4GB each) so should not make any difference regardless of which hosts they were on. Also all VMs successfully evacuate from the host for the updates, its only when VMs are migrated back after all hosts are upgraded that I see a problem. I've raised a support ticket, if anything relevant comes out of it I'll try and report back here for future readers. Thanks for the suggestions, Neal.
  • Acl setting not clear, how to

    4
    0 Votes
    4 Posts
    92 Views
    I
    @Chico008 ACLs are used to assign rights to the guest users. As you said you have an admin who can do anything. In case you want to go with acl then your guest can get no leverage by using ACL create vm You as an admin will create VMs and manage other stuff but you then have ability to give three type of rights to the guest user. admin, operator, viewer In case of VMs when you give the admin right to a user then it means that user can have ability to anything with that VM. Delete, Reboot, etc But from you query you said that you want to give a right to guest user to create/run the vms to achieve this you have to look Self Service feature which is supported in XO from sources and in Premium XOA In self service you have ability to create resource sets which are pools, storage, networks, templates etc, and assign a user or group to it.
  • 0 Votes
    16 Posts
    989 Views
    M
    @florent Sorry for the delay. I was able to make it work with the change you posted. Thank You.
  • All drop-down options are empty

    Solved
    18
    3
    0 Votes
    18 Posts
    364 Views
    TS79T
    @Andrew said in All drop-down options are empty: XO install video thanks Andrew - 100% agree Tom's video is the exact one that introduced me to the ronivay script, which is what I've used for all XO-from-source installs without problems.
  • OIDC issue with Microsoft Entra ID

    3
    0 Votes
    3 Posts
    128 Views
    J
    I'm expericing the same/similar behaviour with SAML, and submitted a Feature Request that it should be looked at. https://xcp-ng.org/forum/topic/10430/feature-request-if-authenticated-don-t-stop-at-the-xo.company.net-signin-page
  • This topic is deleted!

    17
    1
    0 Votes
    17 Posts
    41 Views
  • Is there any way to cleanup or reset xo config db

    Solved
    4
    0 Votes
    4 Posts
    89 Views
    A
    @Danp Thanks a million dear. much appreciated
  • $getFrom Understanding

    1
    3
    0 Votes
    1 Posts
    35 Views
    No one has replied
  • 0 Votes
    5 Posts
    326 Views
    D
    I'm starting to think that something is wrong. Everywhere I check, I can see that the SAML request from the SP should have a signature of some sort. It doesn't seem that there is anything of the sort in our case. We are using the opensource for preproduction and are waiting for a pro license (paperwork on it's way) so maybe there is something wrong in the implementation ?
  • LDAP fails with error "Code: -32000 Message: Code: 0x3"

    Solved
    7
    0 Votes
    7 Posts
    151 Views
    Y
    @dinhngtu said in LDAP fails with error "Code: -32000 Message: Code: 0x3": sAMAccountName Thank you. (userPrincipalName={{name}}) filter made the trick. When I use (userPrincipalName={{name}}), it works for me either I set certificate check ON or not. (Actually I was expecting to check AD root cert as this connection is using LDAPS) And also test only works when I do it using UPN but not with username@domain format. Other filter options did not work at all.
  • Transfer Pool Master / only partial success

    Solved xoa master designate
    6
    1 Votes
    6 Posts
    107 Views
    X
    positive Update: today I wanted to continue with this problem, but when I logged Into XOA today, Master status was Green / enabled. Since no one execpt me has credentials to the Testcluster, I am sure that no one else had done something. So the master host seemed to recovered itself from grey to green within the last 8 Hours. There were at least 1-2 hours yesterday between execution of "pool-emergency-transition-to-master" and still beeing grey dot / Halted. xe pool-emergency-reset-master master-address=... then added the remaining hosts to the new master.
  • windows 11 : "windows 11 installation has failed"

    2
    3
    0 Votes
    2 Posts
    106 Views
    No one has replied
  • Issues With Audit Log

    Solved
    8
    0 Votes
    8 Posts
    832 Views
    marcoiM
    bringing up the host and restarting the tools on master seem to stop the excessive logging. EDIT: Bringing down host 3 triggers the alerts again EDIT2: Looks like it may be due to how i shutdown the host. First time I put it into maintenance mode, then did the halt command. That caused the messages to come up. Second time I just did halt and that caused the messages to come up. Third time, i hit disable first then halt. So far seems the messages are no longer coming up. I guess i should RTM more lol.
  • Imported VM Starts but Does Not Initialize the Display

    Solved
    51
    2
    0 Votes
    51 Posts
    2k Views
    K
    @olivierlambert Awesome! Can't wait.