[kolla] kolla_docker ansible module
Radosław Piliszek
radoslaw.piliszek at gmail.com
Tue Oct 6 12:46:44 UTC 2020
kolla_docker module is shipped with kolla-ansible - it gets installed
with its package.
There is only code documentation for that module, embedded right in it.
https://opendev.org/openstack/kolla-ansible/src/commit/5e638b757bdda9fbddf0fe0be5d76caa3419af74/ansible/library/kolla_docker.py
-yoctozepto
On Tue, Oct 6, 2020 at 2:29 PM 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 ?
>
>
>
> 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.
More information about the openstack-discuss
mailing list