-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Sometimes nomad may place task with docker driver on host where docker not avaliable #5485
Comments
You're absolutely right that this should not happen! Thanks for the report! Classifying this as a Does this only occur on nodes with "heartbeat missed" node events? Do you have client logs from one of the time periods when the heartbeat was missed? |
@schmichael I doesn't think that this is dues missed heatbeats. On node this happens at 30 January 2019
But when we observe this issue was 28 March 2019, so between this event about 2 month of difference And here logs from client
|
@tantra35 Interesting, thanks for posting that. Can you grep for other log lines containing "docker" -- especially directly before the Docker task was scheduled on the node? Have these hosts ever had Docker installed? |
@schmichael we hev actual logs from 08-03-2019 (8 March 2019)
too old logs already rotated, and there only messages contains "docker" that I mention before, no other. And on those host docker never was been installed |
@tantra35 It fear like #6227 might be different. Would you be able to confirm #6227 fixes the cases with multiple required drivers for the alloc - I'm unaware of bugs affecting allocs with a single required driver. |
Nomad version
Nomad v0.8.6 (ab54ebc+CHANGES)
Issue
In our environment we have hosts where docker not installed, an we observed that nomad may place tack with docker driver on nodes where docker driver not present
Here is example for node with ID
8be15688
(there is onlyexec,raw_exec
drivers presnt on it)As you can see allocation
307d08bd
have failed state, with follow events for itthis allocation require docker driver and it is logical that it could not run on the node without Docker, finally nomad reschedule policy can place task on right node, but i think that is fully wrong that it even not must trying to place task with docker dependency on node without docker driver
The text was updated successfully, but these errors were encountered: