Monday, 2023-03-13

opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Add zuul jobs for elk metrics on ubuntu jammy  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/87723108:39
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: DNM - trigger elk jobs  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/87723208:39
jrossergood morning08:40
ThiagoCMCMorning! 08:41
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-haproxy_server master: Add support for haproxy map files  https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/87674908:53
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use a map file to select haproxy horizon backend from the base frontend  https://review.opendev.org/c/openstack/openstack-ansible/+/87685108:57
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Switch proxy job from focal to jammy  https://review.opendev.org/c/openstack/openstack-ansible/+/87723409:01
ElnazHi09:09
Elnaz"https://opendev.org/openstack/openstack-ansible-ops/src/branch/master/prometheus" Title: Install Prometheus09:10
Elnazbut it does not actually install Prometheus, does it?09:11
Elnazjrosser: It just installs a node-exporter, right?09:12
jrosserElnaz: i don't know about that code really - remember that openstack-ansible-ops is really community contributed code09:13
ElnazAn openstack question: Is it possible to share an external network (i.e. vlan 3400) only for three customers (=project)? In Horizon I see an option to share for all or  nobody else!09:14
jrosserElnaz: take a look at this https://docs.openstack.org/neutron/latest/admin/config-rbac.html09:14
jrosserhorizon really only has the basic operations - many things are only possible with the CLI tools09:15
jrosserElnaz: for prometheus we are using this https://github.com/prometheus-community/ansible09:19
Elnazjrosser: Thank you. I'll go through them.09:21
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Add zuul jobs for elk metrics on ubuntu jammy  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/87723109:41
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: DNM - trigger elk jobs  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/87723209:41
admin1\o 09:58
jrosserElnaz: i see that setupKibanaDashboard.yml isn't included in `site.yml` and really seems to be just an example10:27
jrosserif you want to manage your own dashboards like this it would be better to be using this API https://www.elastic.co/guide/en/kibana/7.17/saved-objects-api-import.html10:27
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-haproxy_server master: Add support for haproxy map files  https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/87674910:57
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Bump ansible to latest release of 2.13  https://review.opendev.org/c/openstack/openstack-ansible/+/87727112:59
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Tune settings in galera server for reduced ram in all-in-one build  https://review.opendev.org/c/openstack/openstack-ansible/+/87727813:19
LosraioHello14:46
LosraioIt's me, again14:46
LosraioI receive the following error when trying to run the setup_hosts.yml:14:46
Losraiohttps://paste.openstack.org/show/btv9JaJAPWG13O22c6wc/14:47
LosraioOh, disregard that please14:47
Losraiowrong paste14:47
LosraioYeah uhm14:53
LosraioHow can I delete all the information on the generated dynamic inventory on the deployment host?14:53
jrosserLosraio: there is a tool scripts/inventory-manage.py which can do some operations on the inventory14:54
LosraioRight14:56
jrosseralternatively if you *really* want to start fresh then delete/rename /etc/openstack_deploy/openstack-inventory.json but that will re-assign all of your existing LXC container IP addresses, so is pretty significant option14:56
LosraioOh yeah, I found what I needed just now14:56
LosraioThank you14:56
LosraioCan I manually change the external load balancer IP after deploying OSA?15:08
LosraioWithout running the playbooks ofc15:08
jrosseri think you will need to run the playbooks15:12
jrosserLosraio: it kind of depends what you mean actually - if you used an FQDN in the openstack_user_config.yml for the external endpoint then you should be able to change the DNS entry for that15:14
jrosserbut if you used an IP address in the config file then you need to re-run some of the playbooks, as the external address will be put in not only haproxy/keepalived config but also every service has an entry in the keystone service catalog that would need updating15:15
LosraioNope, I used an IP address at the external_lb_vip key15:30
LosraioAnd I simply ran the playbook with a different IP15:30
LosraioStill running, no errors so far :D15:30
jrosserLosraio: that is going to take a looooong time....15:41
LosraioI see...15:41
jrosseryou can speed it up by running playbooks individually (just haproxy for example), and then the openstack services only need to update their service catalog entries15:41
jrosserso you can use ansible tags (`--tags <tag-name>`) like here https://opendev.org/openstack/openstack-ansible-os_glance/src/branch/master/tasks/main.yml#L10715:42
Losraiothe setup_hosts.yml ran without errors15:42
Losraioand now the setup_infrastructure is running15:42
jrossersetup_hosts has nothing to do with the endpoints15:42
jrosserif you look inside setup_infrastrcture you'll see that it just calls a list of sub-playbooks15:43
LosraioI know, I'm just following the official documentation15:43
jrosserit's totally fine to run one of those individually `openstack-ansible playbooks/haproxy-install.yml`15:43
LosraioOh, well then15:44
jrosserand then for setup-openstack.yml it should be possible to use `--tags common-service` as i showed you in the code for glance15:44
jrosseryou won't find anything but the most basic things in the documentation15:44
LosraioThanks a lot15:44
LosraioYes I know that, I'm just trying to deploy the test example15:45
LosraioAnd then I will probably move to a production deployment, but first I need to learn much more about osa it seems15:45
jrossersure, no problem15:46
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Tune settings in galera server for reduced ram in all-in-one build  https://review.opendev.org/c/openstack/openstack-ansible/+/87727815:52
jrossernoonedeadpunk: these two lines achieve the exact opposite thing https://github.com/openstack/openstack-ansible-os_nova/blob/master/vars/debian.yml#L81-L8218:19
jrosserfirst one installs all the architectures, second one tries to only install a specific one18:19
jrosserquestion is really what we would like to happen there18:20

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