Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4264

Devsuite installer MacOS: if you already have minishift installed, installer fails without explaining anything

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.4.0.AM1
    • 10.3.0.AM2
    • platform-installer
    • None
    • devex #128 February 2017
    • 1
    • Resolved with installer now running 'minishift setup-cdk --force' at installation time.
    • NEW

      I already had minishift installed. I downloaded the latest Devsuite installer 1.4.0.Alpha1, had it downloading the (minishift based) CDK which failed without explaining anything ("Failed").

      Looking into the logs shows that it failed unlinking the previous minishift:

      Fri, 03 Feb 2017 21:08:26 GMT-Development Suite installer v1.4.0-Alpha1-2017-01-30-89
      Fri, 03 Feb 2017 21:08:26 GMT-INFO: Download started for: cdk
      Fri, 03 Feb 2017 21:23:40 GMT-Configured file='/var/folders/_g/8m93yngj5k321gmhgmvfc5h40000gn/T/minishift' sha256='09d078a359b3087cd7dcc2caf8c8565ac9d8faaf511a862c7dd33c3405804aca'
      Fri, 03 Feb 2017 21:23:41 GMT-ERROR: cdk failed to download: SHA256 checksum verification failed
      Fri, 03 Feb 2017 21:27:19 GMT-INFO: Restarting download
      Fri, 03 Feb 2017 22:23:07 GMT-Configured file='/var/folders/_g/8m93yngj5k321gmhgmvfc5h40000gn/T/minishift' sha256='09d078a359b3087cd7dcc2caf8c8565ac9d8faaf511a862c7dd33c3405804aca'
      Fri, 03 Feb 2017 22:23:11 GMT-Downloaded file='/var/folders/_g/8m93yngj5k321gmhgmvfc5h40000gn/T/minishift' sha256='09d078a359b3087cd7dcc2caf8c8565ac9d8faaf511a862c7dd33c3405804aca'
      Fri, 03 Feb 2017 22:23:11 GMT-INFO: Download finished for: cdk
      Fri, 03 Feb 2017 22:23:11 GMT-INFO: Install started for: cdk
      Fri, 03 Feb 2017 22:23:11 GMT-ERROR: cdk failed to install: Error: EACCES: permission denied, unlink '/Users/adietish/.minishift/machines/minishift/root-volume.sparsebundle/bands/0'
      Fri, 03 Feb 2017 22:23:56 GMT-INFO: Exit Code = 0
      Fri, 03 Feb 2017 22:24:25 GMT-Development Suite installer v1.4.0-Alpha1-2017-01-30-89
      Fri, 03 Feb 2017 22:24:25 GMT-INFO: Download started for: cdk
      Fri, 03 Feb 2017 22:24:29 GMT-INFO: Using previously downloaded file='/var/folders/_g/8m93yngj5k321gmhgmvfc5h40000gn/T/minishift' sha256='09d078a359b3087cd7dcc2caf8c8565ac9d8faaf511a862c7dd33c3405804aca'
      Fri, 03 Feb 2017 22:24:29 GMT-INFO: Download finished for: cdk
      Fri, 03 Feb 2017 22:24:29 GMT-INFO: Install started for: cdk
      Fri, 03 Feb 2017 22:24:29 GMT-ERROR: cdk failed to install: Error: EACCES: permission denied, unlink '/Users/adietish/.minishift/machines/minishift/root-volume.sparsebundle/bands/0'
      

      the permissions on this file are root/staff and it was created in a previous install (27th of january)

      -rw-r--r--  1 root  staff   3.1M Jan 27 18:05 /Users/adietish/.minishift/machines/minishift/root-volume.sparsebundle/bands/0
      

            nivologd@gmail.com Denis Golovin (Inactive)
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: