rht-labs / s2i-config-jenkins

6 stars 32 forks source link

Kubernetes Plugin does not load properly on first start #23

Open mertel-rh opened 4 years ago

mertel-rh commented 4 years ago

On OCP 3.11 using the Helm chart to deploy Jenkins s2i-config-jenkins when Jenkins starts up the Kubernetes Plug-In settings are not available or usable until after applying an update and restarting.

After deploying the chart and letting Jenkins spin up from the s2i build: Navigate to Jenkins -> Manage Jenkins -> Configure System The "Cloud" section provided by Kubernetes Plugin is not present as expected Reviewing the Plugins settings show the plug-in listed but it is greyed out with an update available. Apply updates and let Jenkins restart Navigate back to the Configure System settings page and the "Cloud" section is now present and populated with the expected information

Preferred behavior would be for the plugin to function after the s2i-build without requiring an update/restart cycle

pabrahamsson commented 4 years ago

@springdo I've worked with @mertel-rh and verified that this is also the case on OCP 4.4 (except when I update the plugin Jenkins never comes back up) with both v1.6 & v1.7 of this repo. I've tested with the Jenkins chart in UJ (which should use the Helm chart mentioned here) and also with a straight up oc new-build ..., same result. However, with "vanilla" jenkins-ephemeral all seems normal.

Jenkins pipelines are working fine, it just appears that the "Cloud" section is missing from the configuration as described above. Is this something you're aware of or have any ideas on how to troubleshoot?