Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minikube stop working after upgrade to macOs Catalina #5568

Closed
franxois opened this issue Oct 8, 2019 · 16 comments
Closed

minikube stop working after upgrade to macOs Catalina #5568

franxois opened this issue Oct 8, 2019 · 16 comments
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/macos packaging/brew macOS (brew) packaging issues packaging Packaging issues top-10-issues Top 10 support issues

Comments

@franxois
Copy link

franxois commented Oct 8, 2019

The exact command to reproduce the issue:

minikube version

The full output of the command that failed:

Original message in french

Impossible d’ouvrir « minikube-darwin-amd64 » car le développeur ne peut pas être vérifié.
macOS ne peut pas vérifier que cette app ne contient aucun logiciel malveillant.
Homebrew Cask a téléchargé ce fichier le 20 septembre 2019 depuis github.com.

That says Unable to open minikube because macOS can't verify this app

The output of the minikube logs command:

The operating system version:

This appends just after upgrade to macOS Catalina 10.15

minikube installed with brew cask

@afbjorklund
Copy link
Collaborator

afbjorklund commented Oct 8, 2019

Taking “closed” to a whole new level...

https://developer.apple.com/developer-id/

Mac apps, installer packages, and kernel extensions that are signed with Developer ID must also be notarized by Apple in order to run on macOS Catalina.

Guess minikube has to get a Developer ID for the App Store ?

@afbjorklund
Copy link
Collaborator

afbjorklund commented Oct 8, 2019

The “open anyway” button has now been moved to settings :
https://support.apple.com/en-us/HT202491

@afbjorklund afbjorklund added os/macos packaging/brew macOS (brew) packaging issues labels Oct 8, 2019
@franxois
Copy link
Author

franxois commented Oct 9, 2019

I don't have the open anyway button in settings but it look like I added an exception by using a first time "open with" Terminal.app on the binary in finder.
Now I can run minikube

@tdensmore
Copy link
Contributor

Also using sudo spctl --master-disable should allow most command line binaries to work

image

http://osxdaily.com/2016/09/27/allow-apps-from-anywhere-macos-gatekeeper/

@sharifelgamal sharifelgamal added kind/support Categorizes issue or PR as a support question. kind/bug Categorizes issue or PR as related to a bug. and removed kind/support Categorizes issue or PR as a support question. kind/bug Categorizes issue or PR as related to a bug. labels Oct 9, 2019
@myersg86
Copy link

Allow apps from anywhere and sudo spctl --master-disable disable protections that can potentially leave a Mac vulnerable to malware, and should be avoided if at all possible. This is not an ideal solution.

After taking the following steps, I now seem to have an "Open anyways" option now, allowing running individual applications without disabling secure defaults.

Here's what I did, not sure if all steps are relevant:

  • Switch spctl off and on:
sudo spctl --master-disable
sudo spctl --master-enable
  • Set "Allow apps downloaded from: App Store" in Security and Privacy
  • Reboot

@benjma
Copy link

benjma commented Oct 11, 2019

Screen Shot 2019-10-11 at 5 52 03 pm

Maybe, "Allow Anyway" just for "minikube-darwin-amd64"

@findpritish
Copy link

findpritish commented Oct 19, 2019

Switch spctl off

sudo spctl --master-disable

brew cask install minikube
minikube start

Switch spctl on

sudo spctl --master-enable

@afbjorklund
Copy link
Collaborator

I'm not sure how this "new" Apple requirement can be integrated into minikube release process:

https://developer.apple.com/developer-id/

https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution

Maybe @tstromberg can take a look at if and how such a workflow could be added to the CI ?

@edreams
Copy link

edreams commented Oct 25, 2019

sudo chown root:wheel /Users/chile/.minikube/bin/docker-machine-driver-hyperkit
sudo chmod u+s /Users/chile/.minikube/bin/docker-machine-driver-hyperkit

@tstromberg
Copy link
Contributor

Related: #5792

@tstromberg tstromberg added the top-10-issues Top 10 support issues label Oct 30, 2019
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 28, 2020
@pre
Copy link

pre commented Feb 13, 2020

Came here to document that my issue in Catalina was that hyperkit requires Docker for Mac. Withtout it, minikube either hangs (using minikube start -p profile) or crashes (minikube start).
My installation didn't even get to the "minikube was blocked" security message.

My problem was solved by launching Docker for Mac which then asked security privileges for itself. After that, minikube was able to start.

Related: #5811 (comment)

@mjgallag
Copy link

mjgallag commented Mar 9, 2020

New version of hyperkit with Catalina fix is finally available on Homebrew, see Homebrew/homebrew-core#50655 & moby/hyperkit#267 for details.

@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 9, 2020
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/macos packaging/brew macOS (brew) packaging issues packaging Packaging issues top-10-issues Top 10 support issues
Projects
None yet
Development

No branches or pull requests