builder: return error if a node fails to boot#3062
Conversation
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
tonistiigi
left a comment
There was a problem hiding this comment.
I think this was intentional to make it so that if you have a multi-node builder and one of the nodes (temporarily) goes down then you can still build with rest of the builders. Eg. you could even have multiple nodes with the same arch for some redundancy.
I think it would be ok if inspect --bootstrap fails but I think then it would need some more specific condition as this Boot() function is also used in other cases.
Ah yes that makes sense
Looks good I'm taking a look |
Line 267 in 0d708c0 So I don't think we need anything special here. |
fixes #2730
With #1869 we return an error only if all nodes fail to boot but that's not a correct pattern and we should return an error if any node fails.