CentOS 7
kolla-ansible 8.0.0 (python 2.7 / Ansible 2.8.1)
Binary Centos
Official Images
Hi,
I'm trying to deploy/upgrade Cloudkitty using kolla-ansible 8.0.0 (stein). That's the error message.
TASK [cloudkitty : Running Cloudkitty bootstrap container] *******************************************************************************************
fatal: [localhost -> localhost]: FAILED! => {"changed": true, "msg": "Container exited with non-zero return code 1", "rc": 1, "stderr": "+ sudo -E kolla_set_configs\nINFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json\nINFO:__main__:Validating config file\nINFO:__main__:Kolla config strategy set to: COPY_ALWAYS\nINFO:__main__:Copying service configuration files\nINFO:__main__:Deleting /etc/cloudkitty/cloudkitty.conf\nINFO:__main__:Copying /var/lib/kolla/config_files/cloudkitty.conf to /etc/cloudkitty/cloudkitty.conf\nINFO:__main__:Setting permission for /etc/cloudkitty/cloudkitty.conf\nINFO:__main__:Copying /var/lib/kolla/config_files/wsgi-cloudkitty.conf to /etc/httpd/conf.d/wsgi-cloudkitty.conf\nINFO:__main__:Setting permission for /etc/httpd/conf.d/wsgi-cloudkitty.conf\nINFO:__main__:Writing out command to execute\nINFO:__main__:Setting permission for /var/log/kolla/cloudkitty\nINFO:__main__:Setting permission for /var/log/kolla/cloudkitty/cloudkitty-api.log\nINFO:__main__:Setting permission for /var/log/kolla/cloudkitty/cloudkitty-api-error.log\nINFO:__main__:Setting permission for /var/log/kolla/cloudkitty/cloudkitty-api-access.log\nINFO:__main__:Setting permission for /var/log/kolla/cloudkitty/cloudkitty-processor.log\n++ cat /run_command\n+ CMD='httpd -DFOREGROUND'\n+ ARGS=\n+ [[ ! -n '' ]]\n+ . kolla_extend_start\n++ [[ ! -d /var/log/kolla/cloudkitty ]]\n+++ stat -c %a /var/log/kolla/cloudkitty\n++ [[ 2755 != \\7\\5\\5 ]]\n++ chmod 755 /var/log/kolla/cloudkitty\n++ . /usr/local/bin/kolla_cloudkitty_extend_start\n+++ [[ centos =~ debian|ubuntu ]]\n+++ rm -rf /var/run/httpd/htcacheclean /run/httpd/htcacheclean '/tmp/httpd*'\n+++ [[ -n 0 ]]\n+++ cloudkitty-dbsync upgrade\nINFO [alembic.runtime.migration] Context impl MySQLImpl.\nINFO [alembic.runtime.migration] Will assume non-transactional DDL.\nINFO [alembic.runtime.migration] Context impl MySQLImpl.\nINFO [alembic.runtime.migration] Will assume non-transactional DDL.\nINFO [alembic.runtime.migration] Context impl MySQLImpl.\nINFO [alembic.runtime.migration] Will assume non-transactional DDL.\n+++ cloudkitty-storage-init\n", "stderr_lines": ["+ sudo -E kolla_set_configs", "INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json", "INFO:__main__:Validating config file", "INFO:__main__:Kolla config strategy set to: COPY_ALWAYS", "INFO:__main__:Copying service configuration files", "INFO:__main__:Deleting /etc/cloudkitty/cloudkitty.conf", "INFO:__main__:Copying /var/lib/kolla/config_files/cloudkitty.conf to /etc/cloudkitty/cloudkitty.conf", "INFO:__main__:Setting permission for /etc/cloudkitty/cloudkitty.conf", "INFO:__main__:Copying /var/lib/kolla/config_files/wsgi-cloudkitty.conf to /etc/httpd/conf.d/wsgi-cloudkitty.conf", "INFO:__main__:Setting permission for /etc/httpd/conf.d/wsgi-cloudkitty.conf", "INFO:__main__:Writing out command to execute", "INFO:__main__:Setting permission for /var/log/kolla/cloudkitty", "INFO:__main__:Setting permission for /var/log/kolla/cloudkitty/cloudkitty-api.log", "INFO:__main__:Setting permission for /var/log/kolla/cloudkitty/cloudkitty-api-error.log", "INFO:__main__:Setting permission for /var/log/kolla/cloudkitty/cloudkitty-api-access.log", "INFO:__main__:Setting permission for /var/log/kolla/cloudkitty/cloudkitty-processor.log", "++ cat /run_command", "+ CMD='httpd -DFOREGROUND'", "+ ARGS=", "+ [[ ! -n '' ]]", "+ . kolla_extend_start", "++ [[ ! -d /var/log/kolla/cloudkitty ]]", "+++ stat -c %a /var/log/kolla/cloudkitty", "++ [[ 2755 != \\7\\5\\5 ]]", "++ chmod 755 /var/log/kolla/cloudkitty", "++ . /usr/local/bin/kolla_cloudkitty_extend_start", "+++ [[ centos =~ debian|ubuntu ]]", "+++ rm -rf /var/run/httpd/htcacheclean /run/httpd/htcacheclean '/tmp/httpd*'", "+++ [[ -n 0 ]]", "+++ cloudkitty-dbsync upgrade", "INFO [alembic.runtime.migration] Context impl MySQLImpl.", "INFO [alembic.runtime.migration] Will assume non-transactional DDL.", "INFO [alembic.runtime.migration] Context impl MySQLImpl.", "INFO [alembic.runtime.migration] Will assume non-transactional DDL.", "INFO [alembic.runtime.migration] Context impl MySQLImpl.", "INFO [alembic.runtime.migration] Will assume non-transactional DDL.", "+++ cloudkitty-storage-init"], "stdout": "", "stdout_lines": []}
I don't see any errors in there. Can you check the cloudkitty log files under /var/log/ kolla/cloudkitt y?