glusterfs-server 3.13.2-1build1 installation fails in Bionic because starting up the glustereventsd.service times out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glusterfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Eric Desrochers |
Bug Description
[Impact]
glusterfs-server is not "installable" in Bionic/18.04 LTS.
[Test case]
1. Run Bionic
2. Install glusterfs-server
--
apt-get install glusterfs-server
...
Job for glustereventsd.
See "systemctl status glustereventsd.
invoke-rc.d: initscript glustereventsd, action "start" failed.
● glustereventsd.
Loaded: loaded (/etc/init.
Active: failed (Result: timeout) since Mon 2019-05-27 09:52:15 UTC; 15ms ago
Docs: man:systemd-
Process: 17909 ExecStart=
Tasks: 3 (limit: 4915)
CGroup: /system.
├─17927 /usr/bin/python /usr/sbin/
└─17931 /usr/bin/python /usr/sbin/
May 27 09:47:14 vm1 systemd[1]: Starting LSB: Gluster Events Server...
May 27 09:47:14 vm1 glustereventsd[
dpkg: error processing package glusterfs-server (--configure):
installed glusterfs-server package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10.15) ...
Errors were encountered while processing:
glusterfs-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg -l | grep gluster
ii glusterfs-client 3.13.2-1build1 amd64 clustered file-system (client package)
ii glusterfs-common 3.13.2-1build1 amd64 GlusterFS common libraries and translator modules
iF glusterfs-server 3.13.2-1build1 amd64 clustered file-system (server package)
systemctl status glustereventsd.
● glustereventsd.
Loaded: loaded (/etc/init.
Active: failed (Result: timeout) since Mon 2019-05-27 09:52:15 UTC; 2min 9s ago
Docs: man:systemd-
CGroup: /system.
├─17927 /usr/bin/python /usr/sbin/
└─17931 /usr/bin/python /usr/sbin/
May 27 09:47:14 vm1 systemd[1]: Starting LSB: Gluster Events Server...
May 27 09:47:14 vm1 glustereventsd[
May 27 09:52:15 vm1 systemd[1]: glustereventsd.
May 27 09:52:15 vm1 systemd[1]: glustereventsd.
May 27 09:52:15 vm1 systemd[1]: Failed to start LSB: Gluster Events Server.
--
[Regression Potential]
The fix is dropping the sysv/upstart approach in favor of systemd approach.
Most modern debian/ubuntu package of glusterfs-server have glusterd & glustereventsd disabled voluntary, and require manual operation to either start it or enable it.
Since it's already in place is Cosmic and late as-is, it makes sense to me to stay consistent with what we have in later version.
All documentation I have seen so far, indicate that glustereventsd need to be enable using systemctl enable too, so that approach seems align with official documentation found online.
The only downside, that I can see, is that one shouldn't expect "glusterd" and "glustereventsd" to be up and running after the installation.
It's a behaviour change per see, but in fact, since the current package never been into a installable/useable state in Bionic, then it's a behaviour change that no one (or very little for those who might have workaround the install issue) will notice since again nobody was able to install the package in Bionic so far.
The other option will be to upgrade the package to a non EOL version, but same change behaviour will occur (same approach is used) but + code change. I don't know how this code change may or may not impact Bionic user, this will require more analysis.
The upgrade can also be part of a separate discussion, let's focus for now on fixing the installation IMHO.
Additionally, the package have never been able to be installed successfully in Bionic, so who knows what bugs this version might have, once installed. Of course, I did and will continue to do more testing once found in bionic-proposed, but if a bug arise, this will need to be fix as any other userspace bug. I don't see a big problem here.
[Other Info]
# General info about events api:
https:/
Events API feature is integrated with GD2. Webhooks can be registered to listen for GlusterFS events.
# Bug itself:
https:/
https:/
# EOL related:
https:/
https:/
As 3.13 was a short term maintenance release, features which have been included in that release are available with 4.0.0 as well.
[Original Description]
glusterfs-server installation fails on Bionic
apt-get install glusterfs-server
...
Job for glustereventsd.
See "systemctl status glustereventsd.
invoke-rc.d: initscript glustereventsd, action "start" failed.
● glustereventsd.
Loaded: loaded (/etc/init.
Active: failed (Result: timeout) since Mon 2019-05-27 09:52:15 UTC; 15ms ago
Docs: man:systemd-
Process: 17909 ExecStart=
Tasks: 3 (limit: 4915)
CGroup: /system.
├─17927 /usr/bin/python /usr/sbin/
└─17931 /usr/bin/python /usr/sbin/
May 27 09:47:14 vm1 systemd[1]: Starting LSB: Gluster Events Server...
May 27 09:47:14 vm1 glustereventsd[
dpkg: error processing package glusterfs-server (--configure):
installed glusterfs-server package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10.15) ...
Errors were encountered while processing:
glusterfs-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg -l | grep gluster
ii glusterfs-client 3.13.2-1build1 amd64 clustered file-system (client package)
ii glusterfs-common 3.13.2-1build1 amd64 GlusterFS common libraries and translator modules
iF glusterfs-server 3.13.2-1build1 amd64 clustered file-system (server package)
systemctl status glustereventsd.
● glustereventsd.
Loaded: loaded (/etc/init.
Active: failed (Result: timeout) since Mon 2019-05-27 09:52:15 UTC; 2min 9s ago
Docs: man:systemd-
CGroup: /system.
├─17927 /usr/bin/python /usr/sbin/
└─17931 /usr/bin/python /usr/sbin/
May 27 09:47:14 vm1 systemd[1]: Starting LSB: Gluster Events Server...
May 27 09:47:14 vm1 glustereventsd[
May 27 09:52:15 vm1 systemd[1]: glustereventsd.
May 27 09:52:15 vm1 systemd[1]: glustereventsd.
May 27 09:52:15 vm1 systemd[1]: Failed to start LSB: Gluster Events Server.
The issue is also reported here:
https:/
tags: | added: sts |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
If I read this correctly[0], the glusterfs version found in Bionic is EOL at upstream point of view.
For now, I would say, let's first investigate the root cause of the actual problem as usual, regardless the fact that this is EOL upstream-wise.
... but while I don't know what possible impact a newer version could have on Bionic users, it's definitely worth also investigating if upgrading glusterfs for Bionic to use a non-EOL version is viable with good rationales.
# rmadison
glusterfs-server | 3.13.2-1build1 | bionic/universe | amd64, arm64, armhf, i386, ppc64el, s390x
glusterfs-server | 4.1.2-1 | cosmic/universe | amd64, arm64, armhf, i386, ppc64el, s390x
glusterfs-server | 5.3-2 | disco/universe | amd64, arm64, armhf, i386, ppc64el, s390x
[0] - https:/ /www.gluster. org/release- schedule/