"systemctl enable corosync-qdevice.service" fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
corosync-qdevice (Debian) |
Fix Released
|
Unknown
|
|||
corosync-qdevice (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* corosync-
* if corosync-qdevice is being started by the sysv generator, by any reason, it will fail to start automatically.
* As Focal is a LTS, I thought it would be better to have it fixed (even meaning an upgrade to those not relying in systemd sysv generator).
[Test Case]
* enable corosync-
[Regression Potential]
* little potential as it changes default init runlevels only
[Other Info]
* Original Description:
"systemctl enable corosync-
Synchronizing state of corosync-
Executing: /lib/systemd/
update-rc.d: error: corosync-qdevice Default-Start contains no runlevels, aborting.
Reason is that an init.d script as well as a systemd service definition exists:
# dpkg -L corosync-qdevice
/lib/systemd/
/etc/init.
Therefore, using pcs to add a qdevice to the cluster fails:
pcs quorum device add model net host=qdevice-host algorithm=ffsplit
Log:
I, [2018-12-
I, [2018-12-
I, [2018-12-
E, [2018-12-
Workaround is to manually remove the "/etc/init.
Solution is to remove the "/etc/init.
Changed in corosync (Ubuntu): | |
assignee: | nobody → Don van der Haghen (donvdh) |
tags: | added: bionic rls-bb-incoming |
tags: | added: ubuntu-ha |
no longer affects: | corosync (Ubuntu) |
Changed in corosync-qdevice (Ubuntu): | |
status: | Confirmed → Fix Released |
tags: | added: server-next |
Changed in corosync-qdevice (Ubuntu Groovy): | |
status: | Confirmed → In Progress |
Changed in corosync-qdevice (Ubuntu Groovy): | |
assignee: | nobody → Rafael David Tinoco (rafaeldtinoco) |
Changed in corosync-qdevice (Ubuntu Groovy): | |
assignee: | Rafael David Tinoco (rafaeldtinoco) → nobody |
status: | In Progress → Confirmed |
description: | updated |
Changed in corosync-qdevice (Debian): | |
status: | Unknown → Fix Released |
I forgot to mention, this bug report concerns:
Ubuntu 18.04
Package: corosync-qdevice
Version: 2.4.3-0ubuntu1