You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on integrating the rook-ceph addon and connecting my external charmed ceph with my microk8s cluster. One of my requirements is to use a specific osd pool, and I've created a user with the defined permissions. However, I'm facing an issue when using the following command:
If the ceph.keyring is different from the client.admin keyring, I'm unable to connect to my external ceph, and I'm encountering a rados.PermissionError. However, if I use the client.admin keyring, it works as expected.
I've included the error output below for reference:
Attempting to connect to Ceph cluster
Traceback (most recent call last):
File "/var/snap/microk8s/common/plugins/connect-external-ceph", line 184, in
main()
File "/snap/microk8s/6364/usr/lib/python3/dist-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/snap/microk8s/6364/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/snap/microk8s/6364/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/snap/microk8s/6364/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/var/snap/microk8s/common/plugins/connect-external-ceph", line 166, in main
ceph_initialize_rbd_pool(ceph_conf, keyring, rbd_pool)
File "/var/snap/microk8s/common/plugins/connect-external-ceph", line 70, in ceph_initialize_rbd_pool
client.connect()
File "rados.pyx", line 1003, in rados.Rados.connect
rados.PermissionError: [errno 1] RADOS permission error (error connecting to the cluster)
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi all,
I'm currently working on integrating the rook-ceph addon and connecting my external charmed ceph with my microk8s cluster. One of my requirements is to use a specific osd pool, and I've created a user with the defined permissions. However, I'm facing an issue when using the following command:
sudo microk8s connect-external-ceph --ceph-conf ceph.conf --keyring ceph.keyring --rbd-pool ericsson_pool
If the ceph.keyring is different from the client.admin keyring, I'm unable to connect to my external ceph, and I'm encountering a rados.PermissionError. However, if I use the client.admin keyring, it works as expected.
I've included the error output below for reference:
Attempting to connect to Ceph cluster
Traceback (most recent call last):
File "/var/snap/microk8s/common/plugins/connect-external-ceph", line 184, in
main()
File "/snap/microk8s/6364/usr/lib/python3/dist-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/snap/microk8s/6364/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/snap/microk8s/6364/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/snap/microk8s/6364/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/var/snap/microk8s/common/plugins/connect-external-ceph", line 166, in main
ceph_initialize_rbd_pool(ceph_conf, keyring, rbd_pool)
File "/var/snap/microk8s/common/plugins/connect-external-ceph", line 70, in ceph_initialize_rbd_pool
client.connect()
File "rados.pyx", line 1003, in rados.Rados.connect
rados.PermissionError: [errno 1] RADOS permission error (error connecting to the cluster)
The text was updated successfully, but these errors were encountered: