Merge lp://staging/~danilo/charms/trusty/glance-simplestreams-sync/wait-for-swift into lp://staging/~landscape/charms/trusty/glance-simplestreams-sync/landscape
Status: | Merged |
---|---|
Merged at revision: | 60 |
Proposed branch: | lp://staging/~danilo/charms/trusty/glance-simplestreams-sync/wait-for-swift |
Merge into: | lp://staging/~landscape/charms/trusty/glance-simplestreams-sync/landscape |
Diff against target: |
26 lines (+7/-2) 1 file modified
scripts/glance-simplestreams-sync.py (+7/-2) |
To merge this branch: | bzr merge lp://staging/~danilo/charms/trusty/glance-simplestreams-sync/wait-for-swift |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Glass (community) | Approve | ||
Geoff Teale (community) | Approve | ||
Review via email:
|
Description of the change
Wait for swift to actually be available before deciding to drop the per-minute cronjob doing the initial sync.
Testing instructions:
1. Deploy OPL
2. Enable openstack-
juju ssh landscape-server/0 sudo /opt/canonical/
2a. Hack /opt/canonical/
3. Deploy a cloud with OSA
4. Look for log messages in /var/log/
NOTE: this is a race condition and we do not always hit it (I've been unable to hit this with this fix in my last 3 deploys, but hit it 2 times before that).
Just to note that I hit this issue twice in 7 deploys yesterday.