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

CDK stuck on Starting... after launch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • 4.4.0.Final
    • 4.4.0.Alpha2
    • cdk
    • None

      This happened to me a few times and I think I mentioned it in a JIRA, but AFAIK there is no separate JIRA for this.

      This is what I did today (verifying JBDS-3739):
      1. Start my Eclipse Neon RC2
      2. Updated Eclipse
      3. Updated Docker Tools to latest nightly
      4. Installed nightly JBoss Tools Abridged
      5. Set up cdk server (CDK 2.0 on my disk, already set up and started several times before)
      6. Start CDK server
      Everything fine here - after some time it's Started, I accepted the OpenShift cert, Docker connection worked.
      7. Stop CDK server
      8. Start CDK server
      This time it's stuck on Starting... even though I can see from the console that the vagrant box started:

      Bringing machine 'default' up with 'virtualbox' provider...
      ==> default: Clearing any previously set forwarded ports...
      ==> default: Clearing any previously set network interfaces...
      ==> default: Preparing network interfaces based on configuration...
          default: Adapter 1: nat
          default: Adapter 2: hostonly
      ==> default: Forwarding ports...
          default: 22 (guest) => 2222 (host) (adapter 1)
      ==> default: Running 'pre-boot' VM customizations...
      ==> default: Booting VM...
      ==> default: Waiting for machine to boot. This may take a few minutes...
          default: SSH address: 127.0.0.1:2222
          default: SSH username: vagrant
          default: SSH auth method: private key
          default: Warning: Remote connection disconnect. Retrying...
      ==> default: Machine booted and ready!
      ==> default: Checking for guest additions in VM...
          default: No guest additions were detected on the base box for this VM! Guest
          default: additions are required for forwarded ports, shared folders, host only
          default: networking, and more. If SSH fails on this machine, please install
          default: the guest additions and repackage the box to continue.
          default: 
          default: This is not an error message; everything may continue to work properly,
          default: in which case you may ignore this message.
      ==> default: Configuring and enabling network interfaces...
      ==> default: Registering box with vagrant-registration...
      ==> default: Copying TLS certificates to /Users/rasp/jbossqa/cdk/cdk/components/rhel/rhel-ose/.vagrant/machines/default/virtualbox/docker
      ==> default: Rsyncing folder: /Users/rasp/jbossqa/cdk/cdk/components/rhel/rhel-ose/ => /vagrant
      ==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
      ==> default: flag to force provisioning. Provisioners marked to run always will still run.
      

      Now it will probably time out and stop the server. And most probably next start will work.

              rob.stryker Rob Stryker (Inactive)
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: