55b4995110
convert tcib_gather_files for kolla related files to install the openstack-tripleo-common-containers rpm and use those directly instead of copying into the container image. Change-Id: I7384243e9e3d804c05fdd1689b6ae3c9306bbb31 Signed-off-by: Kevin Carter <kecarter@redhat.com>
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
tcib_actions:
|
|
- run: bash /usr/local/bin/uid_gid_manage {{ tcib_user }}
|
|
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
|
|
- run: cp /usr/share/openstack-tripleo-common-containers/container-images/kolla/mariadb/extend_start.sh /usr/local/bin/kolla_extend_start
|
|
- run: chmod 755 /usr/local/bin/kolla_extend_start
|
|
- run: cp /usr/share/openstack-tripleo-common-containers/container-images/kolla/mariadb/security_reset.expect /usr/local/bin/kolla_security_reset
|
|
- run: chmod 755 /usr/local/bin/kolla_security_reset
|
|
- run: rm -rf /var/lib/mysql/* /etc/my.cnf.d/mariadb-server.cnf /etc/my.cnf.d/auth_gssapi.cnf
|
|
- run: mkdir -p /etc/libqb
|
|
- run: ln -s /usr/share/openstack-tripleo-common/healthcheck/mariadb /openstack/healthcheck && chmod a+rx /openstack/healthcheck
|
|
tcib_cmd: kolla_start
|
|
tcib_entrypoint: dumb-init --
|
|
tcib_packages:
|
|
common:
|
|
- expect
|
|
- galera
|
|
- hostname
|
|
- libqb
|
|
- mariadb
|
|
- mariadb-backup
|
|
- mariadb-server-galera
|
|
- mariadb-server-utils
|
|
- pacemaker
|
|
- pacemaker-remote
|
|
- pcs
|
|
- python3-pynacl
|
|
- resource-agents
|
|
- rsync
|
|
- socat
|
|
- tar
|
|
tcib_user: mysql
|