Hide Forgot
Description of problem: In OSP8 we introduced authentication for the Redis service so we need to add the following to the docs: 1. Passing Redis password as a parameter during the deployment. Build an environment file or add the following parameter to an existing environment: parameter_defaults: RedisPassword: 'examplepassword' By default the password is generated by the tripleoclient so you cannot know it to build the loadbalancer configuration before the deployment. 2. An example HAProxy configuration for Redis: listen redis bind 172.16.20.249:6379 balance first option tcp-check tcp-check connect tcp-check send AUTH\ examplepassword\r\n tcp-check send PING\r\n tcp-check expect string +PONG tcp-check send info\ replication\r\n tcp-check expect string role:master tcp-check send QUIT\r\n tcp-check expect string +OK server overcloud-controller-0 172.16.20.150:6379 check fall 5 inter 2000 rise 2 server overcloud-controller-1 172.16.20.151:6379 check fall 5 inter 2000 rise 2 server overcloud-controller-2 172.16.20.152:6379 check fall 5 inter 2000 rise 2 Note the ' tcp-check send AUTH\ examplepassword\r\n' line where the password needs to match the RedisPassword parameter.
Hi Marius, I think I made a commit for this is for another BZ on the same topic 10 months ago: https://gitlab.cee.redhat.com/rhci-documentation/docs-Red_Hat_Enterprise_Linux_OpenStack_Platform/commit/2c19b4a3b5966baf064c623d79275ab1186076a3 Somehow this BZ slipped under my radar. This appears to be implemented for OSP8, OSP9, and OSP10. OSP10: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/external_load_balancing_for_the_overcloud/services_configuration_reference#redis OSP9: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/9/html/external_load_balancing_for_the_overcloud/services_configuration_reference#redis OSP8: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/8/html/external_load_balancing_for_the_overcloud/services_configuration_reference#redis Was there anything further required for this BZ?
Looks good. Thank you, Dan!
Thanks, Marius!