Known issues
Bootstrapping MariaDB fails
MariaDB cluster is running, but is not reachable via HAProxy
This can happen if the haproxy user is somehow not configured for MariaDB. In particular, if the database_password is changed at some point during bootstrapping, this can get in to a bad state.
If just the haproxy user appears to be missing: try re-running ./cc-ansible deploy --tags mariadb and see if that helps.
If database update operations are failing: try resetting the root password.
You can allow a local login by editing
/etc/kolla/mariadb/my.cnfand addingskip-grant-tablesandskip-network(the latter disallows network access, for security).Login via
docker exec -it -uroot mariadb mysqlUpdate all of the
rootuser passwords to your new password. Follow MariaDB docs for how to do this.
If other database operations (like creating DB users for other OpenStack services) work: try manually creating the haproxy MariaDB user.
Login via
docker exyec -it -uroot mariadb mysql -pand provide the (unencrypted) root password (database_passwordin your passwords.yml).Create a
'haproxy'@'%'user with an empty password. This is what the automation is supposed to do. Then perform aGRANT USAGE ON *.* to 'haproxy'@'%'; FLUSH PRIVILEGES;Log out of the MariaDB container. You can now try to redeploy HAProxy.
No internet (or disconnect) when executing the openvswitch/neutron role
openvswitch/neutron roleDuring the course of provisioning the IP addresses on the interfaces will move to the OVS bridges created by Neutron; this causes remote connections to terminate. Try running the initial run in a tmux or screen session (or via an IPMI console.) If there are still issues:
Ensure the physical interface is added as a port on
br-exusingovs-vsctl show. This should be performed during the application of theopenvswitch. If not, to manually add, try doingdocker exec openvswitch_db ovs-vsctl add-port br-ex <public_interface>Modify
/etc/sysconfig/network-script/ifcfg-<public_interface>to make this persist on boot.
Last updated