Bug 2174184 - "ceph-external-cluster-details-exporter.py" (4.10) incompatible with python 2.x
Summary: "ceph-external-cluster-details-exporter.py" (4.10) incompatible with python 2.x
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: rook
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Parth Arora
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-28 20:15 UTC by Travis Nielsen
Modified: 2023-08-09 17:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-28 07:12:32 UTC
Embargoed:


Attachments (Terms of Use)

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


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