osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[kolla] kolla_docker ansible module


On Tue, 6 Oct 2020 at 13:27, Braden, Albert <C-Albert.Braden at charter.com> wrote:
>
> I opened bug #1897948[1] the other day and today I was trying to figure out what needs to be done to fix it. In the mariadb backup container I see the offending line "--history=$(date +%d-%m-%Y)" in /usr/local/bin/kolla_mariadb_backup.sh and I had assumed that it was coming from https://github.com/openstack/kolla/blob/master/docker/mariadb/mariadb/backup.sh and the obvious solution is to replace "$(date +%d-%m-%Y)â?? with â??$HISTORY_NAME" where HISTORY_NAME=`ls -t $BACKUP_DIR/mysqlbackup*|head -1|cut -d- -f2-4` but when I look at the playbook I see that backup.sh appears to be part of a docker image. Is the docker image pulling /usr/local/bin/kolla_mariadb_backup.sh from https://github.com/openstack/kolla/blob/master/docker/mariadb/mariadb/backup.sh ?
>
Yes - see https://opendev.org/openstack/kolla/src/commit/524a821577d568a7a19983a7b6adc36e78fb9e4d/docker/mariadb/mariadb-server/Dockerfile.j2#L51
>
>
> On my kolla-ansible build server I see /opt/openstack/share/kolla-ansible/ansible/roles/mariadb/tasks/backup.yml[2] which appears to be an ansible playbook calling module kolla_docker, but I canâ??t find anything about the kolla_docker module on the googles nor on the ansible site.
>
>
>
> Where can I find the documentation for ansible module kolla_docker?
>
>
>
> [1] https://bugs.launchpad.net/kolla-ansible/+bug/1897948
>
> [2] http://www.hastebin.net/bimufefosy.yaml
>
>
>
> The contents of this e-mail message and
> any attachments are intended solely for the
> addressee(s) and may contain confidential
> and/or legally privileged information. If you
> are not the intended recipient of this message
> or if this message has been addressed to you
> in error, please immediately alert the sender
> by reply e-mail and then delete this message
> and any attachments. If you are not the
> intended recipient, you are notified that
> any use, dissemination, distribution, copying,
> or storage of this message or any attachment
> is strictly prohibited.