Skip to content

Commit cbe3cd9

Browse files
committed
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
1 parent b9c48af commit cbe3cd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

playbooks/ceph/glance-copy-policy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
# or public) to copy. This way we will be able to test copy
1313
# image via non-admin as well as on private images.
1414
echo $'{"copy_image": ""}' > /etc/glance/policy.json
15+
sudo systemctl restart 'devstack@g-*'

0 commit comments

Comments
 (0)