XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    • Profile
    • Following 0
    • Followers 2
    • Topics 1
    • Shares 0
    • Posts 292
    • Groups 2
    poddingueP Online
    1. Home
    2. poddingue
    3. Posts

    Posts

    Recent Best Controversial
    • RE: Bad Performance CPU? get-cpufreq-para failed

      Thanks all, that fills in most of the table.

      @probain, your H12SSL-i with the EPYC 7302P already returns real values through the powernow driver with the ondemand governor, and your BIOS screenshot doesn't show any OS-control setting, so on that board it seems to work out of the box. I saw the same on another EPYC host I could check, also powernow and ondemand with nothing failing, though I don't know which power setting its firmware runs with.
      ondemand looks expected on AMD: if I read our Xen package right, XCP-ng only switches Intel hosts to performance by default and leaves AMD on Xen's default, which is ondemand.

      @flakpyro, good to know the R6515 and DL325 expose the same settings as their Intel siblings, and if someone runs XCP-ng on one of those, the xenpm output would settle it.
      @tjkreidl's article makes the same point from the XenServer days, on Dell too: the host has to have control.

      posted in Compute
      poddingueP
      poddingue
    • RE: Host time and XOA time are not consistent with each other

      Thanks, the XO VM side looks fine (System clock synchronized: yes), but on the host chronyc sources says Number of sources = 0, so the host has no time server to follow at all. 🤷

      I had this on two of my lab hosts: the installer had been told to take NTP servers from DHCP, my DHCP server never sent any, and /etc/chrony.conf ended up with no server line, so it might be the same story on yours. That's something I explored with @rzr.
      You can check with grep -E '^(server|pool)' /etc/chrony.conf, and grep ntp-config-method /var/log/installer/install-log shows which option the installer used. If the first one prints nothing, add a server <your-ntp-server> iburst line, run systemctl restart chronyd, and chronyc sources should then show a ^* line, as on https://docs.xcp-ng.org/management/hosts-pools#time-synchronization-ntp .

      If the server lines are already there, I'd look at DNS on the host next, since chrony can't use a name it can't resolve, though I'm less sure that's your case. And the files in DustinB's post live on his own Ansible machine, so cat won't find them on the host.

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: Bad Performance CPU? get-cpufreq-para failed

      Adding the Dell answer here so all three vendors sit together, thanks to @flakpyro in another thread. On iDRAC9 it's Configuration, BIOS Settings, System Profile Settings, with System Profile set to Performance Per Watt (OS); CPU Power Management then shows OS DBPM (https://xcp-ng.org/forum/post/109888). He saw it on a PowerEdge R360, and the host needed a reboot, same as the HPE one (https://xcp-ng.org/forum/post/109898). As far as I can tell from what people reported, the pattern is the same on all three: the setting that hands control to the OS is the one that works, not the "maximum performance" one. Supermicro and AMD hosts are still missing, so if you run one, the setting name and whether it needed a reboot would help.

      posted in Compute
      poddingueP
      poddingue
    • RE: Missing vdi which is a base for a delta

      Thanks, an empty folder on the Synology changes things. There's nothing on the target to delete, so at least for this VM the target can't be the side missing a piece. I had it the wrong way round on the 20th. 🤦

      Going back to the code, when the target has nothing, the mirror queues every backup Ark holds for that VM, oldest first and per source job. It only stops with this error when one of them is a delta whose parent isn't on the target.
      With nothing there, that would mean the oldest backup on Ark for 7da38127 is itself a delta with no key behind it, which sounds like the keyless chains you found on the 18th. 🤔

      Could you check in the restore view whether the oldest Ark backup of that VM shows a key tag, job by job, since you have several delta jobs feeding Ark?
      The mirror page in the docs assumes the chain on the source starts with a key (https://docs.xen-orchestra.com/backups-and-dr/backup-types/mirror_backup#synchronizing-algorithm-for-incremental-backups), and I don't know yet how Ark ends up with a chain that doesn't, so my reading of the code could still be off.

      posted in Backup
      poddingueP
      poddingue
    • RE: Host time and XOA time are not consistent with each other

      No worries about the screenshots: both commands print plain text, so you can paste the output straight into a code block (three backticks on the line before and after) and no link is needed. 🤷

      On the host, chronyc sources should show one line starting with ^*, which is the server it actually syncs from; if none starts with ^*, I think the host isn't synced at all.

      On the XO VM, timedatectl has a System clock synchronized: line that should say yes. If it's XOA, it uses systemd-timesyncd and you can change its servers with xoa network ntp, as described here: https://docs.xen-orchestra.com/getting-started/configuration#setting-a-custom-ntp-server .

      @DustinB's idea of pointing the hosts and every VM at the same internal NTP server is the cleaner fix in the long run, but I'd still like to see the two outputs to understand why it only shows up after a reboot.

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: Create VM with XO Lite GUI

      Welcome! 👋

      As @ph7 and @acebmxer said, the New VM button is at the top right once you select the pool (it's in @acebmxer's screenshot). If it isn't there for you, updating the host is the next step, as he suggested.

      Since your server has to stay offline, though, I think yum update will only work against a local mirror of the XCP-ng repositories. The updates page says the dom0 needs either internet access or a local mirror, with the baseurl lines in /etc/yum.repos.d/xcp-ng.repo pointed at it (https://docs.xcp-ng.org/management/updates/).

      I haven't set up a mirror like that myself, so others here may know a simpler way for a single offline host.

      posted in XO Lite
      poddingueP
      poddingue
    • RE: Google Chat/ Google Groups Transport Plugin

      Looking through the repo, I don't see a Google Chat transport today, only email, XMPP, Slack/Mattermost, Nagios and Icinga 2, plus the web-hooks plugin. 🤷

      For Google Groups I'd guess you don't need a plugin at all: a group is a mailing list, so putting its address in the backup-reports recipients with transport-email set up should work, though I haven't tried it and the group has to accept mail from outside senders.

      Chat is harder. transport-slack sends Slack-specific fields like channel with the text, so I wouldn't count on a Chat webhook accepting them. The web-hooks plugin doesn't help much either, since it sends raw JSON rather than a formatted message (https://docs.xen-orchestra.com/backups-and-dr/backup_reports#web-hooks).

      If a native Chat transport matters to you, it could be worth posting it on https://feedback.vates.tech so others can vote on it. Someone here may already relay that JSON into Chat with a small script, you never know...

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: Host time and XOA time are not consistent with each other

      @tjkreidl has it right, I think: the host and the XO VM each keep their own clock, so both of them need a working NTP source. The page he means is probably this one: https://docs.xcp-ng.org/management/hosts-pools#time-synchronization-ntp.
      There are two older threads with this warning, and in both it seems to have come down to one side not reaching any NTP server, once because NTP was never set on the host (https://xcp-ng.org/forum/post/86396) and once because DNS broke after an update (https://xcp-ng.org/forum/post/97429).

      Could you run chronyc sources on the host and timedatectl on the XO VM right after a reboot, and tell us whether you're on XOA or XO built from sources? Olivier mentioned in one of those threads that XOA comes with an NTP client while a from-sources install leaves that part to you, but I'm not sure that alone explains why it shows up after every reboot.

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: Missing vdi which is a base for a delta

      @blueh2o I think the two things you saw fit together, at least going by what I see in the mirror code. The 1 differencing tag only says that this one backup's disk is a delta, which is normal for an incremental; the key sits further back in the chain, which I think is why the health check could still rebuild the whole ~280 GiB disk.
      And as I wrote a few posts up, the mirror reads the parent of each delta on Ark and then asks each target whether it already has it, so last night's error would mean the Synology is missing d08f1acc for that one VM (fb7fca7d), not that Ark is broken.
      That brings us back to Florent's suggestion from the older thread, deleting that VM's most recent backups on the Synology so they get sent again, though I can't tell you why the Synology lost that base in the first place. At least it's down to one VM out of 56 last night, against 16 in October.

      posted in Backup
      poddingueP
      poddingue
    • RE: Backups in OX v6

      @flakpyro from your screenshot and a look at the code, I think the VM name is already stored on each of those "backup VM" tasks, but the XO 6 task list just shows the generic label instead, so it might be a small change rather than a big missing piece (I haven't checked whether the side panel shows it).
      It could be worth its own post on feedback.vates.tech so it gets votes.
      The closest one I found is about the job's detail panel rather than the task list: https://feedback.vates.tech/posts/60/xo6-backup-summary-is-a-stacked-jumbled-and-cryptic

      posted in Backup
      poddingueP
      poddingue
    • RE: iscsi shows "No Storage Repositories Detected"

      From your discovery output, the target still seems to be there, which is a good start. The docs have a section for the SR part: https://docs.xcp-ng.org/storage/manage-srs#reattach-a-forgotten-sr (with xe sr-probe just below it to find the IQN and LUN, though I haven't tried it on iSCSI myself).
      Before you go further, though, there's something Olivier explained in a similar thread: the VM definitions (name, CPU, RAM, which disks) live in the host's database, not on the SR, so after a reinstall the disks can come back, but the VMs as they were only return with a metadata backup; otherwise it means recreating them and attaching the disks (https://xcp-ng.org/forum/post/93504).
      Did you have an XCP-ng metadata backup job in XO, or one from the host console? Also, from what I read in the LVM storage driver, creating a new SR on that LUN would wipe it, so I'd be careful not to click through anything that offers to create one. Your post got cut off at "Other things d", could you tell us what else you tried?
      @Team-Storage, could someone check I haven't steered okynnor wrong here?

      posted in Compute
      poddingueP
      poddingue
    • RE: [XO6] Bug: Working in multiple XO6 in tabs, breaks the "eye"-sidebar

      I tried your steps on a lab XOA running 6.10, and I could reproduce it, but only once I had unpinned the side panel. With the panel pinned (the pin button at the top of the panel), switching tabs left it alone in my test, so that might do as a workaround for now.
      Did you unpin it at some point, or is your browser window on the narrow side? From a quick look at the code, I think the open or closed state of that panel is kept in the browser's local storage, which all tabs of the same site share, so one tab closing it closes it for the others, though I may be misreading it. You have the steps written down already, so I'd pass them to @Team-XO-Frontend; whether it's meant to work that way is their call, not mine.

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: packer plugin signing key

      @enkaskal I need to correct my reply above, I got two things wrong. The plugin is ours after all: ddelnano/packer-plugin-xenserver is the repo's old address, it moved to vatesfr/packer-plugin-xenserver (where you filed #212), and GitHub just redirects the old link, which I read on our IaC docs page and jumped to the wrong conclusion.
      The key isn't missing either, I just didn't look in the right place: it's the signing key the Terraform Registry lists for vatesfr/xenorchestra, so you can fetch it from there. 🤦

      curl -s https://registry.terraform.io/v1/providers/vatesfr/xenorchestra/0.41.2/download/linux/amd64 \
        | jq -r '.signing_keys.gpg_public_keys[0].ascii_armor' > xenorchestra-signing.asc
      gpg --import xenorchestra-signing.asc
      gpg --verify packer-plugin-xenserver_v0.12.0_SHA256SUMS.sig packer-plugin-xenserver_v0.12.0_SHA256SUMS
      

      On my machine the last command reports a good signature from 0DD2E92A7A0F682BC29F87073084D82948625D89, still a key in Dom Delnano's name from before the move. I'm honestly not sure how much trust that gives you beyond "the registry vouches for the same key", so I'd leave that part to the folks on #212 who know the release side better than me. Sorry for the detour. 🤷

      posted in Infrastructure as Code
      poddingueP
      poddingue
    • RE: Xen Orchestra web UI becomes unresponsive when an NFS backup remote goes offline

      Thanks, both of you, for putting the tests on the GitHub issue (https://github.com/vatesfr/xen-orchestra/issues/10741). Florent and the devs have everything in one place now.

      @frb94, sorry the NFS side pushed you back to Veeam for the VM backups.

      I can't promise anything on timing, but I'll keep an eye on the issue and post here if it moves.

      posted in Xen Orchestra
      poddingueP
      poddingue
    • RE: XOSTOR getting an SR_BACKEND_FAILURE because it is trying to connect to a random IP

      Do your hosts have public IP addresses on their management interface? I'm asking because the XOSTOR docs carry a warning about that setup (here) : according to them, the LINSTOR satellites listen on port 3366 without authentication, and an outside party can connect to them and get in the way of the real controller.

      If yours are reachable from outside, I think a different address each time would fit that, but I haven't checked it against a setup like yours. Thanks for offering to keep the cluster in that state for a bit. I'd point @Team-Storage at it before you reboot anything, since they're much better placed than me to say what's worth collecting.

      posted in XOSTOR
      poddingueP
      poddingue
    • RE: Missing vdi which is a base for a delta

      Glad you got a clean run out of it, and thanks for coming back to say what worked. If I'm reading the mirror code right, it checks that the parent disk of each delta is already on every target, and stops with this exact error when one isn't there. How a chain ends up without its key in the first place, I can't tell you. Which remote were those chains on, Ark or one of the mirror targets? And before you wipe everything and start over, could you jot down which VMs had them? I think that's what someone would need to chase the cause.

      posted in Backup
      poddingueP
      poddingue
    • RE: xoa kernel update crash the VM ! linux-image-6.1.0-55

      Thanks for the heads-up, @Pilow. In case someone finds this later, Debian tracks it as bug #1154101, an ext4 regression in kernel 6.1.192-1, which installs as -55. They marked it fixed in 6.1.192-2 on 16 November. That one installs as linux-image-6.1.0-56-amd64, so it's the -56 in your proxy screenshot.

      The XOA in my test lab never picked up -55, and apt-cache policy there already offers 6.1.192-2 as the next kernel. I think unattended-upgrades will jump straight to the fixed one, but I haven't watched it do that.

      If you put the hold in place, you'll want sudo apt-mark unhold linux-image-amd64 once you're on -56. Otherwise, if I understand holds correctly, the box stops getting kernel updates, including the security ones. It might be worth a mention to @Team-XO-Backend too, since XOA installs these kernels on its own.

      posted in Management
      poddingueP
      poddingue
    • RE: Backups in OX v6

      I don't think the manual run part is a bug. XO 6 has its own message for it ("This backup job has multiple schedules"), so it looks like a deliberate limit for now, though I don't know the reasoning behind it. 🤷

      On the chains, if I'm reading the backup code right, an incremental job only looks for its parent disks in a folder named after the job's ID. If that's right, splitting into two jobs would give you two separate chains on the remote, each starting with its own full.

      If the Full Backups schedule is there to restart the chain every so often, the docs describe the full backup interval setting on the delta job as the way to do that within one job: https://docs.xen-orchestra.com/backups-and-dr/backup-types/incremental_backups#key-backup-interval

      I haven't tried switching a running job over to it myself. @Team-XO-Frontend can probably say what the split advice has in mind.

      posted in Backup
      poddingueP
      poddingue
    • RE: Full backup failure when upgrading XOce

      Small correction to what I wrote above. There's an open PR for XO on Node 26 (https://github.com/vatesfr/xen-orchestra/pull/10721) whose description says several outgoing HTTP requests from xo-server fail on 26 until it's merged: web hooks, Netbox, XO Proxies, the patch list, imports from a URL. 😢

      So the docs saying "latest LTS" doesn't make 26 a safe bet right now, and I shouldn't have made it sound like one. My bad. 🤦

      @ph7, backups to a NAS aren't in that PR's list if I'm reading it right, which would fit with yours working, but the rest might bite you.
      As @jr-m4 and @acebmxer pointed out, https://github.com/vatesfr/xen-orchestra/pull/10790 would pin the docs to Node 22 like XOA. I'm still asking the team which version they actually want people on, and I'll come back here once I know.

      posted in Backup
      poddingueP
      poddingue
    • RE: Full backup failure when upgrading XOce

      Hmmm... 🤔

      I'll have to dig and ask the team.

      Thanks. 👍

      posted in Backup
      poddingueP
      poddingue