Skip to content

Commit fcd525d

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Add Swift lock path in Swift containers" into stable/xena
2 parents c02ec3f + 0d8d2f4 commit fcd525d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docker/swift/swift-base/Dockerfile.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ ADD swift-base-archive /swift-base-source
5353

5454
RUN ln -s swift-base-source/* swift \
5555
&& {{ macros.install_pip(swift_base_pip_packages | customizable("pip_packages")) }} \
56-
&& mkdir -p /etc/swift /var/cache/swift \
56+
&& mkdir -p /etc/swift /var/cache/swift /var/lock/swift \
5757
&& cp -r /swift/etc/* /etc/swift/ \
58-
&& chown -R swift: /etc/swift /var/cache/swift
58+
&& chown -R swift: /etc/swift /var/cache/swift /var/lock/swift
5959
{% endif %}
6060

6161
COPY swift-rootwrap /var/lib/kolla/venv/bin/swift-rootwrap
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes "Permission denied" issue for swift-recon tool that appears when
5+
swift-recon tool tries to access deafult recon_lock_path

0 commit comments

Comments
 (0)