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
This commit is contained in:
parent
b9c48afd15
commit
cbe3cd9dc3
|
@ -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-*'
|
||||
|
|
Loading…
Reference in New Issue