]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: delegate map requests to the Windows service
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 26 Jan 2021 14:13:22 +0000 (14:13 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 3 Feb 2021 07:17:52 +0000 (07:17 +0000)
commit7a2f9903fe97422da2baf602c426aabd0907973e
treeed961e4fb58a2aebadc4eeeebc465f41c0810546
parentf35c051009f706a4b31db3cba186ee38c35e7c43
rbd: delegate map requests to the Windows service

At the moment, rbd-wnbd daemons are tied to the Windows
session. When the user logs off or the WinRM remote session
terminates, the daemons are killed.

In order to avoid such issues, we'll delegate the daemon
initialization to the centralized Ceph Windows service.

We're using a named pipe for the Ceph service communication.
We're not using Ceph admin sockets for now since unix sockets
aren't available on Windows Server 2016.

Worth mentioning that the Ceph Windows service will restart
registered mappings when the host reboots based on the command
lines saved in the Windows registries. Writing to the registry
key as well as the service named pipe requires admin privileges.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
README.windows.rst
src/tools/rbd_wnbd/rbd_wnbd.cc
src/tools/rbd_wnbd/rbd_wnbd.h