Add Swift lock path in Swift containers
Swift-recon-cron requires rw access to the lock path
specified in in object-server.conf file. Currently it
doesn't exist in Swift containers
Closes-Bug: #1926203
Change-Id: Id3f824b741a5aa98efc7162fb7d49657e86a2bee
(cherry picked from commit ff25b500d2
)
This commit is contained in:
parent
49a5b7e553
commit
0bc8f2a335
|
@ -53,9 +53,9 @@ ADD swift-base-archive /swift-base-source
|
||||||
|
|
||||||
RUN ln -s swift-base-source/* swift \
|
RUN ln -s swift-base-source/* swift \
|
||||||
&& {{ macros.install_pip(swift_base_pip_packages | customizable("pip_packages")) }} \
|
&& {{ 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/ \
|
&& 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 %}
|
{% endif %}
|
||||||
|
|
||||||
COPY swift-rootwrap /var/lib/kolla/venv/bin/swift-rootwrap
|
COPY swift-rootwrap /var/lib/kolla/venv/bin/swift-rootwrap
|
||||||
|
|
|
@ -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…
Reference in New Issue