[Bug 2045828] Re: rbd-target-{api, gw}.service doesn't start after a reboot
Nobuto Murata
2045828 at bugs.launchpad.net
Thu Dec 7 02:35:07 UTC 2023
> To defer it to systemd. However, the package doesn't leverage
dh_installsystemd with --no-enable and --no-start. Instead, it uses
debian/ceph-iscsi.install to manually copy
usr/lib/systemd/system/*.service to the system.
I think this is based on the previous upstream documentation.
https://github.com/ceph/ceph-iscsi/blob/97f5b02107ce891360a9741e068a2ec564185154/README#L123-L128
And the new README.md refers to systemctl enable.
https://github.com/ceph/ceph-iscsi/blob/97f5b02107ce891360a9741e068a2ec564185154/README.md?plain=1#L52-L64
In any case, the charm can make sure it's enabled after writing the
config.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/2045828
Title:
rbd-target-{api,gw}.service doesn't start after a reboot
Status in OpenStack Ceph iSCSI Charm:
New
Status in ceph-iscsi package in Ubuntu:
New
Bug description:
ceph-iscsi quincy/stable 28
$ apt policy ceph-iscsi
ceph-iscsi:
Installed: 3.5-2ubuntu1
Candidate: 3.5-2ubuntu1
Version table:
*** 3.5-2ubuntu1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
How to reproduce:
once the ceph-iscsi charm is deployed with 2 units per the documentation, reboot one of the units.
# systemctl status rbd-target-gw.service
○ rbd-target-gw.service - Setup system to export rbd images through LIO
Loaded: loaded (/lib/systemd/system/rbd-target-gw.service; disabled; vendor preset: enabled)
Active: inactive (dead)
# systemctl status rbd-target-api.service
○ rbd-target-api.service - Ceph iscsi target configuration API
Loaded: loaded (/lib/systemd/system/rbd-target-api.service; disabled; vendor preset: enabled)
Active: inactive (dead)
This is probably because the systemd services are disabled.
# systemctl is-enabled rbd-target-{api,gw}.service
disabled
disabled
A possible workaround is to enable those services by hand.
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-iscsi/+bug/2045828/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list