Merge "Add Swift lock path in Swift containers" into stable/ussuri

This commit is contained in:
Zuul 2021-12-20 11:33:18 +00:00 committed by Gerrit Code Review
commit f4030389ab
2 changed files with 7 additions and 2 deletions

View File

@ -53,9 +53,9 @@ ADD swift-base-archive /swift-base-source
RUN ln -s swift-base-source/* swift \
&& {{ macros.install_pip(swift_base_pip_packages | customizable("pip_packages")) }} \
&& mkdir -p /etc/swift /var/cache/swift \
&& mkdir -p /etc/swift /var/cache/swift /var/lock/swift \
&& cp -r /swift/etc/* /etc/swift/ \
&& chown -R swift: /etc/swift /var/cache/swift
&& chown -R swift: /etc/swift /var/cache/swift /var/lock/swift
{% endif %}
COPY swift-rootwrap /var/lib/kolla/venv/bin/swift-rootwrap

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes "Permission denied" issue for swift-recon tool that appears when
swift-recon tool tries to access deafult recon_lock_path