Hi
I gave the new Xen-4.6rc2 a spin on a CentOS 7 virtualisation guest
(nested-xen). I haven't yet started testing guests, but rather looked at
the install itself.
One issue, I found, was with xenstored.service and the corresponding
unit-file:
[root@xencen7ws ~]# systemctl status xenstored
xenstored.service - The Xen xenstore
Loaded: loaded (/usr/lib/systemd/system/xenstored.service; disabled)
Active: active (running) since Tue 2015-09-08 23:13:43 CEST; 13min ago
Process: 757 ExecStartPre=/bin/mkdir -p /var/run/xen (code=exited,
status=0/SUCCESS)
Process: 753 ExecStartPre=/bin/rm -f /var/lib/xenstored/tdb*
(code=exited, status=0/SUCCESS)
Process: 740 ExecStartPre=/bin/grep -q control_d
/proc/xen/capabilities (code=exited, status=0/SUCCESS)
Main PID: 760 (xenstored)
CGroup: /system.slice/xenstored.service
└─760 /usr/sbin/xenstored
Sep 08 23:13:43 xencen7ws.virtfinity.local xenstored[760]: TDB:
tdb_open_ex: could not open file /var/lib/xenstored/tdb: No such file or
directory
Sep 08 23:13:43 xencen7ws.virtfinity.local xenstored[760]: Checking
store ...
Sep 08 23:13:43 xencen7ws.virtfinity.local xenstored[760]: Checking
store complete.
Sep 08 23:13:43 xencen7ws.virtfinity.local xenstored[760]: xenstored is
ready
Sep 08 23:13:43 xencen7ws.virtfinity.local systemd[1]: Started The Xen
xenstore.
As you can see, xenstored.service is running, but disabled by the
package installation. This is, because xenstored.service apparently got
overseen in the source-rpm's spec-file's post runtime/preun runtime. See
diff [1] for details.
Also, I think xenstored should write a pidfile. You might consider
adding to /usr/lib/systemd/system/xenstored.service:
PIDFile=/var/run/xenstored.pid
and change
ExecStart=/usr/sbin/xenstored
to
ExecStart=/usr/sbin/xenstored --pid-file /var/run/xenstored.pid
$XENSTORED_ARGS
Hope this helps, this is just a quick start. I'll continue checking and
reporting during the next days.
Regards,
Thomas
[1]
diff -u rpmbuild-xen-4.6rc2x-3.el7-org/SPECS/xen.spec
rpmbuild-xen-4.6rc2x-3.el7/SPECS/xen.spec
--- rpmbuild-xen-4.6rc2x-3.el7-org/SPECS/xen.spec 2015-09-08
18:47:00.000000000 +0200
+++ rpmbuild-xen-4.6rc2x-3.el7/SPECS/xen.spec 2015-09-09
00:06:27.558344410 +0200
@@ -403,6 +403,7 @@
/bin/systemctl enable xen-qemu-dom0-disk-backend.service
/bin/systemctl enable xen-init-dom0.service
/bin/systemctl enable xenconsoled.service
+ /bin/systemctl enable xenstored.service
# /bin/systemctl enable xendomains.service
%endif
@@ -422,6 +423,7 @@
/bin/systemctl disable xen-init-dom0.service
/bin/systemctl disable xen-qemu-dom0-disk-backend.service
/bin/systemctl disable xenconsoled.service
+ /bin/systemctl disable xenstored.service
# /bin/systemctl disable xendomains.service
%endif
fi