Subcategories

  • All Xen related stuff

    569 Topics
    5k Posts
    K
    Good-day Folks, I trust you're all doing well. For the past couple of days, I've been noticing that the Console of one of my VMs (DC02) becomes inaccessible (from within Xen Orchestra), however, during this state I am able to using RDP to remotely access the VM. To begin troubleshooting, I attempted to reboot the VM from Xen Orchestra's VM controls menus. This failed and I was greeted by the following error message: INTERNAL_ERROR: Object with type VM and id 9fa84df4-3912-5cbf-09a6-3374dd27eead/config does not exist in xenopsd. Next, I attempted to force a VM Reboot or Shutdown from the VM's Advanced tab, and was met with the same error message. The Temporary Solution (Workaround) This is what got my VM back into a working/running state - though I'm not sure if the order is important: First, I ran Rescan all disks on the SR where the VDI of the VM was located Second, I restarted the Toolstack of the host that the VM was running on. I immediately noticed that the previous shutdown attempt took effect, but I was now unable to restart the VM. All attempts to start the VM resulted in the error: INTERNAL_ERROR: xenopsd internal error: Storage_error ([S(Illegal_transition);[[S(Attached);S(RO)];[S(Attached);S(RW)]]]) Last, I restarted the Toolstack of the master host. Once Xen Orchestra reconnected, I was able to start up the VM without any issues. Unfortunately, I am unable to tell when the issue is occurring or what conditions lead to the VM getting into this state. Since this is a lab environment being used for a Proof of Concept (POC), we're in the lab sporadically. I've observed this issue twice now, generally in the mornings. Anyway, I thought I'd report it to the community to see if anyone has encountered a similar issue before and could offer some hints on a permanent solution. Thanks. My Environment: Hosts: 3-node XCP-ng v8.3.0 XOA: v5.102.1 Build: 20250220 (air-gapped) [image: 1750218716005-whatsapp-image-2025-06-17-at-23.08.53_85395f0a-resized.jpg] [image: 1750218702288-whatsapp-image-2025-06-17-at-23.08.53_efc3afc7-resized.jpg]
  • The integrated web UI to manage XCP-ng

    18 Topics
    261 Posts
    G
    Confirmed by trying to install a Windows Server 2025 with UEFI and it did not boot the CD from the ISO SR (SMB share). Started over to be able to grab screen shots of the process for documentation, Debian 12 from the latest ISO worked just fine in BIOS mode. Overall, pretty pleased at where XO Lite is going, it's complete enough to get started, easier if you deploy XOA (as it has always been), but you can do everything in a semi GUI/Text based workflow now which opens this up to more users. And once some form of XO is running, it's all back to the same as it has been which is certainly one of the easiest systems to get up and running.
  • Section dedicated to migrations from VMWare, HyperV, Proxmox etc. to XCP-ng

    92 Topics
    1k Posts
    D
    @bpsingh76 said in xen 7.2 vm to xcpng 8.2: We have a VM on Xen server 7.2 and due to some reason we cant migrate it to xcpng. So, we exported xva of the VM, restored it on another xcpng 8.2, restore was successful but when we tried to start, it said no VM. we checked with another it was same. Can someone please suggest solution urgently. Setup Xen Orchestra and use the live migration feature. I have a link in my BIO or you can follow the from sources documentation.
  • Hardware related section

    115 Topics
    1k Posts
    olivierlambertO
    Ahh excellent news! Thanks for keeping us posted
  • The place to discuss new additions into XCP-ng

    240 Topics
    3k Posts
    B
    Helo! in bios mode, how can I boot a PVH VM ?
  • NFS multipathing configuration

    xcp-ng nfs xenorchestra
    4
    3
    0 Votes
    4 Posts
    110 Views
    B
    @olivierlambert Ok, yes, I saw some mentions regarding the kernel. I'm excited to see XCP-ng 9.0 in 2028. Thank you for the information!
  • 0 Votes
    18 Posts
    163 Views
    R
    said in VM failed and won't start. Displaying "An emulator required to run this VM failed to start": rejecting I/O to offline device I was able to reboot the host. Now things seam fine. Does that make sense? I mean have you seen this happen then a reboot of the host takes care of it?
  • Migrating from XCP-ng Windows guest tools to Citrix

    3
    0 Votes
    3 Posts
    79 Views
    D
    @bberndt Both the Citrix and XCP-ng Windows drivers require several reboots to upgrade because they are stateful and need to keep track of changes in the bus driver. They do have an "autoreboot" feature that will take care of the reboots by themselves based on a registry value. You can refer to our update guide for more details. Though I do hope to find a way to reduce excessive reboots eventually. Often its completely offline, and an Admin needs to get on the VPN, log in to XO or XCP-center, and go to the VM console, and reboot, and or put the IP information back in to a new virtual ethernet interface. Static IP loss was a bug and shouldn't happen any more with the new Citrix drivers.
  • Automating VM configurations after mass VMware imports

    9
    0 Votes
    9 Posts
    147 Views
    olivierlambertO
    Thanks, this is helpful We'll discuss that with the @Team-DevOps and try to get things implemented!
  • Commvault backups failing for a VM with large disks

    2
    0 Votes
    2 Posts
    61 Views
    olivierlambertO
    To me it sounds like a Commvault issue. If you want some investigation on Vates side, I would recommend to open a support ticket
  • How to Re-attach an SR

    Solved
    20
    0 Votes
    20 Posts
    386 Views
    tjkreidlT
    @olivierlambert Agreed. The Citrix forum used to be very active, but especially since Citrix was taken over, https://community.citrix.com has had way less activity, sadly. It's still gratifying that a lot of the functionality still is common to both platforms, although as XCP-ng evolves, there will be continually less commonality.
  • Rolling Pool Update - not possible to resume a failed RPU

    13
    0 Votes
    13 Posts
    292 Views
    Tristis OrisT
    @olivierlambert During RPU - yes. i mean manual update in case of failure.
  • Alpine Template Problem

    7
    2
    0 Votes
    7 Posts
    181 Views
    B
    For anything older than the branches still shown in https://pkgs.alpinelinux.org, (from v3.0 to v3.12), the packages should be downloaded from their cdn: https://dl-cdn.alpinelinux.org/alpine But as mentioned above, anything older than 3 releases from the lastest current one(v3.21) are end of life and should not be used for more than testing.
  • What to do about Realtek RTL8125 RTL8126 RTL8127 drivers

    3
    0 Votes
    3 Posts
    369 Views
    A
    @snowstruk The stock XCP 8.3 r8125 driver works for my 8125 and 8126 devices. I have not tried it a 5G, so it's possible the 8126 is not working at 5G (I don't see it advertised) with the current driver. I have run the current dedicated realtek 8125 driver and it works but I have not tried the 8126 driver. I don't know how many people are using the 8126 chipset (I guess not many). If your device is not working at >1G then it sees to be a hardware incompatibility issue. You could try loading the new 8126 firmware to see if that helps. Here's the output about my test 8126 card (attached to a 2.5G switch): # lspci -v -s 04:00.0 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8126 5GbE Controller (rev 01) Subsystem: Realtek Semiconductor Co., Ltd. Device 0123 Flags: bus master, fast devsel, latency 0, IRQ 18 I/O ports at 3000 [size=256] Memory at e0d00000 (64-bit, non-prefetchable) [size=64K] Memory at e0d10000 (64-bit, non-prefetchable) [size=16K] Expansion ROM at e0d20000 [disabled] [size=64K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+ Capabilities: [70] Express Endpoint, MSI 01 Capabilities: [b0] MSI-X: Enable+ Count=32 Masked- Capabilities: [d0] Vital Product Data Capabilities: [100] Advanced Error Reporting Capabilities: [148] Virtual Channel Capabilities: [170] Device Serial Number 01-00-00-00-b4-b3-c9-88 Capabilities: [180] #19 Capabilities: [190] Transaction Processing Hints Capabilities: [21c] Latency Tolerance Reporting Capabilities: [224] L1 PM Substates Capabilities: [234] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?> Kernel driver in use: r8125 Kernel modules: r8125 # ethtool -i eth1 driver: r8125 version: 9.012.04-NAPI-PTP-RSS firmware-version: rtl8126a-2_0.0.2 02/01/24 expansion-rom-version: bus-info: 0000:04:00.0 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: yes supports-priv-flags: no # ethtool eth1 Settings for eth1: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full 2500baseX/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full 2500baseX/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full 2500baseX/Full Link partner advertised pause frame use: Symmetric Receive-only Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 2500Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) drv probe ifdown ifup Link detected: yes
  • XCP-NG Kubernetes micro8k

    2
    7
    0 Votes
    2 Posts
    126 Views
    olivierlambertO
    Hi, Can you explain what you are trying to achieve exactly? And if you have an issue, what is it? edit: also please edit your post to use Markdown syntax for code block
  • 8.3 Cannot boot from CD Rom

    19
    1
    0 Votes
    19 Posts
    756 Views
    olivierlambertO
    Reping @stormi
  • sr iso disconnect and crashed my hosts

    11
    0 Votes
    11 Posts
    259 Views
    olivierlambertO
    I already suggested you the solution, now it's up to you to live with those process or to decide to reboot (ideally after doing updates because it's very dangerous to NOT being up to date)
  • Install XCP-ng in old HP ProLiant DL160 G6 (gen 6)

    9
    0 Votes
    9 Posts
    324 Views
    S
    @john.c Yeah - like I said it is a good step in the right direction. Just doesn't solve my particular storage related problems.
  • Citrix tools after version 9.0 removed quiesced snapshot

    2
    0 Votes
    2 Posts
    141 Views
    TeddyAstieT
    @vkeven XCP-ng 8.1 release note says VSS and quiesced snapshots support is removed, because it never worked correctly and caused more harm than good. Note that Windows guest tools version 9 (the default for recent versions of Windows if you install Citrix drivers) already removed VSS support, even for older versions of CH / XCP-ng I am not sure if this VSS feature is bound to the PV drivers, or if it also needs hypervisor support. Though it is not recommended to stay on a old version of the guest agent.
  • Diagnosing frequent crashes on host

    15
    0 Votes
    15 Posts
    447 Views
    T
    @olivierlambert @olivierlambert said in Diagnosing frequent crashes on host: Maybe there's a usage that's slightly different since when it was "more solid" and now it's trigger more easily. Is your XCP-ng fully up to date? No; as said originally, I'm still on 8.2.1. I have been concerned about moving to 8.3 because it's a new installation, and I don't want to screw it up, but I'm willing to accept that it's the right thing to do.
  • Script to auto mount USBs on Boot/Reboot. Monitoring Multiple UPS

    7
    0 Votes
    7 Posts
    539 Views
    olivierlambertO
    Ping @stormi so we track this somewhere internally
  • Grub looking for /dev/vda instead of /dev/xvda

    1
    0 Votes
    1 Posts
    87 Views
    No one has replied
  • Storage migration logs

    2
    0 Votes
    2 Posts
    74 Views
    olivierlambertO
    Hi, Check the task view, you'll have the duration of the process visible.
  • reboot of host does it stop or kill running VM's?

    14
    0 Votes
    14 Posts
    1k Views
    N
    Could someone elaborate on the procedure to have all VMs on a host shutdown properly upon XCP-NG host shutdown please? I tried from the host prompt: xe host-disable xe host-shutdown and from XOA Host: shutdown, with warning (This will shutdown your host without evacuating its VMs. Do you want to continue?) and rightly so the host has seemingly become unavailable (ping to its IP stops) But then what happens is very odd: first the VM on it still pings for a couple minutes (yes after the host stops to answers the ping) then the VM stops pinging but AFAICS XCP-NG is not OFF Awkwardly, I just access to the IDRAC8 entreprise license on which XCP-Ng is running, and can't SEE the proper status of XCP-NG from it. AFAIK it's not pinging but it doesn't seem OFF either. At least the IDRAC shows it ON, and upon power cycling and reconnecting to the VM the logs shows it hasn't been cleanly shutdown. NB: the VM has xen-guest-agent running within a container, but from what I gathered, the agent in Linux guests has no role in VM shutdown: See https://xcp-ng.org/forum/topic/10631/understanding-xe-guest-utilities/16 Also, I doubled check Proxmox: it does clean shutdown VMs, either with a "shutdown -h now" command or when triggered from GUI. And that's with a VM that has Promox guest installed. In any case, it would be nice to have XCP-NG/XOA be able to do the same.
  • ACPI Error: SMBus/IPMI/GenericSerialBus

    5
    0 Votes
    5 Posts
    207 Views
    ForzaF
    @dinhngtu Yes, looks like it. I stopped Netdata and the problem went away. But it is strange it started after the latest set of updates.