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

Replaced generic error messages #177

Merged
merged 2 commits into from
Jul 15, 2022
Merged

Replaced generic error messages #177

merged 2 commits into from
Jul 15, 2022

Conversation

unexist
Copy link
Contributor

@unexist unexist commented Jun 29, 2022

I am struggling to run this driver on macOS and one of the real problems is every error message is basically the same generic "unknown error".

So this PR just adds the command to the error to make it easier to understand what is actually happening.

@hashicorp-cla
Copy link

hashicorp-cla commented Jun 29, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@lgfa29 lgfa29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @unexist, this looks great 🙂

Just a heads-up, we don't quite test running the plugin on Mac, so may hit other blockers. Let us know if you do.

@lgfa29 lgfa29 merged commit bf61856 into hashicorp:main Jul 15, 2022
@unexist
Copy link
Contributor Author

unexist commented Jul 15, 2022

Hey,

glad I could help and thanks for the work done so far. :)

Well, running Nomad with Podman on macOS is quite a challenge. One of my main learnings so far is you have to reverse mount your home or rather the allocation path of Nomad into the Podman VM, otherwise the allocations fail with a really cryptic error message. (podman machine init -v $HOME:$HOME)

I'll probably open up another PR with a bit of documentation, once I understand my more serious problem:

When I start a job/container via this driver Podman itself becomes unresponsive and I cannot interact with it at all anymore e.g. via its unix socket. Any hints how to debug this?

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 this pull request may close these issues.

3 participants