Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26333

CDK server adapter: errror while creating Openshift connection after start of CDK 3.6 server adapter

    XMLWordPrintable

    Details

    • Sprint:
      devex #154 September 2018
    • Steps to Reproduce:
      Hide

      1. Download latest nightly devstudio 12.9.0.AM3 (B3295)
      2. Download cdk 3.6.0 (at the moment CDK v3.6.0-alpha.2-1)
      3. Exec: Open devstudio and create cdk 3.2+ server adapter
      4. Start CDK server adapter
      5. ASSERT: CDK adapter is started, OS connection created, Docker connection created, SSL certificate accepted and no error is shown.
      Actual result: Everything is at place and working, though, Error dialog is thrown and error appears in error log.

      Show
      1. Download latest nightly devstudio 12.9.0.AM3 (B3295) 2. Download cdk 3.6.0 (at the moment CDK v3.6.0-alpha.2-1) 3. Exec: Open devstudio and create cdk 3.2+ server adapter 4. Start CDK server adapter 5. ASSERT: CDK adapter is started, OS connection created, Docker connection created, SSL certificate accepted and no error is shown. Actual result: Everything is at place and working, though, Error dialog is thrown and error appears in error log.

      Description

      I am watching error being thrown just after cdk server adapter is created and OS untrusted ssl cert. accepted. Also, this throws an Error dialog (making itests to fail).

      null
      org.jboss.tools.openshift.cdk.server
      Error
      Sun Sep 02 20:16:37 CEST 2018
      Error contacting OpenShift
      
      org.jboss.tools.openshift.internal.cdk.server.core.adapter.OpenShiftNotReadyPollingException: The CDK VM is up and running, but OpenShift is unreachable at url https://192.168.42.235:8443. The VM may not have been registered successfully. Please check your console output for more information
      	at org.jboss.tools.openshift.internal.cdk.server.core.adapter.MinishiftPoller.checkOpenShiftHealth(MinishiftPoller.java:145)
      	at org.jboss.tools.openshift.internal.cdk.server.core.adapter.MinishiftPoller.checkOpenShiftHealth(MinishiftPoller.java:124)
      	at org.jboss.tools.openshift.internal.cdk.server.core.adapter.MinishiftPoller.onePing(MinishiftPoller.java:79)
      	at org.jboss.tools.openshift.internal.cdk.server.core.adapter.AbstractCDKPoller.onePingSafe(AbstractCDKPoller.java:90)
      	at org.jboss.tools.openshift.internal.cdk.server.core.adapter.AbstractCDKPoller.getCurrentStateSynchronous(AbstractCDKPoller.java:78)
      	at org.jboss.tools.openshift.internal.cdk.server.core.adapter.controllers.AbstractCDKLaunchController.handleProcessTerminated(AbstractCDKLaunchController.java:232)
      	at org.jboss.tools.openshift.internal.cdk.server.core.adapter.controllers.AbstractCDKLaunchController$4.run(AbstractCDKLaunchController.java:188)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adietish André Dietisheim
                  Reporter:
                  odockal Ondrej Dockal
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: