diff options
author | Dan Smith <dansmith@redhat.com> | 2021-01-29 15:30:03 -0800 |
---|---|---|
committer | Dan Smith <dansmith@redhat.com> | 2021-01-29 16:16:24 -0800 |
commit | cbe3cd9dc3ddc0b05fca500fd02018559cebf67d (patch) | |
tree | 18db147a84e7e8ee3265e506e8e5dccd425d12b2 /playbooks | |
parent | b9c48afd1516023839dd32b96f3eece36b164a8c (diff) | |
download | nova-cbe3cd9dc3ddc0b05fca500fd02018559cebf67d.tar.gz |
Restart glance after updating policy in job
When we write out the glance policy for the multistore job, we do
so after glance has already started. After the json->yaml change,
we will decide too early in g-api lifetime that the legacy file
isn't present and thus never honor it later. So, create it and then
restart glance services.
Change-Id: Ic1c01366dbfdcfb85750b85f960b76aea934db59
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/ceph/glance-copy-policy.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/playbooks/ceph/glance-copy-policy.yaml b/playbooks/ceph/glance-copy-policy.yaml index 2b9d25fc50..fc0244c71e 100644 --- a/playbooks/ceph/glance-copy-policy.yaml +++ b/playbooks/ceph/glance-copy-policy.yaml @@ -12,3 +12,4 @@ # or public) to copy. This way we will be able to test copy # image via non-admin as well as on private images. echo $'{"copy_image": ""}' > /etc/glance/policy.json + sudo systemctl restart 'devstack@g-*' |