Uploaded image for project: 'OpenShift Jenkins'
  1. OpenShift Jenkins
  2. JKNS-575

Jenkins unable to communicate with OpenShift cluster.

XMLWordPrintable

    • False
    • None
    • False
    • Important
    • Customer Reported

      Description of problem:

      Jenkins wasn't used in a while, now trying again, and it can't connect to the cluster. 
      Jenkins pod will not create slaves:
      -> going to the cloud config
      -> testing the connection will report "A problem occurred while processing the request"
      
      - Cluster hasn't had changes in a while, either
      - team mentions deprecation of JDK
      - this log shows near top of Jenkins logs:
      
      > 2024-10-01T12:14:03.561544631+13:00 error: You must be logged in to the server (Unauthorized)
      
      - team reports no other changes
      - 20 other Jenkins instances running in this cluster, only affects this namespace: `nzdd-jenkins-pipeline`
      
      - start of the Java traceback:
      Error injecting constructor, java.lang.NoSuchMethodError: 'void org.yaml.snakeyaml.parser.ParserImpl.<init>(org.yaml.snakeyaml.reader.StreamReader, org.yaml.snakeyaml.LoaderOptions)'
        at io.fabric8.jenkins.openshiftsync.GlobalPluginConfiguration.<init>(GlobalPluginConfiguration.java:109)
      

      Version-Release number of selected component (if applicable):

      OpenShift version 4.14    

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          Jenkins has an established connection like all the 20 other Jenkins instances. Newer deployment works fine, this is troubles with older deployments. 

      Expected results:

          Jenkins able to communicate with OCP cluster. 

      Additional info:

          From the pods, both these fields are false, but that should not be the reason for Jenkins not being able to communicate. 

      containers:

      • env:
      • name: OPENSHIFT_ENABLE_OAUTH
        value: "false"
      • name: OPENSHIFT_ENABLE_REDIRECT_PROMPT
        value: "false"

              rh-ee-sabiswas Sayan Biswas
              abdullahsikder Abdullah Sikder
              Abdullah Sikder
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: