Pending steps found on Jan 21st
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance-sync-layer |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
* glance-sync-layer was forked from glance-
* further work has been done on woutervb's glance-
* Unit tests have not been found on either branch
* functional tests from woutervb are meant to test "xenial" series, but all supported series (trusty, xenial, bionic) should be tested (create a template from bundle.yaml to render a specific bundle per series (including openstack-
OTOH, I followed the README file on James glance-sync-layer and:
* all the manual steps need to be grouped to avoid missing any of them
# master
juju deploy glance-sync --config master_mode=true
juju add-relation glance-sync keystone
juju add-relation glance-sync mysql
# slave
juju deploy glance-sync --config sync_source=
juju add-relation glance-sync keystone
juju add-relation glance-sync mysql
# master
juju config glance-sync authorized_
FWIW, I found a couple of bugs:
* authorized_keys update doesn't do anything
* master_creds got updated twice. First time, it created /etc/openstack/
- steps to reproduce: create master_creds without "project=XX", then config-changed will fail because of KeyError ("project" key not found in the dictionary), I then updated master_creds to include "project=XXX" but clouds.yaml didn't get updated.
Thank you,
-Alvaro.
PS: I think it would be nice to change metadata.yaml's "series" order from bionic to trusty (topdown) just because "juju deploy cs:glance-sync" choses the first series if none is selected. Currently, "trusty" would be chosen but it would be better if "bionic" was the default.
When changing the contents defined within the 'authorized_keys' parameter, the updated contents will now get updated within the '/etc/ssh/ authorized- keys/glance- sync-slaves' file on the unit.
When updating the 'master_creds' parameter after being first set, the updated values are now reflected within 'clouds.yaml' file on the unit.
The order of the "series" within 'metadata.yaml' now goes from bionic to trusty, (topdown).
Thanks,
James H