Monday, 2024-09-09

*** noonedeadpunk_ is now known as noonedeadpunk07:29
gokhan_good morning folks, can we create multiple deployments with one deployment host? how can we use multiple /etc/openstack_deploy files like /etc/openstac_deploy_r1 and /etc/openstack_deploy_r2 ? 07:37
noonedeadpunko/07:46
noonedeadpunkyes you can07:47
noonedeadpunkthere's an environment variable OSA_CONFIG_DIR which you can use to adjust openstack_deploy path07:47
noonedeadpunkBUT, you can't have multiple versions of OSA running there unfortunatelly07:47
noonedeadpunkso you can `export OSA_CONFIG_DIR=/etc/openstac_deploy_r1`07:48
gokhan_noonedeadpunk, ok thanks I will use same version of osa. 07:51
grauzikasHello, regarding designate in most examples i can see that mdns is configured as master and comunicates with pdns via api as they would be slaves (there is one more issue because my external pdns servers already has one master). As i understand in that case mdns servers should be reachable for comunication from slaves, but lxc containers has nated ip addresses (br-mgmnt), so now im thinking what best practice in this 08:20
grauzikassituation? Use haproxy (br-vip if udp is needed then this will not work)? use NAT port forwarding (i woul like to avoid this and we have 3x mdns servers so nat will connect to only one)? provide internal access to external dns servers from mdns servers? or probably for openstack cluster create seperate pdns servers what will be on same lxc containers and to pdns servers what will be in lxc containers provide external 08:20
grauzikasip? I have VIP configured and on br-vip on every infra node and i have additional ip address on every node br-vip and via tcpdump i can see that mdns trying to connect to external pdns servers via these additional ip addresses.08:20
grauzikasand one more question. i have been updated OSA https://paste.openstack.org/show/bHtq55YAn5UrOjjbRIMM/ and then launched /scripts/bootstrap-ansible.sh and then freshly installed openstack by running playbooks and after that as some of you remember i was asking about octavia that it is not working. There was TYPO issue in octavia ovn driver, but i was sure that tgis typo was fixed and i have updated OSA, but later notied 08:26
grauzikasthat that typo issue i stil have, i updated on friday, but typo was not updated. May be im updating OSA some how wrong? issue what im talking as i understand was fixed on aug 30 https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/92752108:26
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-openstack_hosts master: Manage apt repositores and keys using deb822_repository module  https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/90743408:56
jrossergrauzikas: for designate there you would need some extra networking stuff doing if pdns actually needs to be able to contact the mdns directly. I use bind in this situation, so it is definatly required as designate notifies bind that an update is available, then bind transfers the zone.09:01
jrossergrauzikas: do you know what the actual interaction is when pdns is used?09:01
jrosseralso just be careful about where the NAT is for the LXC containers, eth0 will normally be the default route to the container hosts, which then NAT that09:03
jrosserif you have separately NAT the mgmt network then thats something else again09:03
grauzikasby examining pdns logs i can see two issues, that pdns can notice mdns and regarding master that mdns is not master09:06
grauzikasmay be run mdns on metal so then it will be directly on infra node?09:07
jrosserunfortuntely i have zero experience with pdns09:07
grauzikasi mean not mdns but designate09:07
jrosserbut from a networking perspective you have a couple of options09:07
jrosseryou could extend the mgmt network to your pdns server as an extra interface, then you would have direct connectivity between the two09:08
jrosseryou could create an extra interface on the designate containers with a dedicated network between them and the pdns server if you want extra isolation there09:09
jrosser^ does this help? i don't think that haproxy or the VIP is at all relevant here09:12
grauzikasso in other words best way is to define one more network and make only 3 ips as free with help of used ips and bind this network to designate and attack this network to br-vip ?09:13
grauzikasattach*09:13
jrosserwhat is br-vip?09:14
grauzikasi created seperate bridge for VIP ip address what has public access09:14
jrosseris this on actual external internet?09:14
grauzikasyes09:14
jrossermy personal preference is to do this with an internal network - but that really depends a lot on what your whole architecture is09:16
grauzikasor simply cretae nat in node09:17
jrossernoonedeadpunk: do you have designate + pdns?09:18
noonedeadpunknope09:18
noonedeadpunkno designate at all09:18
jrosserwe do make this kind of difficult with integration with upstream dns09:19
jrossergrauzikas: unfortunately i have done this with bind but not pdns so i don't know what your exact issue is09:21
jrossergrauzikas: here is an example https://satishdotpatel.github.io/designate-integration-with-powerdns/09:25
jrosseralthough it doesnt say explicity, it looks like there is some part of pdns running on the infra nodes there09:25
jrosserwhich would be able to see the mdns services through the mgmt network09:25
jrosserand those would have external connectivity with your IP on br-vip09:26
grauzikasyes i was reading this too so the idea is nat mdns port or move powerdns in to lxc container and provide external ip to these lxc09:28
jrossernat?09:28
grauzikasport forward sorry not nat09:29
jrosseri think be really careful about applying external IP on the mgmt network09:29
grauzikasbut i will not provide to mgnt network external ip.09:30
grauzikasammm an lxc container what has two interfaces 1: management, 2 public. on that lxc container i will have running pdns. on public interfaces allow only tcp,udp port 5309:31
jrosseryou can make a new lxc container for that, sure09:31
jrosseri did some hacking for similar purposes here https://github.com/jrosser/openstack-ansible-ops/blob/designate-bind/designate-bind/groupvars/dnsaas-bind.yml09:34
jrosserif you want a container dedicated for powerdns then make an new entry in /etc/openstack_deploy/env.d09:35
jrosserthe tricky bit is ensuring that the public interface gets a consistent/statically assigned IP as you have to reference that in the pools config for designate09:36
jrossergrauzikas: so for your second question about the octavia fix09:37
jrosseryou are correct that this patch is merged https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/92752109:38
jrosserbut what defines a particular release of openstack-ansible is the contents of this file https://github.com/openstack/openstack-ansible/blob/stable/2024.1/ansible-role-requirements.yml#L23909:39
jrosserand also the SHA of all the actual services that are deployed09:39
jrosserso if you checked out stable/2024.1 on friday, you will get the versions of the ansible roles specified in that file09:40
grauzikasi see09:40
jrosseryou can override any of this as necessary https://docs.openstack.org/openstack-ansible/latest/reference/configuration/extending-osa.html#adding-new-or-overriding-roles-in-your-openstack-ansible-installation09:41
jrosserand periodically we make a new point release (see the specific tags) on each stable branch and all these versions get updated together09:41
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Add infrastructure playbooks to openstack-ansible-plugins collection  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92417109:50
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-apt_package_pinning master: Add ability to control the state of apt pins.  https://review.opendev.org/c/openstack/openstack-ansible-apt_package_pinning/+/92790309:53
grauzikasis this correct? https://paste.openstack.org/show/bXCnWkcIYFAZmj2VbXLL/09:57
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Revert "Ensure that python3-cryptography is present in k8s control plane hosts"  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/92140009:58
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/2024.1: Verify OS for containers installation  https://review.opendev.org/c/openstack/openstack-ansible/+/92858910:01
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/2024.1: Verify OS for containers installation  https://review.opendev.org/c/openstack/openstack-ansible/+/92858910:03
opendevreviewMerged openstack/openstack-ansible-apt_package_pinning master: Fix linters  https://review.opendev.org/c/openstack/openstack-ansible-apt_package_pinning/+/92791010:04
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Verify OS for containers installation  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92859110:09
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Verify OS for containers installation  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92859110:10
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Add Ubuntu 24.04 to supported by playbook versions  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92859210:11
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Verify OS for containers installation  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92859110:13
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Add Ubuntu 24.04 to supported by playbook versions  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92859210:14
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Add Ubuntu 24.04 to supported by playbook versions  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92859210:14
opendevreviewMerged openstack/openstack-ansible-os_skyline stable/2024.1: Enable SSLProxyProtocol for internal backends behind TLS  https://review.opendev.org/c/openstack/openstack-ansible-os_skyline/+/92848111:32
opendevreviewMerged openstack/openstack-ansible-plugins master: Add setup_hosts playbook to plugins collection.  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92782611:37
grauzikasi did that by following your example https://github.com/jrosser/openstack-ansible-ops/blob/designate-bind/designate-bind/groupvars/dnsaas-bind.yml11:45
opendevreviewMerged openstack/openstack-ansible master: Add Ubuntu Noble to the list of supported LXC operating systems  https://review.opendev.org/c/openstack/openstack-ansible/+/92790911:50
opendevreviewMerged openstack/openstack-ansible master: Test on Ubuntu Noble  https://review.opendev.org/c/openstack/openstack-ansible/+/92434211:50
noonedeadpunknice ^11:55
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Use hosts setup playbooks from openstack-ansible-plugins repo  https://review.opendev.org/c/openstack/openstack-ansible/+/92425911:57
opendevreviewMerged openstack/openstack-ansible-apt_package_pinning master: Add ability to control the state of apt pins.  https://review.opendev.org/c/openstack/openstack-ansible-apt_package_pinning/+/92790312:12
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: Ensure correct order for credential rotate/migrate  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/92567312:17
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_magnum master: Define lock directory for oslo_concurrency  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/92169012:21
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Bump SHAs and pinned versions  https://review.opendev.org/c/openstack/openstack-ansible/+/92784112:22
opendevreviewMerged openstack/openstack-ansible-os_octavia stable/2024.1: Define ovn provider agent when OVN is used  https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/92771812:43
jrossergrauzikas: it could be ok - the only thing will be you can't really add more things on the public network like that in future as nothing controls which IP is assigned to which service12:52
jrosserthat is why there was more complexity in the group_vars for my example as i wanted specific IP to be assigned in specific places in order to match up correctly with iptables rules etc etc12:53
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-rabbitmq_server master: Manage apt repositores and keys using deb822_repository module  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/90783312:56
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-rabbitmq_server master: Improve handling of rabbitmq_install_method changing  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/92790612:57
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-galera_server master: Manage apt repositores and keys using deb822_repository module  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/90775212:57
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-openstack_hosts master: Manage apt repositores and keys using deb822_repository module  https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/90743412:58
opendevreviewMerged openstack/openstack-ansible-os_magnum master: Add test for high availability k8s control plane on ubuntu noble  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/92470213:46
opendevreviewMerged openstack/openstack-ansible-os_magnum master: Add high availability k8s control plane test on Ubuntu Noble  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/92791113:46
opendevreviewMerged openstack/openstack-ansible-ops master: Revert "Ensure that python3-cryptography is present in k8s control plane hosts"  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/92140013:50
opendevreviewMerged openstack/openstack-ansible-ops master: Update magnum-cluster-api version  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/92634713:56
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Update magnum-cluster-api version  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/92861314:01
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Improve OVN cluster setup idempotence report  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/92861814:51
jrosserwell how did that happen :( https://review.opendev.org/c/openstack/openstack-ansible/+/92425914:55
noonedeadpunkyeah15:35
noonedeadpunkI already proposed https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/928591 earlier today15:36
noonedeadpunksorry, https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/928592/315:36
jrosseri was convinced i'd also done that :)15:43
jrosseroooooh but here https://review.opendev.org/c/openstack/openstack-ansible/+/92790915:43
jrosserright we got things a bit out of order there15:43
jrossershould have merged that before moving the playbooks15:44
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use hosts setup playbooks from openstack-ansible-plugins repo  https://review.opendev.org/c/openstack/openstack-ansible/+/92425917:14
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Bump SHAs and pinned versions  https://review.opendev.org/c/openstack/openstack-ansible/+/92784117:15
opendevreviewMerged openstack/openstack-ansible master: [doc] Add support for Ubuntu 24.04 to docs  https://review.opendev.org/c/openstack/openstack-ansible/+/92482917:43
opendevreviewMerged openstack/openstack-ansible-rabbitmq_server master: Include feature flags enablement only during upgrades  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/92812419:00
jrosserfeels like we should be close to being able to implement "this deployment has services on subdomains true/false" and "this deployment has services on subpaths true/false"19:13
jrosserwoukd be really great to be able to figure out how to make that a very simple opt-in without a ton of overrides19:14
opendevreviewMerged openstack/openstack-ansible-rabbitmq_server master: Add retries for feature flags check  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/92813320:23
opendevreviewMerged openstack/openstack-ansible-os_neutron master: Use cgroupsv2 for L3 cleanup  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/92798921:26
opendevreviewMerged openstack/openstack-ansible-os_keystone stable/2023.2: Do not install uWSGI as part of Keystone  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/92715522:47
opendevreviewMerged openstack/openstack-ansible stable/2024.1: Remove the get_md5 parameter from ansible stat tasks  https://review.opendev.org/c/openstack/openstack-ansible/+/92771923:29

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