Kolla-Ansible Murano fails MySQL-Python not found

asked 2019-08-21 08:19:30 -0500

ADouban gravatar image

Kolla-Ansible Murano Deployment fails that

TASK [horizon : Copying over existing policy file] ************************

TASK [horizon : Check horizon container] **************************** changed: [controller]

TASK [horizon : include_tasks] ****************************** skipping: [controller]

TASK [horizon : include_tasks] ****************************** included: /var/virtualenv/share/kolla-ansible/ansible/roles/horizon/tasks/bootstrap.yml for controller

TASK [horizon : Creating Horizon database] ************************** ok: [controller -> controller]

TASK [horizon : Creating Horizon database user and setting permissions] ***************** ok: [controller -> controller]

TASK [horizon : include_tasks] ****************************** included: /var/virtualenv/share/kolla-ansible/ansible/roles/horizon/tasks/bootstrap_service.yml for controller

TASK [horizon : Running Horizon bootstrap container] ************************ fatal: [controller -> controller]: 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__:Copying /var/lib/kolla/config_files/horizon.conf to /etc/httpd/conf.d/horizon.conf\nINFO:__main__:Setting permission for /etc/httpd/conf.d/horizon.conf\nINFO:__main__:Deleting /etc/openstack-dashboard/local_settings\nINFO:__main__:Copying /var/lib/kolla/config_files/local_settings to /etc/openstack-dashboard/local_settings\nINFO:__main__:Setting permission for /etc/openstack-dashboard/local_settings\nINFO:__main__:Copying /var/lib/kolla/config_files/custom_local_settings to /etc/openstack-dashboard/custom_local_settings\nINFO:__main__:Setting permission for /etc/openstack-dashboard/custom_local_settings\nINFO:__main__:Writing out command to execute\n++ cat /run_command\n+ CMD='/usr/sbin/httpd -DFOREGROUND'\n+ ARGS=\n+ [[ ! -n '' ]]\n+ . kolla_extend_start\n++ set -o errexit\n++ FORCE_GENERATE=\n++ HASH_PATH=/var/lib/kolla/.settings.md5sum.txt\n++ [[ binary == \b\i\n\a\r\y ]]\n++ [[ centos =~ ubuntu ]]\n++ [[ binary == \b\i\n\a\r\y ]]\n++ SITE_PACKAGES=/usr/lib/python2.7/site-packages\n++ [[ -f /var/lib/kolla/venv/bin/python ]]\n++ MANAGE_PY='/usr/bin/python2.7 /usr/bin/manage.py'\n++ [[ binary == \s\o\u\r\c\e ]]\n++ [[ -f /etc/openstack-dashboard/custom_local_settings ]]\n++ CUSTOM_SETTINGS_FILE=/usr/lib/python2.7/site-packages/openstack_dashboard/local/custom_local_settings.py\n++ [[ binary == \b\i\n\a\r\y ]]\n++ [[ centos =~ ubuntu ]]\n++ [[ ! -L /usr/lib/python2.7/site-packages/openstack_dashboard/local/custom_local_settings.py ]]\n++ ln -s /etc/openstack-dashboard/custom_local_settings /usr/lib/python2.7/site-packages/openstack_dashboard/local/custom_local_settings.py\n++ [[ -n 0 ]]\n++ /usr/bin/python2.7 /usr/bin/manage.py migrate --noinput\nTraceback (most recent call last):\n File \"/usr/bin/manage.py\", line 23, in <module>\n execute_from_command_line(sys.argv)\n File \"/usr/lib/python2.7/site-packages/django/core/management/__init__.py\", line 364, in execute_from_command_line\n utility.execute()\n File \"/usr/lib/python2.7/site-packages/django/core/management/__init__.py\", line 338, in execute\n django.setup()\n File \"/usr/lib/python2.7/site-packages/django/__init__.py\", line 27, in setup\n apps.populate(settings.INSTALLED_APPS)\n File \"/usr/lib/python2.7/site-packages/django/apps/registry.py\", line 108, in populate\n app_config.import_models()\n File \"/usr/lib/python2.7/site-packages/django/apps/config.py\", line 202, in import_models\n self.models_module = import_module(models_module_name)\n File \"/usr/lib64/python2.7/importlib/__init__.py\", line 37, in import_module\n __import__(name)\n File \"/usr/lib/python2.7/site-packages/django/contrib ... (more)

edit retag flag offensive close merge delete