Subcategories

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

    378 Topics
    3k Posts
    olivierlambertO
    Hi, Do you have any error message? What's happening? Anything visible or not?
  • ACLs, Self-service, Cloud-init, Load balancing...

    93 Topics
    783 Posts
    MK.ultraM
    @tmk said in Cloudbase-init on Windows: @jkatz I ran into the same issue when trying to configure a network adapter with cloudbase-init. The documentation says that the MAC address value is optional but in reality it is required. In my case I want Xen Orchestra to choose a unique MAC during deployment, and I since I am deploying from a template, the NIC name is a known value. The fix that ended up working for me was to modify the networkconfig.py file in cloudbase-init so that the NIC name is required and the MAC address is optional. I ended up making some additional changes to allow for the network-config v2 format along with the existing v1 support and some additional logic to aid in setting the dns search domains (I can't recall if this was originally supported or not but I had issues getting it to work with the original networkconfig.py file) This file needs to replace the existing one that is installed in the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Lib\site-packages\cloudbaseinit\plugins\common\ directory. To replace it you should make sure that the cloudbase-init service is stopped, then replace the file. Once this file is replaced, delete the pycache folder in the same parent folder as networkconfig.py - this will ensure that python recompiles this file on service start. Start the cloudbase-init service and confirm that you see a new pycache get created. I'm not a python programmer by trade so others may be able to point out areas for improvement but this ended up working for me and I wanted to share in case it could help others needing to deploy new servers without manually specifying a new MAC address. Below is an example network-config v2 format that works with the updated file. version: 2 ethernets: Ethernet 2: dhcp4: false addresses: - 10.20.30.10/24 nameservers: addresses: - 10.20.5.12 - 10.20.5.13 - 10.20.5.14 search: - intranet.domain.org - domain.org - public-domain.org routes: - to: default via: 10.20.30.1 Updated networkconfig.py file: networkconfig.py.txt Thank you for posting! I followed your directions verbatim and I'm still having trouble getting the network config to take. Does it work with Windows Server 2025?
  • All XO backup features: full and incremental, replication, mirrors...

    389 Topics
    4k Posts
    utopianfishU
    @nikade My 10gb nic are directly connected to my hosts.. i dont have a 10gb switch.. the mgmt is connected via switch ports...
  • Everything related to Xen Orchestra's REST API

    68 Topics
    529 Posts
    olivierlambertO
    @lsouai-vates we should try to reproduce and if we can, to fix it ASAP. Thanks!
  • Terraform, Packer or any tool to do IaC

    35 Topics
    350 Posts
    J
    @manilx I have proposed to the IaC team of Vates, a MCP Server for Vates VMS. Which can be used by GitHub Copilot or similar, if used when doing IaC etc.
  • Acl setting not clear, how to

    4
    0 Votes
    4 Posts
    262 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
    2k 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
    1k 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
    326 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
    290 Views
    A
    @Danp Thanks a million dear. much appreciated
  • $getFrom Understanding

    1
    3
    0 Votes
    1 Posts
    80 Views
    No one has replied
  • 0 Votes
    5 Posts
    919 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
    426 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
    414 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
    211 Views
    No one has replied
  • Issues With Audit Log

    Solved
    8
    0 Votes
    8 Posts
    1k 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
    7k Views
    K
    @olivierlambert Awesome! Can't wait.
  • Migrating XO to another server.... best process?

    Solved
    4
    0 Votes
    4 Posts
    217 Views
    M
    So, problem solved.....
  • Migrating an offline VM disk between two local SRs is slow

    22
    1
    0 Votes
    22 Posts
    2k Views
    olivierlambertO
    Maybe the IO scheduler is not the right one?
  • Warning logs in XCP-NG

    1
    0 Votes
    1 Posts
    82 Views
    No one has replied
  • sdn certs module

    30
    0 Votes
    30 Posts
    5k Views
    E
    @eeldivad i turned on "override-certs" option and it seems to work now. I'm still curious why the other build fails. Does anyone know how i can generate those 3 pem files manually to test?
  • New install - Login screen blank

    14
    2
    0 Votes
    14 Posts
    526 Views
    R
    This is solved. What I ended up doing was installing ubuntu and doing the whole install as root. Thanks for the help, I hope I can use XOA in the future!
  • XOCE - Language not keep when i come back (surrely dumb question)

    15
    0 Votes
    15 Posts
    984 Views
    D
    @olivierlambert said in XOCE - Language not keep when i come back (surrely dumb question): Why? I mean you are the first person to ask this. It's more work to do that and I'm not sure to really see the value A cookie is the perfect simple way to store info that are from your same browser/session, so it's very logical. Yeah, I don't see the value in having to keep a user preference within XO itself either.. just don't clear your cookies. It's what they are meant for.
  • Login to XOA console

    Solved
    3
    1
    0 Votes
    3 Posts
    177 Views
    S
    Thank you for your attention. It worked!