Bug 2224169 - ceph nfs cluster create does not support 'label' tag via CLI [NEEDINFO]
Summary: ceph nfs cluster create does not support 'label' tag via CLI
Keywords:
Status: NEW
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.3
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: 6.1z2
Assignee: Venky Shankar
QA Contact: Hemanth Kumar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-20 05:24 UTC by Anjali
Modified: 2023-08-09 10:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:
csharpe: needinfo? (nthomas)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-7041 0 None None None 2023-07-20 05:25:42 UTC

Description Anjali 2023-07-20 05:24:35 UTC
Description of problem:

- IHAC who can create a service for ingress that supports labels from the ceph dashboard however from CLI you cannot specify the label in the placement.

- For example this doesn't error but it doesn't setup the service with a placement label.
 
# ceph nfs cluster create nfscluster3 "2 label:mds" --ingress 10.37.32.10

- Need help from engineering whether it is possible to pass 'label' tag via CLI. 

[1] https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html-single/file_system_guide/index#exporting-ceph-file-system-namespaces-over-the-nfs-protocol_fs

[2] https://docs.ceph.com/en/pacific/mgr/nfs/#create-nfs-ganesha-cluster

Version-Release number of selected component (if applicable):
- ceph version 16.2.10-138.el8cp

Steps to Reproduce:
[root@ceph5-mons1 ~]# ceph fs volume create testnfs --placement="2 ceph5-osds3 ceph5-osds2"

[root@ceph5-mons1 ~]# ceph fs ls
name: testfs, metadata pool: cephfs.testfs.meta, data pools: [cephfs.testfs.data ]
name: testnfs, metadata pool: cephfs.testnfs.meta, data pools: [cephfs.testnfs.data ]

[root@ceph5-mons1 ~]# ceph nfs cluster create testnfs "2 label:mds" --ingress 10.68.64.10

Actual results:

- Unable to setup the service with a placement label

Expected results:

- able to setup the service with a placement label

Comment 1 Scott Ostapovicz 2023-07-20 14:07:42 UTC
Too late to assign new issues to the 6.1 z1 target.  Retargeting to 6.1 z2.

Comment 2 Kaleb KEITHLEY 2023-07-20 18:49:19 UTC
Is this dashboard, or something else?

Comment 3 csharpe 2023-07-26 03:09:48 UTC
Cu is saying the issue is with the cli as you cannot specify the label in the placement from the cli.

For example this doesn't error but it doesn't setup the service with a placement label.
 
# ceph nfs cluster create nfscluster3 "2 label:mds" --ingress 10.37.32.10

Cu confirmed this is possible from the dashboard, hence, they believe this is a bug with the cli.

Comment 4 Kaleb KEITHLEY 2023-07-26 12:03:05 UTC
(In reply to csharpe from comment #3)
> Cu is saying the issue is with the cli as you cannot specify the label in
> the placement from the cli.
> 
> For example this doesn't error but it doesn't setup the service with a
> placement label.
>  
> # ceph nfs cluster create nfscluster3 "2 label:mds" --ingress 10.37.32.10
    ^^^^

> 
> Cu confirmed this is possible from the dashboard, hence, they believe this
> is a bug with the cli.

This is either the dashboard or the cli — nothing to do with ganesha functionality.

Comment 7 Nizamudeen 2023-08-09 10:18:31 UTC
I moving it to cephFS. please change the component if this is wrong!


Note You need to log in before you can comment on or make changes to this bug.