Comment 4 for bug 1583762

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

Looking at the hook, this all stems from the fact that we are not related to swift or at least glance: instead of setting up the right endpoint there, the charm simply sets it to a bogus value. Thus, we can't rely on juju to ensure consistency since we are not using its features.

I feel like this could only be properly solved with refactoring of the gs3 charm: make it relate to glance (if that ensures that swift is available, if not, we'd have to relate it to either ceph-radosgw or swift, whichever is installed), and then simply set the endpoint in the hook, and drop it from the cronjob.