On Wed, Aug 1, 2018 at 11:13 AM <[email protected]> wrote:
>
> Hi!
>
> I find a rbd map service issue:
> [root@dx-test ~]# systemctl status rbdmap
> ● rbdmap.service - Map RBD devices
> Loaded: loaded (/usr/lib/systemd/system/rbdmap.service; enabled; vendor
> preset: disabled)
> Active: active (exited) (Result: exit-code) since 六 2018-07-28 13:55:01
> CST; 11min ago
> Process: 1459 ExecStart=/usr/bin/rbdmap map (code=exited, status=1/FAILURE)
> Main PID: 1459 (code=exited, status=1/FAILURE)
>
> 7月 28 13:55:01 dx-test.novalocal systemd[1]: Started Map RBD devices.
> 7月 28 13:55:01 dx-test.novalocal systemd[1]: Starting Map RBD devices...
> 7月 28 14:01:19 dx-test.novalocal systemd[1]: rbdmap.service: main process
> exited, code=exited, status=1/FAILURE
> [root@dx-test ~]# echo $?
> 0
>
> I am testing rbd map serive HA if ceph cluster down.
>
> I shut down ceph cluster and monitor rbdmap service, it spend 6 mins starting
> and failed.
rbdmap is nothing but a convenience service. It attempts to map images
listed in /etc/ceph/rbdmap on start and to unmap them on stop.
If the kernel can't reach the cluster, "rbd map" is expected to fail.
Check dmesg for details.
Thanks,
Ilya
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com