Director Installation failed - os-refresh-config & more
First of all. Hello.
I was trying to install a 3 node Openstack demo, 1 node director (undercloud), 1 node compute and 1 node controller.
I followed all the steps from this guide: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html/director_installation_and_usage/
I'm running RHEL 7.3 and trying to install RHOSP 11, so everything fits the description in the RedHat guide.
Everythings runs ok, until the director installation, using this command: ~~~openstack undercloud install~~~, after that the installation fails and a bunch of errors came up.
This are the errors:
~~~
2017-09-15 14:50:32,576 INFO: Notice: /Stage[setup]/Tripleo::Network::Os_net_config/Exec[os-net-config]/returns: IOError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'
2017-09-15 14:50:32,576 INFO: Error: /bin/os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes returned 1 instead of one of [0,2]
2017-09-15 14:50:32,577 INFO: Error: /Stage[setup]/Tripleo::Network::Os_net_config/Exec[os-net-config]/returns: change from notrun to 0 2 failed: /bin/os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes returned 1 instead of one of [0,2]
2017-09-15 14:50:35,811 INFO: Error: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]: Provider rabbitmqplugins is not functional on this host
2017-09-15 14:50:35,965 INFO: Error: Could not prefetch mysql_grant provider 'mysql': Command mysql is missing
2017-09-15 14:50:36,012 INFO: Error: Could not prefetch nova_cell_v2 provider 'nova_manage': Command nova_manage is missing
2017-09-15 14:50:36,279 INFO: Error: Failed to apply catalog: Insufficient credentials to authenticate
2017-09-15 14:59:56,834 INFO: Notice: /Stage[setup]/Tripleo::Network::Os_net_config/Exec[os-net-config]/returns: IOError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'
2017-09-15 14:59:56,834 INFO: Error: /bin/os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes returned 1 instead of one of [0,2]
2017-09-15 14:59:56,835 INFO: Error: /Stage[setup]/Tripleo::Network::Os_net_config/Exec[os-net-config]/returns: change from notrun to 0 2 failed: /bin/os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes returned 1 instead of one of [0,2]
2017-09-15 15:00:00,017 INFO: Error: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]: Provider rabbitmqplugins is not functional on this host
2017-09-15 15:00:00,189 INFO: Error: Could not prefetch mysql_grant provider 'mysql': Command mysql is missing
2017-09-15 15:00:00,220 INFO: Error: Could not prefetch nova_cell_v2 provider 'nova_manage': Command nova_manage is missing
2017-09-15 15:00:00,490 INFO: Error: Failed to apply catalog: Insufficient credentials to authenticate
2017-09-15 15:09:49,298 INFO: Notice: /Stage[setup]/Tripleo::Network::Os_net_config/Exec[os-net-config]/returns: IOError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'
2017-09-15 15:09:49,298 INFO: Error: /bin/os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes returned 1 instead of one of [0,2]
2017-09-15 15:09:49,299 INFO: Error: /Stage[setup]/Tripleo::Network::Os_net_config/Exec[os-net-config]/returns: change from notrun to 0 2 failed: /bin/os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes returned 1 instead of one of [0,2]
2017-09-15 15:09:52,187 INFO: Error: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]: Provider rabbitmqplugins is not functional on this host
2017-09-15 15:09:52,419 INFO: Error: Failed to apply catalog: Execution of '/bin/mysql -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)
2017-09-15 15:23:38,675 INFO: Notice: /Stage[setup]/Tripleo::Network::Os_net_config/Exec[os-net-config]/returns: IOError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'
2017-09-15 15:23:38,675 INFO: Error: /bin/os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes returned 1 instead of one of [0,2]
2017-09-15 15:23:38,675 INFO: Error: /Stage[setup]/Tripleo::Network::Os_net_config/Exec[os-net-config]/returns: change from notrun to 0 2 failed: /bin/os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes returned 1 instead of one of [0,2]
2017-09-15 15:23:41,648 INFO: Error: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]: Provider rabbitmqplugins is not functional on this host
2017-09-15 15:23:41,917 INFO: Error: Failed to apply catalog: Execution of '/bin/mysql -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)
2017-09-15 15:38:38,136 INFO: Notice: /Stage[setup]/Tripleo::Network::Os_net_config/Exec[os-net-config]/returns: IOError: [Errno 2] No such file or directory: '/sys/class/net/eth1/address'
2017-09-15 15:38:38,136 INFO: Error: /bin/os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes returned 1 instead of one of [0,2]
2017-09-15 15:38:38,136 INFO: Error: /Stage[setup]/Tripleo::Network::Os_net_config/Exec[os-net-config]/returns: change from notrun to 0 2 failed: /bin/os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes returned 1 instead of one of [0,2]
2017-09-15 15:38:41,222 INFO: Error: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]: Provider rabbitmqplugins is not functional on this host
2017-09-15 15:38:41,317 INFO: Error: Failed to apply catalog: Execution of '/bin/mysql -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)
~~~~
In this case i attached both the undercloud.conf and the install-undercloud.log files.
Waiting for any hint.