Known issues
Last updated
Last updated
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.cnf
and adding skip-grant-tables
and skip-network
(the latter disallows network access, for security).
Login via docker exec -it -uroot mariadb mysql
Update all of the root
user passwords to your new password. Follow 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 -p
and provide the (unencrypted) root password (database_password
in your passwords.yml).
Create a 'haproxy'@'%'
user with an empty password. This is what the automation is supposed to do. Then perform a GRANT USAGE ON *.* to 'haproxy'@'%'; FLUSH PRIVILEGES;
Log out of the MariaDB container. You can now try to redeploy HAProxy.
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-ex
using ovs-vsctl show
. This should be performed during the application of the openvswitch
. If not, to manually add, try doing docker 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.