-
Notifications
You must be signed in to change notification settings - Fork 617
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
Comment out spammy log message during image pull #1061
Conversation
@stevvooe @aaronlehmann PTAL. Nothing suggests to me that simply commenting out the offending log message isn't a passable solution, but I might be overlooking something. |
whoops this is what i get for not building locally one a 1-line change. |
Commented out the spammy log message during image pull. The existing code seems adequate to report most errors. There may be a more correct way to report pull status, but I don't know what it is. Closes moby#935 Signed-off-by: Drew Erny <[email protected]>
d89402a
to
11d146c
Compare
I think it's okay to remove the pull progress for now, until we have a better way of reporting it. |
Current coverage is 53.95%@@ master #1061 diff @@
==========================================
Files 75 75
Lines 11686 11681 -5
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
- Hits 6310 6303 -7
- Misses 4477 4479 +2
Partials 899 899
|
I'd prefer we fix the todo... I leave in spammy messages for a reason. When the architecture is correct, this message goes away. |
I don't understand what the correct architecture should be. What is important about reporting progress? I don't understand the problem well enough to fix it. |
We need to provide visibility into the pull process. We can probably report this through container status. I'd like to see the changes proposed in docker/engine-api#89 (comment) and we can work from there. We may also want to flow some of this information into the message field on |
I don't think we can use container status - it would put too much pressure into the store. Actually, we're already sending too many updates - the agent eventually should probably compact those reports. Writing to raft is about the most expensive thing we can do in the system. |
Agreed, but we need some visibility into pull.
The protocol already supports this. We just need to make the agent do it. |
Commented out the spammy log message during image pull. The existing
code seems adequate to report most errors. There may be a more correct
way to report pull status, but I don't know what it is.
Closes #935
Signed-off-by: Drew Erny [email protected]