Make nova-ceph-multistore use policy.yaml

This changes our tweak of glance policy to use the new yaml format
instead of json. Glance needs to tweak this file too in some jobs,
and it's easier to do that in two places if the more modern yaml
format is used.

Change-Id: I4d4263987719d4885f114931130a71877f25d21e
Related-Bug: #1916926
This commit is contained in:
Dan Smith 2021-03-10 07:35:24 -08:00
parent ab07507e5c
commit 46704f7702
1 changed files with 1 additions and 1 deletions

View File

@ -11,5 +11,5 @@
# here to allow everyone and every type of image (private # here to allow everyone and every type of image (private
# or public) to copy. This way we will be able to test copy # or public) to copy. This way we will be able to test copy
# image via non-admin as well as on private images. # image via non-admin as well as on private images.
echo $'{"copy_image": ""}' > /etc/glance/policy.json echo $'"copy_image": ""' >> /etc/glance/policy.yaml
sudo systemctl restart 'devstack@g-*' sudo systemctl restart 'devstack@g-*'