New guest tools ISO for Linux and FreeBSD. Can you help with the tests?
-
Tested on Fedora 33 and CentOS 8 Stream (can't test live migration in my homelab)
-
Fedora 33 : nope at all
It failed because of chkconfig requirements and legacy init system unit => no more supported in
very recent version of systemd (here is 246 for Fedora). The officiel RPM from Fedoraxe-guest- utilities-latest
doesn't have these issues.
-
CentOS 8 Stream : way better than Fedora
- IP addresses reporting : OK
- Management agent detected : OK
- Clean shutdown/reboot : OK
-
-
This was going to happen sooner or later: distros dropping backwards compatibility with System V initscripts so we'll have to adapt the packaging so that a systemd unit is installed when relevant and keep the init script only for distros that don't support systemd.
-
@stormi For now, only a sysvinit script is available right ? If needed for systemd, can we re-use the unit from the Fedora packagers ? Looks pretty simple :
[Unit] Description=Linux Guest Agent ConditionVirtualization=xen [Service] ExecStartPre=/usr/sbin/sysctl net.ipv4.conf.all.arp_notify=1 ExecStartPre=/usr/sbin/xe-linux-distribution /var/cache/xe-linux-distribution ExecStart=/usr/sbin/xe-daemon [Install] WantedBy=multi-user.target
-
@stormi Updated my two host playlab (XCP-ng 8.2.0 fully patched) as per 1 and did a reboot of the hosts.
Created a new Debian 10 VM from scratch, installed the new guest tools and did a reboot of the VM. IP addresses and Management agent are shown as expected. Clean shutdown and reboot is working (from XO from source and from the VM console). Live migration is working as well.
Did the same with a Debian 10 VM restored from backup and it basically works as well. I experienced some "blibs" along the way which I attribute to my impatience (e.g. I was unable to eject the new guest tools disk after a live migration and needed a toolstack restart). Can not reproduce this, so most likely nothing.
Edit #1: Exported a Debian 10 VM with the "old" guest tools installed from another pool and imported it to my playlab pool, installed the new guest tools, did a reboot and it works as expected.
Edit #2: Created a new Ubuntu 20.04 server VM and everything works as well.
-
@ruskofd There's also one directly in the ISO, that is apparently used by
install.sh
on CoreOS. -
@stormi Fresh CentOS 8 install and migration working.
-
Fresh install of FreeBSD good.
Reboot and migration working as well.
-
-
@gskger For FreeBSD the distro packages were used.
So there is no change for FreeBSD which I believe is intended.
-
I really wish they would update the ports on FreeBSD. I am a heavy user of BSD and have all sorts of problems with migrations between servers. I normally get a lockup and some strange "Yellow and Black" bios screen, but not always.. 10% of the time it will migrate properly.
-
@chey Ah, I see - - thought that would have changed due to the topic and the test results.
-
Fresh install of CentOS 7
-
SLES 12.5 (usual warnings of sles12 xe-guest-utilities-xenstore conflicts with SUSE xen-tools)
IP addresses reporting : OK
Management agent detected : OK
Clean shutdown/reboot : OKSLES 15.1 seems fine
IP addresses reporting : OK
Management agent detected : OK
Clean shutdown/reboot : OKOpenSUSE LEAP 15.2 - Failed to determine Linux distribution and version
-
I have made version
7.20.0-5
of the tools available in the testing repository. The only difference is it should fix installation on FreePBX.Could someone test?
The test instructions in the first post are still relevant. In addition, you can check that the tools can be installed from the guest tools ISO on a FreePBX VM and that the reported distro in XO's advanced parameters is "sangoma".
-
I didn't get feedback but I have hopes for the next one:
xcp-ng-pv-tools-8.2.0-6.xcpng8.2
adds support for two new CentOS clones: Almalinux and Rocky Linux.Still interested in feedback regarding FreePBX though.
And about tests for regressions.
Please refer to first post for installation instructions.
-
Saw FreeBSD and got excited......
./install.sh Detected `FreeBSD 12.2-RELEASE-p6' (FreeBSD version 12). xe-guest-utilities-6.2.0_3 already installed No updates required to this Virtual Machine.
At least the script now works.
-
@jmccoy555 I just used it on an AlmaLinux OS 8.3 and it installed great.
/mnt/cdrom/Linux/install.sh Detected `AlmaLinux release 8.3 (Purple Manul)' (almalinux version 8). The following changes will be made to this Virtual Machine: * packages to be installed/upgraded: - xe-guest-utilities-7.20.0-7.x86_64.rpm - xe-guest-utilities-xenstore-7.20.0-7.x86_64.rpm Continue? [y/n] y Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:xe-guest-utilities-xenstore-7.20.################################# [ 50%] 2:xe-guest-utilities-7.20.0-7 ################################# [100%] You should now reboot this Virtual Machine.
-
@michael2z I neglected to mention that there's a newer guest utilities in the epel repository (xe-guest-utilities-latest-7.21.0-1.el8.x86_64).
-
@stormi Did some regression testing with fresh installs of
- Debian 10.7
- Ubuntu 20.04
- Centos 8
- FreePBX 15 (based on Centos 7.6 and testing only on request)
and checked IP, Management agent, shutdown/reboot, live migration with
a. no guest tools (fresh install)
b. current guest tools (from XCP-ng 8.2.0)
c. testing guest tools (fromyum update xcp-ng-pv-tools --enablerepo=xcp-ng-testing
)So 1a is fresh install of Debian 10 without guest tools, 4b is FreeBX install with current guest tools installed, 4b-c is FreePBX with testing guest tool installed over current guest tools and 3a-c is CentOS with testing guest tools installed over a fresh install without guest tools.
Fresh install
1-4a worked as expected.From fresh install to current guest tool
1a-b, 2a-b installed withbash /mnt/Linux/install.sh
3a-b only installed withbash /mnt/Linux/install.sh -d centos -m 8
4a-b only installed withbash /mnt/Linux/install.sh -d centos -m 7
1a-b, 2a-b showed Management Agent 8.1.50-1 with icon
3a-b, 4a-b showed Management Agent 8.1.50-1 but no iconFrom current guest tool to testing guest tool
After installing the new guest tools iso on both hosts
1b-c, 2b-c, 3b-c installed withbash /mnt/Linux/install.sh
, so CentOS 8 is now autodetected - nice
4b-c only installed withbash /mnt/Linux/install.sh -d centos -m 7
1b-c, 2b-c, 3b-c showed Management Agent 7.20.0.7 with icon
4b-c showed Management Agent 7.20.0.7 but still no iconFrom fresh install to testing guest tool
1a-c, 2a-c, 3a-c and 4a-c give the same results as b-c.Apart from the change in Management Agent version, CentOS now being autodetected, and FreePBX not beeing autodetected I had no issues with the new guest tools.
Edit: Typos and version information for FreePBX, where
cat /etc/os-release
on 4a returnsNAME="Sangoma Linux" VERSION="7 (Core)" ID="sangoma" ID_LIKE="centos rhel fedora" VERSION_ID="7" PRETTY_NAME="Sangoma Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:sangoma:sng:7::server:utf8" HOME_URL="https://distro.sangoma.net/" BUG_REPORT_URL="https://issues.sangoma.net/" CENTOS_MANTISBT_PROJECT="Sangoma-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="sangoma" REDHAT_SUPPORT_PRODUCT_VERSION="7"
-
@michael2z Yes, I get 7.20.0-7 on Linux (Debian 10).