<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/docker/mariadb/Dockerfile.j2, branch stein-eol</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.platform-os.org/openstack/kolla.git/atom?h=stein-eol</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla.git/atom?h=stein-eol'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/'/>
<updated>2020-03-18T12:53:35+00:00</updated>
<entry>
<title>mariadb: install mariabackup on Debian</title>
<updated>2020-03-18T12:53:35+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2020-03-18T12:52:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=1a0886f84fa1fbee91dfeff628f4e2e77c9ef7a7'/>
<id>urn:sha1:1a0886f84fa1fbee91dfeff628f4e2e77c9ef7a7</id>
<content type='text'>
On AArch64 systems we are unable to deploy Stein due to lack of
mariabackup command.

Change-Id: I00b8c945470a0f63f23f2d0da74eed3189f5d9e5
Closes-bug: #1867750
</content>
</entry>
<entry>
<title>Stein: support mariabackup for backups</title>
<updated>2019-11-05T12:32:27+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2019-09-12T09:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=25890a485b20f9530f769c23af841d6a50593b37'/>
<id>urn:sha1:25890a485b20f9530f769c23af841d6a50593b37</id>
<content type='text'>
This is a combination of 3 commits from Train. Rather than dropping
xtrabackup, we are keeping it in addition to adding support for
backups using mariabackup.

1. Drop Percona XtraBackup in favour of MariaDB Backup

XtraBackup started failing to install on Ubuntu and does not support
MariaDB 10.3 version.

Related-Bug: #1843043

I9cf62c8e03a02574d85e5349df1d23a51d4c99be

2. Fix mariabackup arguments

After switching from innobackupex to mariabackup [1] for database
backups, the kolla_mariadb_backup.sh script was not modified to account
for the difference in arguments between innobackupex and mariabackup.
There is a compatibility mode, the documentation [2] for which covers
some of the differences.

The following have been changed:

- Add explicit --backup argument, now required
- Remove './' positional argument - not required with --stream
- Remove --no-timestamp argument - only supported in innobackupex
  compatibility mode
- Remove --incremental argument - implied by --incremental-history-name
- Remove deprecated --compress argument, which requires qpress to be
  installed (it is not). The stream is now passed through gzip instead
  [3]

[1] https://mariadb.com/kb/en/library/mariabackup-overview/
[2] https://mariadb.com/kb/en/library/mariabackup-options/#-innobackupex
[3] https://mariadb.com/kb/en/library/using-encryption-and-compression-tools-with-mariabackup/

I67cff47cbf56570b8eaeb66092dd87c2769fc8a6
Closes-Bug: #1843043
(cherry picked from commit 65b27d772be32738a8508ea8e6c07f74f229cdb7)

3. Set pipefail in kolla_mariadb_backup.sh

Without this, a failure in mariabackup would be ignored due to the pipe
to gzip.

I84536b302991e8fb04d5fa67ea266bc428437ce1
Related-Bug: #1843043

Change-Id: Idf1aed905a7d9ad461dd6fe17ed199c8d60370e6
</content>
</entry>
<entry>
<title>Add config option use_dumb_init to add it to container images</title>
<updated>2019-04-13T22:16:39+00:00</updated>
<author>
<name>Rabi Mishra</name>
<email>ramishra@redhat.com</email>
</author>
<published>2019-03-29T02:15:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=666d800b0e1d12e653eae3d11aee1a0b2433fbc7'/>
<id>urn:sha1:666d800b0e1d12e653eae3d11aee1a0b2433fbc7</id>
<content type='text'>
Usage of dumb-init can also be disabled from cli with
`--nouse-dumb-init` when building images.

Also moves ENTRYPOINT outside of dumb_init_installation
block.

Change-Id: Id32d54fc9913b83cf121ede5a5e265e0772062ae
Related-Bug: #1821970
(cherry picked from commit fb4cb9efda5a522ba0d837047385b61275d09150)
</content>
</entry>
<entry>
<title>Fix MariaDB 10.3 upgrade</title>
<updated>2019-03-18T19:42:36+00:00</updated>
<author>
<name>Mark Goddard</name>
<email>mark@stackhpc.com</email>
</author>
<published>2019-03-18T15:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=3075685d01554447144f37201f241f7f1ff1ad3b'/>
<id>urn:sha1:3075685d01554447144f37201f241f7f1ff1ad3b</id>
<content type='text'>
There are a couple of issues with the mariadb image currently.

1. it doesn't include mysql_upgrade on CentOS/RHEL. It is necessary to
   run this after an upgrade of MariaDB. This is fixed by installing
   mariadb-server-utils.

2. it inherits the standard dumb-init entrypoint from the base image,
   which includes a --single-child argument. That causes signals to be
   forwarded only to the process executed by dumb-init, which in the
   case of kolla-ansible is mysqld_safe, however mysqld_safe ignores
   SIGTERM. After a timeout, Docker then forcibly kills the container.
   Executing dumb-init without --single-child ensures the TERM signal is
   sent to mysqld, allowing it to shutdown gracefully.

