Skip to content

Commit 294f092

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "swift: fix group membership in debuntu/binary" into stable/victoria
2 parents ea15b68 + bc97aa5 commit 294f092

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docker/swift/swift-base/Dockerfile.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
2424
{% endif %}
2525

2626
{{ macros.install_packages(swift_base_packages | customizable("packages")) }}
27+
{# NOTE(mgoddard): UCA packages seem to modify the group membership for #}
28+
{# the swift user, removing it from the kolla group. #}
29+
{% if base_package_type == 'deb' %}
30+
RUN usermod --append --groups kolla swift
31+
{% endif %}
2732
{% elif install_type == 'source' %}
2833
{% if base_package_type == 'rpm' %}
2934
{% set swift_base_packages = [
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an issue with Swift containers failing to start in Ubuntu binary
5+
images. `LP#1905279
6+
<https://bugs.launchpad.net/kolla-ansible/+bug/1905279>`__

0 commit comments

Comments
 (0)