Comment 3 for bug 1583276

Revision history for this message
Данило Шеган (danilo) wrote :

Note that upstream charm doesn't exactly match our version in this: it doesn't catch ConnectionError and instead removes the per-minute cronjob on that failure. Chad fixed this in our version of the gs3 charm.

It would not change the eventual failure when the script is re-run as part of the daily cronjob: it would simply still never move 14.04 image from "saving" to "active", though only a bit later.

My high level take on this is that something other than the charm is messing up. Most likely glance needs to allow for "atomic" image uploads, which will not get into these messed up states, or python-simplestreams needs to handle it better and not treat this image as uploaded. Perhaps we can overwrite any non-active images on every run. I'll look into that approach.