• Resource monitoring with perf-alert

    6
    3
    0 Votes
    6 Posts
    1k Views
    F
    @olivierlambert said in Resource monitoring with perf-alert: On the screenshot I can see your host is really outdated. So I would update/reboot and see the situation after that. I tried to update the patches but I get this error: pool.rollingUpdate { "pool": "68d0a3f2-ff33-8711-f8b3-bcd85507881b" } { "code": "-1", "params": [ "Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1", "", "Traceback (most recent call last): File \"/etc/xapi.d/plugins/xcpngutils/__init__.py\", line 119, in wrapper return func(*args, **kwds) File \"/etc/xapi.d/plugins/updater.py\", line 96, in decorator return func(*args, **kwargs) File \"/etc/xapi.d/plugins/updater.py\", line 157, in update raise error CalledProcessError: Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1 " ], "call": { "method": "host.call_plugin", "params": [ "OpaqueRef:b48630d1-f865-4315-9bac-21c94ad68369", "updater.py", "update", {} ] }, "message": "-1(Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1, , Traceback (most recent call last): File \"/etc/xapi.d/plugins/xcpngutils/__init__.py\", line 119, in wrapper return func(*args, **kwds) File \"/etc/xapi.d/plugins/updater.py\", line 96, in decorator return func(*args, **kwargs) File \"/etc/xapi.d/plugins/updater.py\", line 157, in update raise error CalledProcessError: Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1 )", "name": "XapiError", "stack": "XapiError: -1(Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1, , Traceback (most recent call last): File \"/etc/xapi.d/plugins/xcpngutils/__init__.py\", line 119, in wrapper return func(*args, **kwds) File \"/etc/xapi.d/plugins/updater.py\", line 96, in decorator return func(*args, **kwargs) File \"/etc/xapi.d/plugins/updater.py\", line 157, in update raise error CalledProcessError: Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1 ) at Function.wrap (/opt/xo/xo-builds/xen-orchestra-202306071622/packages/xen-api/src/_XapiError.js:16:12) at /opt/xo/xo-builds/xen-orchestra-202306071622/packages/xen-api/src/transports/json-rpc.js:35:21 at runNextTicks (node:internal/process/task_queues:60:5) at processImmediate (node:internal/timers:447:9) at process.callbackTrampoline (node:internal/async_hooks:130:17)" } Could anyone please help me resolve this issue? Thank you
  • Correct approach to passing block devices (SSD) through to a VM

    6
    0 Votes
    6 Posts
    3k Views
    planedropP
    @Ascar Your idea here seems pretty much spot on, I don't really see any issues with it. The only thing I would note is that personally for me, and especially in an actual prod environment, I recommend the NAS being it's own box running the OS on bare metal. This doesn't mean there is anything wrong with what you are wanting to do, but for me, the device handling my backups and large amounts of data needs to be 100% functional, the last thing I want is something to go wrong with my hypervisor which somehow breaks my ability to get the backups to restore things. There are plenty of people that do setups just like this though, especially in a homelab, and they usually don't run into issues.
  • How to disable all CPU exploit mitigations?

    3
    0 Votes
    3 Posts
    1k Views
    planedropP
    I second what @olivierlambert says here, really should NOT disable them, these mitigations are in place for a reason and should be left in place regardless of how trusted or untrusted of an environment it is. If this is a production system I would also note that you really shouldn't disable them, could be considered negligence in the event of a security incident.
  • Windows Server 2022 VM freezing during install

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    olivierlambertO
    Thanks for your feedback, this might help the community
  • dbsync error with unique constraint violation.

    9
    0 Votes
    9 Posts
    1k Views
    olivierlambertO
    Good luck!
  • OS free memory showing Static instead Dynamic

    14
    0 Votes
    14 Posts
    2k Views
    J
    @ivanobom I have made a request for packages to be added to the Synergy repository of Alma Linux. Give them the time to add the packages to the repository then try the Alma Linux distribution.
  • Cannot join cluster after node upgrade

    8
    0 Votes
    8 Posts
    1k Views
    V
    I didn't find a solution, it looked like a change of the host that affected network. Rerunning from USB with latest beta kept showing an upgrade. Network reset did not fix it and the machine was laggy, like when I tried to join from XO ( via settings ). I just did a complete reinstall, disabled HA on the NFS SR, joined pool and it worked and re-enabled HA. Seems ok now, thanks for the help. By the way, is there a way to join a node to the main pool in XO ? Thanks!
  • VM Running Poorly with MPI

    4
    0 Votes
    4 Posts
    544 Views
    olivierlambertO
    I'm talking in the BIOS or in Xen, I would stat to be sure that the CPU is boosting
  • Weird kern.log errors

    Solved
    22
    0 Votes
    22 Posts
    8k Views
    olivierlambertO
    Ahh great news! CPU issues are really tricky
  • Live migrate of Rocky Linux 8.8 VM crashes/reboots VM

    Solved
    20
    0 Votes
    20 Posts
    4k Views
    W
    @KFC-Netearth The Rocky Linux bugtracker indeed mentions it's mostly fixed, but there are still some kernel errors present: https://bugs.rockylinux.org/view.php?id=3565#c4293
  • PCI Nvidia GPU Passthrough boot delay

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    olivierlambertO
    Probably (ideally) before the end of 2024, but it's really hard to make any promises (it might be -at that point- an ever more recent version)
  • New Server HP 350 gen 10 hang

    1
    0 Votes
    1 Posts
    186 Views
    No one has replied
  • RunX as podman

    1
    1 Votes
    1 Posts
    389 Views
    No one has replied
  • PCPU assumed down

    Moved
    6
    0 Votes
    6 Posts
    457 Views
    shaddowS
    @Andrew At the moment I can not find why or what could be running at 21:30 but have a few thoughts into it, Including possible outside hack attempts, as I am on a Fixed IPv4 & IPv6 and the modem is bridged mode to one NIC. But on the VM I have running Pfsense2.6, Plex (Debian10), (Emails, dns, web) Freebsd12, Unifi (debain10), Asterisk (debian10), XenOrchestra7.4CE (Debian10). Not running but can be spun up, Winxp64, XenOrchestra(Paid Version) I have a replacement Nic in the mail and hope this will fix the problem, but wondering if I need to disable the onboard ones to stop the crash even if I force all to use the new ones, but hope this replacement card fixes the problems.
  • slow vm with high steal

    11
    0 Votes
    11 Posts
    2k Views
    olivierlambertO
    It sounds really slow to install on this hardware (even if it's not crazy fast, it shouldn't be that long). I would take a look at usual logs (like dmesg) to see if there's a problem on the hardware. I would also check to have latest BIOS and firmware installed on that machine.
  • lost access to vm

    3
    0 Votes
    3 Posts
    491 Views
    B
    Ok, I was able to fix this. I migrated it to the pool master on the cli. I don't think this was necessary in hindsight but I just wanted to be sure I knew where it was running. I then brought up xo-lite in Chrome on the pool master. At that point I could view the VM in the embedded console. It turned out that the root partition had errors on it and was stuck in Initramfs waiting for fsck to be run. Once I repaired the errors with fsck, the VM booted and I'm back in business.
  • Update doc'n for xe-guest-utils installation for Ubuntu

    8
    1 Votes
    8 Posts
    2k Views
    J
    @gsrfan01 As near as I can tell the apt version does not install the xe-linux-distribution.service and run it, and therefore the various daemons won't load. You can read more about my plight here: https://xcp-ng.org/forum/topic/7494/ubuntu-22-04lts-guest-utiilities?_=1688263726663
  • vTPM support requirements

    4
    0 Votes
    4 Posts
    2k Views
    jeffmetalJ
    @stormi said in vTPM support requirements: The TPM device is emulated in the controller domain, so it's all software. No need for hardware TPM. thanks, That's great to hear. Makes getting windows 11 machines working much easier.
  • How many VM can be created per host CPU core?

    Moved
    7
    0 Votes
    7 Posts
    1k Views
    D
    Thank you so much @olivierlambert, That helps me alot with clarification.
  • What is xo-server-log?

    18
    0 Votes
    18 Posts
    3k Views
    ronivayR
    That script has a shebang pointing to node (first line), so no need to define it separately, just execute the script directly.