moha7 | I want to redeploy all steps related to the HAProxy as I had a mistake for setting internal and external in those two config files | 08:55 |
---|---|---|
moha7 | is it correct to run this way: `openstack-ansible setup-everything --tags haproxy` ? | 08:56 |
moha7 | My 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 |
moha7 | I edited them in the keepalived config file, but didn't solved as it probably needs to redefine endpoints. | 08:59 |
jrosser | you need to run the haproxy playbook to redeploy haproxy config to the loadbalancer, and there is a tag just to update the config file | 09:00 |
jrosser | but as you say the endpoints are referred to by all the services | 09:00 |
jrosser | so perhaps first check the config file for something to see if it is wrong, and also check the service catalog | 09:00 |
jrosser | you may / may not need to re run other things | 09:01 |
moha7 | > there is a tag just to update the config file | 09:02 |
jrosser | but anyway - setup-everything is not what you want, be more specific with the playbook you use | 09:02 |
moha7 | I checked the catalogue and endpoints are now all on 10.0.0.2 that was my intention for external | 09:03 |
moha7 | jrosser: What's the tag for updating? Where can I find all available arguments for `--tags` and `--limit`? | 09:13 |
jrosser | see https://github.com/openstack/openstack-ansible-haproxy_server/blob/master/tasks/main.yml#L60 | 09:14 |
jrosser | ansible itself does not have a way to list the tags | 09:15 |
jrosser | but if you look at the ansible roles source code for OSA you will see regular names used for different things | 09:15 |
jrosser | and —limit is also just a regular ansible feature https://docs.ansible.com/ansible/latest/inventory_guide/intro_patterns.html | 09:17 |
moha7 | jrosser: thanks, lots of time saving +1 | 11:28 |
admin1 | moha7, 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/!