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

Let user know when an allocation failed due to inexistent datacenter. #605

Closed
c4milo opened this issue Dec 18, 2015 · 4 comments
Closed

Comments

@c4milo
Copy link
Contributor

c4milo commented Dec 18, 2015

I was trying to schedule a job in a datacenter not recognized by my Nomad clients, so naturally the allocation failed but the message it is not very clear specifying the it failed because the job was trying to be scheduled on an inexistent datacenter.

$ nomad run -address http://192.168.50.4:4646 docker-registry/registry.nomad ==> Monitoring evaluation "c4023228-971b-a22c-a81c-beb064fec6e7"
    Evaluation triggered by job "docker"
    Scheduling error for group "api" (failed to find a node for placement)
    Allocation "564c0e0a-0aaf-a164-51a1-22db90581ef4" status "failed" (0/0 nodes filtered)
      * No nodes were eligible for evaluation
    Evaluation status changed: "pending" -> "complete"
==> Evaluation "c4023228-971b-a22c-a81c-beb064fec6e7" finished with status "complete"
@dadgar
Copy link
Contributor

dadgar commented Dec 22, 2015

Are there any other cases you run into a lack of information? This is definitely a case but most should have information about why the node was filtered!

@c4milo
Copy link
Contributor Author

c4milo commented Dec 22, 2015

Let's leave this issue for notifying when a datacenter was not found. If I run into a new case I will report it in a separate issue.

@c4milo c4milo changed the title Feature request: more detailed information of why an allocation failed Let user know when an allocation failed due to inexistent datacenter. Dec 22, 2015
@c4milo
Copy link
Contributor Author

c4milo commented Jan 5, 2016

nice! thanks @dadgar! 💃

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants