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

CDK3 Server adapter: fails to detect that cdk3 Beta3 was successfully started (on macos/xhyve?)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.5.1.AM2
    • 4.4.4.AM2
    • cdk
    • None
    • devex #130 April 2017, devex #137 September 2017
    • 24
    • Hide
      1. ASSERT: have a cdk3/minishift server adapter
      2. EXEC: Start it

      Result:
      The start is erroring, server adapter turned Starting->Stopped, minishift shut down. But in the console output one can see that the start was actually successful
      ps. increasing timeouts (in the server adapter editor) didnt help.

      ps2. launching on the command line works fine.

       adietish@Andres-MacBook-Pro $ ./cdk3 start
      Starting local OpenShift cluster using 'xhyve' hypervisor...
      Registering machine using subscription-manager
      Provisioning OpenShift via '/Users/adietish/.minishift/cache/oc/v3.4.1.2/oc [cluster up --use-existing-config --host-config-dir /var/lib/minishift/openshift.local.config --host-data-dir /var/lib/minishift/hostdata --host-volumes-dir /var/lib/minishift/openshift.local.volumes --routing-suffix 192.168.64.2.nip.io]'
      -- Checking OpenShift client ... OK
      -- Checking Docker client ... OK
      -- Checking Docker version ... OK
      -- Checking for existing OpenShift container ... OK
      -- Checking for registry.access.redhat.com/openshift3/ose:v3.4.1.2 image ... OK
      -- Checking Docker daemon configuration ... OK
      -- Checking for available ports ... OK
      -- Checking type of volume mount ...
         Using nsenter mounter for OpenShift volumes
      -- Creating host directories ... OK
      -- Finding server IP ...
         Using 192.168.64.2 as the server IP
      -- Starting OpenShift container ...
         Starting OpenShift using container 'origin'
         Waiting for API server to start listening
         OpenShift server started
      -- Removing temporary directory ... OK
      -- Server Information ...
         OpenShift server started.
         The server is accessible via web console at:
             https://192.168.64.2:8443
      
         To login as administrator:
             oc login -u system:admin
      
       adietish@Andres-MacBook-Pro $ ./cdk3 status
      Running
      
      Show
      ASSERT: have a cdk3/minishift server adapter EXEC: Start it Result: The start is erroring, server adapter turned Starting->Stopped, minishift shut down. But in the console output one can see that the start was actually successful ps. increasing timeouts (in the server adapter editor) didnt help. ps2. launching on the command line works fine. adietish@Andres-MacBook-Pro $ ./cdk3 start Starting local OpenShift cluster using 'xhyve' hypervisor... Registering machine using subscription-manager Provisioning OpenShift via '/Users/adietish/.minishift/cache/oc/v3.4.1.2/oc [cluster up --use-existing-config --host-config-dir / var /lib/minishift/openshift.local.config --host-data-dir / var /lib/minishift/hostdata --host-volumes-dir / var /lib/minishift/openshift.local.volumes --routing-suffix 192.168.64.2.nip.io]' -- Checking OpenShift client ... OK -- Checking Docker client ... OK -- Checking Docker version ... OK -- Checking for existing OpenShift container ... OK -- Checking for registry.access.redhat.com/openshift3/ose:v3.4.1.2 image ... OK -- Checking Docker daemon configuration ... OK -- Checking for available ports ... OK -- Checking type of volume mount ... Using nsenter mounter for OpenShift volumes -- Creating host directories ... OK -- Finding server IP ... Using 192.168.64.2 as the server IP -- Starting OpenShift container ... Starting OpenShift using container 'origin' Waiting for API server to start listening OpenShift server started -- Removing temporary directory ... OK -- Server Information ... OpenShift server started. The server is accessible via web console at: https: //192.168.64.2:8443 To login as administrator: oc login -u system:admin adietish@Andres-MacBook-Pro $ ./cdk3 status Running

            rob.stryker Rob Stryker (Inactive)
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: