opendevstack / ods-provisioning-app

Provisioning app, which triggers project and component provisions (including Jira / Confluence / BitBucket and OCP resource creation)
Apache License 2.0
15 stars 20 forks source link

Openshift service adapter is timing out with openshift 4 #720

Closed stitakis closed 2 years ago

stitakis commented 2 years ago

The openshift service adapter is timing out on API calls with red hat dedicated oc4.

The current used openshift library uses openshift 3.x API, which is probably is not enabled anymore in dedicated oc4.

While this needs to be confirmed, the solution to this problem would be an upgrade of the library to support oc4 API. However, we should decide if we want to maintain support for oc3. If this is the case, we would need a way to provide to openshift adapters and import the corresponding libraries.

As first measure we should change the behavior to disable this service by default (#721)

gerardcl commented 2 years ago

as a workaround in openshift 4, we have applied in application.properties configMap the following attribute set services.openshift.enabled=false, to ensure non-default behaviour

clemensutschig commented 2 years ago

did you folks try with the OCP4 libs, and that works? - just asking :) should be easily reproducable locally, or?

oalyman commented 2 years ago

I think you need to use this as an alternative https://github.com/fabric8io/kubernetes-client/

stitakis commented 2 years ago

I haven't used the ocp4 libs yet... I'm currently focusing on other topics... if you time to fix, I can give you a hand