Sunday, 2023-01-15

moha7I want to redeploy all steps related to the HAProxy as I had a mistake for setting internal and external in those two config files08:55
moha7is it correct to run this way: `openstack-ansible setup-everything --tags haproxy` ?08:56
moha7My mistake: 10.0.0.1 for internal and 10.0.0.2 for external in `openstack_user_config.yml`, and I set them vice versa in the other file, `user_variable.yml`08:58
moha7I edited them in the keepalived config file, but didn't solved as it probably needs to redefine endpoints.08:59
jrosseryou need to run the haproxy playbook to redeploy haproxy config to the loadbalancer, and there is a tag just to update the config file09:00
jrosserbut as you say the endpoints are referred to by all the services09:00
jrosserso perhaps first check the config file for something to see if it is wrong, and also check the service catalog09:00
jrosseryou may / may not need to re run other things09:01
moha7>  there is a tag just to update the config file09:02
jrosserbut anyway - setup-everything is not what you want, be more specific with the playbook you use09:02
moha7I checked the catalogue and endpoints are now all on 10.0.0.2 that was my intention for external09:03
moha7jrosser: What's the tag for updating? Where can I find all available arguments for `--tags` and `--limit`?09:13
jrossersee https://github.com/openstack/openstack-ansible-haproxy_server/blob/master/tasks/main.yml#L6009:14
jrosseransible itself does not have a way to list the tags09:15
jrosserbut if you look at the ansible roles source code for OSA you will see regular names used for different things09:15
jrosserand —limit is also just a regular ansible feature https://docs.ansible.com/ansible/latest/inventory_guide/intro_patterns.html09:17
moha7jrosser: thanks, lots of time saving +111:28
admin1moha7, for all haproxy related changes and updates ( adding extra endpoints,  ssl certs ) i just  run   "openstack-ansible haproxy-install.yml" 19:05

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!