Project

General

Profile

Actions

Feature #52237

closed

use cephadm shell to operate iscsi gateway

Added by Deepika Upadhyay over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
cephadm/rbd
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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.

Actions #1

Updated by Deepika Upadhyay over 2 years ago

  • Project changed from rbd to Orchestrator
  • Category set to cephadm/rbd
Actions #2

Updated by Sebastian Wagner over 2 years ago

Hi Deepika, can you give me some example commands of how to interact with gwcli ?

Actions #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?

Actions #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

Actions #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

Actions #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

Actions

Also available in: Atom PDF