swift: fix group membership in debuntu/binary
The UCA packages seem to be removing the swift user from the kolla group. Explicitly add it after installation. Closes-Bug: #1905279 Change-Id: I51c7c6e2f520a582de0409025eb5d1a6da2952a2
This commit is contained in:
@@ -24,6 +24,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ macros.install_packages(swift_base_packages | customizable("packages")) }}
|
{{ macros.install_packages(swift_base_packages | customizable("packages")) }}
|
||||||
|
{# NOTE(mgoddard): UCA packages seem to modify the group membership for #}
|
||||||
|
{# the swift user, removing it from the kolla group. #}
|
||||||
|
{% if base_package_type == 'deb' %}
|
||||||
|
RUN usermod --append --groups kolla swift
|
||||||
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
{% if base_package_type == 'rpm' %}
|
{% if base_package_type == 'rpm' %}
|
||||||
{% set swift_base_packages = [
|
{% set swift_base_packages = [
|
||||||
|
6
releasenotes/notes/bug-1905279-41d664114ef26a16.yaml
Normal file
6
releasenotes/notes/bug-1905279-41d664114ef26a16.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes an issue with Swift containers failing to start in Ubuntu binary
|
||||||
|
images. `LP#1905279
|
||||||
|
<https://bugs.launchpad.net/kolla-ansible/+bug/1905279>`__
|
Reference in New Issue
Block a user