#1. juju wait until everything is settled
#2. issue a juju config run=true on the glance-simplestreams-sync app to turn on syncing. (this is actually a bug in the gsss or glance charms: bug 1861005)
#3. wait for the config hook to complete
#4. sleep 60 seconds because the config hook sets up a timer that starts the syncing
#5. use juju wait to wait for the application status to show the syncing has completed
We ended up needing it for this case:
#1. juju wait until everything is settled simplestreams- sync app to turn on syncing. (this is actually a bug in the gsss or glance charms: bug 1861005)
#2. issue a juju config run=true on the glance-
#3. wait for the config hook to complete
#4. sleep 60 seconds because the config hook sets up a timer that starts the syncing
#5. use juju wait to wait for the application status to show the syncing has completed