Bug 2322298 - [GSS] ceph-dencoder fails when exporting CEPH_ARGS
Summary: [GSS] ceph-dencoder fails when exporting CEPH_ARGS
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ceph
Version: 4.14
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
: ---
Assignee: Brad Hubbard
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-29 00:52 UTC by kelwhite
Modified: 2024-10-29 01:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OCSBZM-9444 0 None None None 2024-10-29 00:54:07 UTC

Description kelwhite 2024-10-29 00:52:27 UTC
Description of problem (please be detailed as possible and provide log
snippests):

The ceph-dencoder command doesn't like when we export CEPH_ARGS as required to run ceph [1] commands in ODF.  

sh-5.1$ ceph-dencoder 
-h for help
sh-5.1$ ceph status
sh-5.1$ export CEPH_ARGS='-c /var/lib/rook/openshift-storage/openshift-storage.config'ng conf_read_file)')
sh-5.1$ export CEPH_ARGS='-c /var/lib/rook/openshift-storage/openshift-storage.co
sh-5.1$ ceph-dencoder 
unknown option '-c'
sh-5.1$ ceph status
  cluster:
    id:     841d721b-6d0e-436a-b69d-f85f9f9c2e89
    health: HEALTH_OK
 ion '-c'
sh-5.1$ 

Version of all relevant components (if applicable):
At least on:
ODF 4.14
ODF 4.15
Havent tested other versions..

Is there any workaround available to the best of your knowledge?
Yes, don't export CEPH_ARGS.

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?
Yes


Steps to Reproduce:
1. Follow https://access.redhat.com/articles/4870821 and rsh into the rook-ceph-operator pod
2. run export CEPH_ARGS='-c /var/lib/rook/openshift-storage/openshift-storage.config'
3. now ceph-dencoder fails

Additional info:
[1] https://access.redhat.com/articles/4870821


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