The way I'm reading Chro's analysis makes me think the issue might not be in Glance itself. Resetting the connection properly is something that, unless I'm misinterpreting the problem, should be taken care of by eventlet.
As far as not repeating log lines, this is something that oslo.log should probably do. At least, provide an API to tell it what lines can/should be filtered when duplicated. Doing this in oslo.log would also help other projects and not just Glance.
The way I'm reading Chro's analysis makes me think the issue might not be in Glance itself. Resetting the connection properly is something that, unless I'm misinterpreting the problem, should be taken care of by eventlet.
As far as not repeating log lines, this is something that oslo.log should probably do. At least, provide an API to tell it what lines can/should be filtered when duplicated. Doing this in oslo.log would also help other projects and not just Glance.
Does this make sense?