Browse Source

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

changes/55/823855/1
Zuul 5 months ago committed by Gerrit Code Review
parent
commit
f4030389ab
  1. 4
      docker/swift/swift-base/Dockerfile.j2
  2. 5
      releasenotes/notes/fix-lock-swift-path-9b743367e4014f92.yaml

4
docker/swift/swift-base/Dockerfile.j2

@ -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

5
releasenotes/notes/fix-lock-swift-path-9b743367e4014f92.yaml

@ -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
Loading…
Cancel
Save