selenium-openshift-templates icon indicating copy to clipboard operation
selenium-openshift-templates copied to clipboard

Commands not running on OCP v4.x

Open sayom88 opened this issue 5 years ago • 5 comments

Hello Team, I am a OCP cluster v 4.x. I am trying to run the commands: $ oc create -f selenium-hub.yaml $ oc create -f selenium-node-chrome-debug.yaml

I see that template.template.openshift.io/selenium-hub created and template.template.openshift.io/selenium-node-chrome-debug created, but then when I am running the command to check the pods (oc get pods), I see that no pods have got created.

Any idea why this is happening please.

Tnx.

sayom88 avatar Jun 25 '20 14:06 sayom88

hello @ddavison any updates on this please....tnx

sayom88 avatar Jul 03 '20 08:07 sayom88

I see that template.template.openshift.io/selenium-hub created and template.template.openshift.io/selenium-node-chrome-debug created

It sounds as if they weren't created, possibly 🤔

ddavison avatar Jul 07 '20 17:07 ddavison

Hi @ddavison ,can you then suggest when we can implement them on OCP 4.x please.

sayom88 avatar Jul 15 '20 12:07 sayom88

@ddavison @sayom88 - I got into same issues where I could not make these work on my Openshift 4.5.x cluster and I modified templates to make them work. May be you can create new branch and move Openshift 3.x support to that branch and make "master" branch for Openshift 4.5.x support.

Here are the updates I made to make all this work.

  • Updated templates to make them work with Openshift 4.5.x release and Selenium 4.0.0 release drivers.
  • I deleted BuildConfig and ImeStream objects and we do not have to extend images to support ron-root user and latest images support them by default.
  • Updated Chrome and Firefox templates to expose required environment variables (SE_EVENT_BUS_HOST, SE_EVENT_BUS_PUBLISH_PORT, SE_EVENT_BUS_SUBSCRIBE_PORT) as documented in selenium hub.
  • Updated README how to create objects after deploying templates.

My pull request: https://github.com/ddavison/selenium-openshift-templates/pull/23

jagraj avatar Sep 30 '20 10:09 jagraj

@ddavison can you kindly suggest when we can implement them on OCP 4.x please.

sayom88 avatar Oct 08 '20 09:10 sayom88