Bug 2174184

Summary: "ceph-external-cluster-details-exporter.py" (4.10) incompatible with python 2.x
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Travis Nielsen <tnielsen>
Component: rookAssignee: Parth Arora <paarora>
Status: CLOSED WONTFIX QA Contact: Neha Berry <nberry>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.11CC: bkunal, kramdoss, ocs-bugs, odf-bz-bot, rcyriac
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-28 07:12:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Travis Nielsen 2023-02-28 20:15:10 UTC
This bug was initially created as a copy of Bug #2089137

I am copying this bug because: 

Let's consider backporting to 4.10


Description of problem (please be detailed as possible and provide log
snippests):

"ceph-external-cluster-details-exporter.py" incompatible with python 2.x

Version of all relevant components (if applicable):

ocs-registry:4.11.0-75


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?

Yes

Is there any workaround available to the best of your knowledge?
No

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

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
Not tried

If this is a regression, please provide more details to justify this:
Yes

Steps to Reproduce:
1. install odf ( external mode ) using ocs-ci
2. verify exporter script ran succesfully
3.


Actual results:

ceph-external-cluster-details-exporter.py should run without any errors


Expected results:

2022-05-21 21:23:28  15:53:28 - MainThread - ocs_ci.deployment.helpers.external_cluster_helpers - ERROR - Failed to run /tmp/external-cluster-details-exporter-54lmdp2j.py with parameters --rbd-data-pool-name rbd --rgw-endpoint 10.70.39.7:8080. Error: Traceback (most recent call last):
2022-05-21 21:23:28    File "/tmp/external-cluster-details-exporter-54lmdp2j.py", line 18, in <module>
2022-05-21 21:23:28      from inspect import signature
2022-05-21 21:23:28  ImportError: cannot import name signature


Additional info:

job: https://ocs4-jenkins-csb-odf-qe.apps.ocp-c1.prod.psi.redhat.com/job/qe-deploy-ocs-cluster-prod/4273//console

must gather: http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/j-029vu1ce33-t4a/j-029vu1ce33-t4a_20220521T152333/logs/failed_testcase_ocs_logs_1653146889/test_deployment_ocs_logs/ocs_must_gather/

Comment 6 Parth Arora 2023-03-29 12:37:26 UTC
While opening a Bckport I realized, we even don't do check for rgw_validation in 4.10 external mode.

Then I thought also including the rgw_validation into it but then the minimum ceph version required for it was Quincy,
Which I see is not used in 4.10.

So as there is no rgw-validation, then there won't be a backport required for python2 compatibility for 4.10.

Hopefully, we should be good to close this Bug. 

Thanks

Comment 7 Travis Nielsen 2023-03-29 17:05:36 UTC
no more need for info