Undercloud installation failure with message ERROR configuring mysql_init_tasks

Solution Verified - Updated -

Issue

  • While installing undercloud, it failed with below error

    Undercloud installation failure with message ERROR configuring mysql_init_tasks
     "Error: Failed to apply catalog: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 \"No such file or directory\")",
            "+ rc=1",
            "+ set -e",
            "+ '[' 1 -ne 2 -a 1 -ne 0 ']'",
            "+ exit 1",
            "2019-01-30 14:18:06,239 INFO: 28439 -- Finished processing puppet configs for mysql_init_tasks",
            "2019-01-30 14:18:06,834 INFO: 28440 -- Removing container: docker-puppet-rabbit_init_tasks",
            "2019-01-30 14:18:07,012 INFO: 28440 -- Finished processing puppet configs for rabbit_init_tasks",
            "2019-01-30 14:18:07,013 ERROR: 28434 -- ERROR configuring mysql_init_tasks"
    

Environment

  • Red Hat OpenStack Platform 14.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In