Change-Id: I1a450736721863b91be1ea3d3c8948990de9fdeb
Closes-Bug: #1820325
</content>
</entry>
<entry>
<title>Use base_package_type</title>
<updated>2019-01-17T15:23:41+00:00</updated>
<author>
<name>Alex Schultz</name>
<email>aschultz@redhat.com</email>
</author>
<published>2019-01-15T23:58:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=ae1322ec10861678abe1137f3013030b34335bc7'/>
<id>urn:sha1:ae1322ec10861678abe1137f3013030b34335bc7</id>
<content type='text'>
This change updates the docker files to use base_package_type instead
of doing specific distro checks for the rhel/deb generic cases. The
base_distro is still available and is used when a specific distro needs
a customization but if the differences are purely rpm vs deb, then the
base_package_type can be used.

Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
</content>
</entry>
<entry>
<title>Required changes for mariadb 10.3</title>
<updated>2018-12-11T19:31:24+00:00</updated>
<author>
<name>Eduardo Gonzalez</name>
<email>dabarren@gmail.com</email>
</author>
<published>2018-12-10T17:36:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=32beb0a642b10c2dfe7443e6adda0687d38029c7'/>
<id>urn:sha1:32beb0a642b10c2dfe7443e6adda0687d38029c7</id>
<content type='text'>
Mysql-python is a deprecated package and fails to build currently.
Make use of mysqlclient as is a fork of mysql-python with many bug
fixes a python3 support.
percona xtrabackup doenst work with mariadb 10.3,
replaces to use mariadb-backup tool.
https://jira.mariadb.org/browse/MDEV-15774

Change-Id: Icefe3a77fb12d57c869521000d458e3f58435374
</content>
</entry>
<entry>
<title>Bump Ubuntu base image to 18.04</title>
<updated>2018-05-25T16:24:30+00:00</updated>
<author>
<name>Jeffrey Zhang</name>
<email>zhang.lei.fly@gmail.com</email>
</author>
<published>2018-03-08T15:35:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=14374e715d2a5057a28126c7193cfb6270eabaab'/>
<id>urn:sha1:14374e715d2a5057a28126c7193cfb6270eabaab</id>
<content type='text'>
Ubuntu 18.04 has been released. We need upgrade to it this cycle.

Changes made in this patch

- Bump ubuntu repo from xenial to bionic. Some repos do not have bionic
  packages, so still using xenial repos.
- Drop mariadb, percona and nfs-ganesha repo, because these packages are
  already provided by Ubuntu official repo.
- Since qdrouterd does not have bionic repo and xenial packages does not
  work on Ubuntu bionic, just add it into ignore image list.
- Use python-rtslib-fb and targetcli-fb rather than python-rtslib
  and targetcli
- use xen-utils package name rather than with package version one.
- Seems unsigned repo won't work on Ubuntu bionic, stop using infra
  mirrored unsigned repo in gate building job.

Needed-By: https://review.openstack.org/568728
Implement blueprint: ubuntu-bionic
Change-Id: I4e3b0ca669cfbf6316bf591f2d8428fa1a0d6182
</content>
</entry>
<entry>
<title>mariadb: create /var/run/mysqld under Debian distros</title>
<updated>2018-02-26T11:30:24+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2018-02-26T11:30:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=60e1c4b34135bade149bcad80da15113a329848e'/>
<id>urn:sha1:60e1c4b34135bade149bcad80da15113a329848e</id>
<content type='text'>
Change-Id: I4fdab197e18b25f6af7275da6ecbdb9c516ba0a5
</content>
</entry>
<entry>
<title>Add socat to base image</title>
<updated>2018-02-14T10:57:34+00:00</updated>
<author>
<name>Martin Mágr</name>
<email>mmagr@redhat.com</email>
</author>
<published>2018-02-12T21:29:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=293a1d9f8c32ed89084368acae079d9c57d8f30f'/>
<id>urn:sha1:293a1d9f8c32ed89084368acae079d9c57d8f30f</id>
<content type='text'>
We would need socat tool to perform healthchecks on the various containers.

Closes-Bug: #1749227
Change-Id: Ibda77a8d041d894f5efac6578e52b11651bca97f
</content>
</entry>
<entry>
<title>Consume RDO packaged mariadb version</title>
<updated>2018-01-21T18:19:57+00:00</updated>
<author>
<name>Steven Dake</name>
<email>stdake@cisco.com</email>
</author>
<published>2017-12-26T08:18:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=a729d132d6a8a891dc0ab92c9bda094a59cea231'/>
<id>urn:sha1:a729d132d6a8a891dc0ab92c9bda094a59cea231</id>
<content type='text'>
RDO packaged mariadb recieves far more testing and qualification
than any other mariadb package on CentOS.  Lets use that instead
of a hard-pinned old version of mariadb from mariadb.org.

This patch also upgrade MariaDB from 10.0 to 10.1.20 for
RHEL/CentOS/Oracle Linux.

Depends-On: I8374ac2219ad7880970cd789727d01af7cac1077
Depends-On: Ia2acb09e877a586243fc1acb49d8d140cf27d7b5
Co-Authored-By: Xinliang Liu &lt;xinliang.liu@linaro.org&gt;
Change-Id: I071362fc1b8d60199a77e2fe0475d2b4c3b5341b
</content>
</entry>
</feed>
