Feature #52237
use cephadm shell to operate iscsi gateway
0%
Description
Right now a use has to attach to iscsi container in order to access iscsi gateway, the right way should be support gwcli from cephadm shell itself.
History
#1 Updated by Deepika Upadhyay over 2 years ago
- Project changed from rbd to Orchestrator
- Category set to cephadm/rbd
#2 Updated by Sebastian Wagner over 2 years ago
Hi Deepika, can you give me some example commands of how to interact with gwcli ?
#3 Updated by Deepika Upadhyay over 2 years ago
Sure, here's the existing ones from ceph master:
to create gateways: https://github.com/ceph/ceph/blob/master/src/test/cli-integration/rbd/gwcli_create.t
to setup clients and perform r/w testing: https://github.com/ceph/ceph/blob/master/src/test/cli-integration/rbd/iscsi_client.t
to delete and windup gateways: https://github.com/ceph/ceph/blob/master/src/test/cli-integration/rbd/gwcli_delete.t
In cephadm case, we have to attach to container and perform these operations, maybe mapping `gwcli "$@"` from container to `ceph orch` commands someway, can take care of it?
#4 Updated by Sebastian Wagner over 2 years ago
let's discuss this with the dashboard folks. We might be able to just say: Use the dashboard and only use the CLI as a fallback
#5 Updated by Sebastian Wagner over 2 years ago
- Priority changed from Normal to Low
Dashboard already provides this. I don't see a need to improve the UX on the terminal at this point
#6 Updated by Deepika Upadhyay over 2 years ago
- Status changed from New to Closed
yep that should be fine, resolving it, until it's needed