Run rbd client in kernel space inside container with its own network identity
jsong-oracle opened this issue · comments
Is this a bug report or feature request?
- Feature Request
Feature Request
Are there any similar features already existing: not sure
What should the feature do:
- Start a ceph container with network not shared with its host: --net=sth --ip=sth
- Use the container as rbd client running in kernel space
- rbd map/unmap device should work and return
Currently the command gets stuck though the deice is actually mapped or unmapped - The device status should display the host as the rbd client
Currently it shows the container as the rbd client.
It seems the client is split into two parts: the host kernel and the container (network host) - IO on the mapped device should be good when the container is stopped or restarted
Currently the IO is stuck
rbd status / shows no client info
If current behavior is desired, it will be nice to have an option for users to choose the host as the only rbd client.
Does this have an impact on existing features: No
Environment: Linux
-
OS (e.g. from /etc/os-release):NAME="Oracle Linux Server"
VERSION="7.8"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.8"
PRETTY_NAME="Oracle Linux Server 7.8" -
Kernel (e.g.
uname -a
): 4.14.35-1902.304.6.el7uek.x86_64 -
Docker version (e.g.
docker version
): Version: 19.03.11-ol
API version: 1.40
Go version: go1.16.2
Git commit: 9bb540d
Built: Fri Jul 23 01:33:55 2021
OS/Arch: linux/amd64
Experimental: false -
Ceph version (e.g.
ceph -v
): ceph version 15.2.17, ceph version 17.2.3