Fix typo in MySQL upgrade tasks.

The upgrade tasks are failing because podman can't locate
the log output file during the MySQL upgrade step. The
parameter LOG_DIR was misswritten into LOGDIR and Heat
could not subsitute it.

Change-Id: I19a7b8495a4510bff59feff43a6042da0e74eb5a
Closes-Bug: #1853162
(cherry picked from commit 94aca797e0)
This commit is contained in:
Jose Luis Franco Arza 2019-11-19 16:39:30 +01:00 committed by Alex Schultz
parent 3b27df286d
commit 819d577b82
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ outputs:
UPGRADE_VOLUMES: "-v {{ mysql_upgrade_db_bind_mounts | union(['/tmp/mariadb-upgrade:/var/log/mariadb:rw,z']) | join(' -v ')}}" UPGRADE_VOLUMES: "-v {{ mysql_upgrade_db_bind_mounts | union(['/tmp/mariadb-upgrade:/var/log/mariadb:rw,z']) | join(' -v ')}}"
UPGRADE_SCRIPT: "{{mysql_upgrade_script}}" UPGRADE_SCRIPT: "{{mysql_upgrade_script}}"
CONTAINER_CLI: "{{ container_cli }}" CONTAINER_CLI: "{{ container_cli }}"
LOGDIR: '/var/log/containers/mysql' LOG_DIR: '/var/log/containers/mysql'
external_upgrade_tasks: external_upgrade_tasks:
- vars: - vars: