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

Error with pre-create check: "Parallels Desktop edition could not be fetched!" #91

Closed
tstromberg opened this issue May 29, 2020 · 2 comments · Fixed by #94
Closed

Error with pre-create check: "Parallels Desktop edition could not be fetched!" #91

tstromberg opened this issue May 29, 2020 · 2 comments · Fixed by #94

Comments

@tstromberg
Copy link

This happens with both docker-machine and minikube:

%  docker-machine create --driver=parallels prl-dev                                                                                                                                                                                              Creating CA: /Users/tstromberg/.docker/machine/certs/ca.pem
Creating client certificate: /Users/tstromberg/.docker/machine/certs/cert.pem
Running pre-create checks...
Error with pre-create check: "Parallels Desktop edition could not be fetched!"

Looking at the code - the parsing appears to be made here:

return "", fmt.Errorf("Parallels Desktop edition could not be fetched!")

Here is what I believe the underlying command output is:

% prlsrvctl info --license
Searching for installed licenses...
No licenses installed.

I just downloaded a demo of Parallels to help a minikube user out, so I do not have a license. May I suggest that, if a license is required, that the error message be updated to show something like:

docker-machine-parallels requires a Parallels license to be purchased: https://www.parallels.com/

Alternatively, if this is just the case of a regular expression changing, I thought you should know.

@tstromberg
Copy link
Author

tstromberg commented May 29, 2020

The appropriate workaround I found was to select Account & License... in the Parallels menu. Add a user, and select a 14-day trial. Then a license showed up and docker-machine + minikube could run as expected.

The error message should be updated to contain this information.

@legal90
Copy link
Collaborator

legal90 commented Jun 7, 2020

@tstromberg Thank you for pointing on this! I agree - we should update the error message and make it more helpful 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants