Bootstrapping bifrost services in Bifrost container fails with error in creating MySQL DB

Bug #1658840 reported by sayantani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Invalid
Undecided
sayantani

Bug Description

Bootstrapping Bifrost services in the Bifrost container fails with the following error:

 TASK [bifrost-ironic-install : MySQL - Creating DB] ****************************
 task path: /bifrost-base-source/bifrost-2.1.1.dev144/playbooks/roles/bifrost-ironic-install/tasks/bootstrap.yml:66
 <localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
 <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1484079646.39-19795587883686 `" && echo ansible-tmp-1484079646.39-19795587883686="` echo $HOME/.ansible/tmp/ansible-tmp-1484079646.39-19795587883686 `" ) && sleep 0'
 <localhost> PUT /tmp/tmpdqXViR TO /root/.ansible/tmp/ansible-tmp-1484079646.39-19795587883686/mysql_db
 <localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1484079646.39-19795587883686/ /root/.ansible/tmp/ansible-tmp-1484079646.39-19795587883686/mysql_db && sleep 0'
 <localhost> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /var/lib/kolla/venv/bin/python /root/.ansible/tmp/ansible-tmp-1484079646.39-19795587883686/mysql_db; rm -rf "/root/.ansible/tmp/ansible-tmp-1484079646.39-19795587883686/" > /dev/null 2>&1 && sleep 0'
 fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"collation": "", "config_file": "/root/.my.cnf", "connect_timeout": 30, "encoding": "utf8", "login_host": "localhost", "login_password": "", "login_port": 3306, "login_unix_socket": null, "login_user": "root", "name": "ironic", "quick": true, "single_transaction": false, "ssl_ca": null, "ssl_cert": null, "ssl_key": null, "state": "present", "target": null}, "module_name": "mysql_db"}, "msg": "the python mysqldb module is required"}

Changed in kolla:
assignee: nobody → sayantani (sayantani.goswami)
Changed in kolla:
status: New → In Progress
affects: kolla → kolla-ansible
Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

I cannot verify this, maybe was already fixed

Changed in kolla-ansible:
status: In Progress → Incomplete
status: Incomplete → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by Mark Goddard (<email address hidden>) on branch: master
Review: https://review.opendev.org/424391

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.