Tuesday, 2024-02-20

opendevreviewTakashi Kajinami proposed openstack/ansible-role-uwsgi master: Drop openstack-ansible-linters-ubuntu-bionic  https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/90948601:10
noonedeadpunkgood morning08:35
noonedeadpunkI was looking at neutron yesterday for adding ovn-bgp plugin, and realized that we have to run some services as root because we connect to ovs socket which has quite restricted ownership. But instead, we can connect on port....08:36
noonedeadpunkie https://opendev.org/openstack/openstack-ansible-os_neutron/src/branch/master/templates/neutron_ovn_metadata_agent.ini.j2#L1708:37
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible-os_neutron/src/branch/master/vars/main.yml#L515-L51608:37
noonedeadpunkSo I'm really thinking about replacing that with `tcp:127.0.0.1:6640` as a default08:41
jrosser{{ management_address }} ?08:42
noonedeadpunkIt's kinda even more logical, as ovs shows manager to be exactly that08:42
jrosserah right it only needs to be a socket listening on localhost?08:42
noonedeadpunknah, it listens exactly on 127.0.0.108:42
noonedeadpunkhttps://paste.openstack.org/show/bxYqLYJ91a1HIZCE7VUY/08:42
jrosserright08:42
noonedeadpunkmaybe we can configure OVS to listen on management_address indeed though... But I assume it never expects remote connection08:43
jrosserif we don't need it, then it should listen as minimally as possible08:45
noonedeadpunkSo far it's needed only for OVN I assume, like metadata, vpnaas, bgp agent under ovn which would run locally 08:46
noonedeadpunkso yeah08:46
noonedeadpunkas /var/run/openvswitch/db.sock having 750 and owned by root:root08:47
noonedeadpunkjamesdenton: do you know any good reason why we should connect to ovs manager via socket rather then port?08:48
opendevreviewMerged openstack/ansible-role-uwsgi master: Drop openstack-ansible-linters-ubuntu-bionic  https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/90948610:11
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Run neutron OVN agents as neutron user  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/90952512:34
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Add VPNaaS OVN support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/90834112:35
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Add VPNaaS OVN support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/90834112:36
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Add VPNaaS OVN support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/90834112:37
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Add variable to control distributed FIP choice  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/90947012:37
maximhey fellas, i was reading the OSA Caracal vPTG summary - Oct'23. Its been mentioned Incus could be a manager for osa lxc. Is there any work or updates regarding its implementation ?13:55
ThiagoCMCThat sounds cool! Today I'm already using Ubuntu/LXD for OSA+Ceph. The thing is that OSA/Ceph aren't "aware" that I'm using LXD behind the scenes (I pretend LXD are "regular machines" and point the Inventory to them, works great). I'm planning to build a setup based on Debian/Incus soon as it becomes available.14:28
noonedeadpunkmaxim: no, not really. there's quite old DNM patch for LXD that jrosser made a while ago, but no recent work was done in fact14:29
jrossermaxim: if you are able to work on LXC support it would be interesting to see 14:32
jrossersimilarly ThiagoCMC this stuff does not just happen without contribtions :)14:33
jrosserat the moment i do not have time to work on this myself, but anyone else is welcome to make patches14:33
ThiagoCMCjrosser, sure, I want to contribute. But I'm more of a "beta tester" or "QA guy"... I'm not a software developer (but I do know a bit of Bash, Python and Ansible).14:38
ThiagoCMCI'm playing around with Ceph Ansible. I'll see if we can still use it with Ubuntu 24.04.14:38
mgariepyThiagoCMC, i'm also a sysadmin also :) doesn't prevent you of doing patches, etc. you only need to learn to use git with gerrit mostly.14:59
noonedeadpunk#startmeeting openstack_ansible_meeting15:02
opendevmeetMeeting started Tue Feb 20 15:02:00 2024 UTC and is due to finish in 60 minutes.  The chair is noonedeadpunk. Information about MeetBot at http://wiki.debian.org/MeetBot.15:02
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:02
opendevmeetThe meeting name has been set to 'openstack_ansible_meeting'15:02
noonedeadpunk#topic roll call15:02
mgariepyhey15:02
noonedeadpunko/ hey everyone15:02
NeilHanlono/ 15:04
NeilHanlonrunning a bit late will be at my computer in 1015:04
noonedeadpunk#topic office hours15:11
noonedeadpunkFrankly speaking - I don't have much15:11
NeilHanlon(made it)15:11
noonedeadpunkWe had really teriffic bug fighting day15:11
noonedeadpunksuper nice to see bugs fitting just 2 pages :)15:11
NeilHanlon:D super sorry i wasn't able to participate.. that was.. a day15:12
noonedeadpunkhopefully soonish will be able to iterate over ones on the etherpad15:12
NeilHanlongreat job everyone15:12
noonedeadpunkother then that - I failed to add us access to unmaintained branches. And Brians ML really confused me a lot15:12
* noonedeadpunk looking through the review board15:14
noonedeadpunksome backports are still pending to merge: https://review.opendev.org/q/parentproject:openstack/openstack-ansible+branch:%5Estable/.*+status:open+15:14
noonedeadpunkor pending for recheck...15:15
NeilHanloni will poke at those in a bit15:17
noonedeadpunkI guess once most important land - it should be time for another point releases and first minor release for 2023.215:20
noonedeadpunkit was never _that_ late frankly speaking...15:20
noonedeadpunkThe only known issue for upgrade might be missing rabbitmq flags actually15:21
noonedeadpunkBut they should be covered in OS upgrade right now at least...15:21
noonedeadpunkWe also had quite good progress on landing capi stuff15:21
opendevreviewMerged openstack/openstack-ansible stable/2023.1: [doc] Remove guidance to drain RMQ which can result in failures  https://review.opendev.org/c/openstack/openstack-ansible/+/90880115:27
noonedeadpunkbut it feels that other goals for the release might not be met :(15:28
noonedeadpunkie - proxysql, incus, pki + vault integration15:29
noonedeadpunkmainly because of me having hard times lately with ENOTIME15:29
jrossero/ sorry in too many meetings, here now15:29
noonedeadpunkThough, we can potentially add some things for OVN15:32
noonedeadpunklike vpnaas support15:32
jrossermagnum stuff too15:32
noonedeadpunkAh, Octavia OVN support was in our list as well, and I think this patch is not fair enough to go15:33
noonedeadpunkhttps://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/86846215:33
jrosserfeels like endless yak shaving right now with that :/15:33
noonedeadpunkugh, magnum actually fails with openstack_resources role on upgrade15:33
noonedeadpunkI was never able to really reproduce the thing :(15:34
noonedeadpunkit's not that I was able to spend enough time though :( but it was tricky to do so15:34
noonedeadpunkmaybe now when openstack_resources landed, it will be easier to do...15:35
jrosserthere is also still the patch for OVN + octavia, regardless of the ovn provider15:36
jrosserthats totally broken right now in AIO15:36
noonedeadpunkoh, btw. all fixes for quorum landed to oslo.messaging: https://review.opendev.org/q/topic:%22bug-2031497%2215:36
noonedeadpunkyes, true.15:37
noonedeadpunkbut it kinda works out of AIO15:37
jrosserthat is pretty much OK except that the patch needs to also work for !debians15:37
jrosseri think it's ovs installation during bootstrap_host now working on centos/rocky15:37
jrosser*not working15:37
noonedeadpunkso... neutron was not failing on that 15:38
noonedeadpunklike this passed today: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/908341?tab=change-view-tab-header-zuul-results-summary15:38
jrosserthis https://review.opendev.org/c/openstack/openstack-ansible/+/89481115:39
noonedeadpunkno idea what it testing though15:39
jrosserthe lbaas network is just not a thing currently in AIO15:39
jrosserlike totally broken15:39
noonedeadpunkI guess we'd need a SIG for openvswitch?15:40
noonedeadpunkIt's not present in default repos15:40
noonedeadpunkBut also... It's weird we need to create ovs bridges in advance for octavia15:41
jrosserwe need to plumb the container bridges into the provider network15:41
noonedeadpunkShouldn't defining neutron_provider_networks do the trick?15:41
jrosserwell i'm not sure, this is why i asked jamesdenton and the result was that patch15:41
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible-os_neutron/src/branch/master/tasks/providers/ovs_config.yml#L1615:41
noonedeadpunkI think this runs both for OVS and OVN... But like not 100% sure. >90 though15:42
noonedeadpunkok, for OVN it's here: https://opendev.org/openstack/openstack-ansible-os_neutron/src/branch/master/tasks/providers/setup_ovs_ovn.yml#L64-L8615:43
noonedeadpunkbut kinda same thing?15:43
jrosserwell also octavia role runs after neutron15:43
noonedeadpunkyeah15:43
jrosserso also i wonder if there is chicken/egg trouble15:43
jrosseras there is network stuff defined in the octavia role15:43
noonedeadpunkbut if it's after - it should be fine...15:43
noonedeadpunkand yes, octavia does create a neutron networks15:44
opendevreviewMerged openstack/openstack-ansible stable/zed: [doc] Remove guidance to drain RMQ which can result in failures  https://review.opendev.org/c/openstack/openstack-ansible/+/90880215:44
noonedeadpunkso I think defining decent neutron_provider_networks should be jsut fine15:44
jrosseranyway this is pretty big deal, i think it means we're not really testing octavia properly right now15:44
noonedeadpunkI can try to look into that actually and compary with what I have in our full-scale OVN sandbox15:45
jrosserthat would be very helpful, i don't have anything like that as reference15:46
noonedeadpunkok, good15:56
noonedeadpunkas frankly for sandbox it worked really out of the box once I've defined proper mappings.15:57
noonedeadpunkjust matter of doing that through provider_networks in openstack_user_config... But I guess at worst we can just define neutron_provider_networks in user_vars_octavia or smth15:57
admin1the octavia  patch just worked out of the box .. and everyone copied it over as a procedure, so until now  no one tested it like you guys :) 15:58
admin1i meant since br-vxlan br-vlan etc  were necessary to be defined, even though br-lbaas was just a tag/patch on br-vlan, it took itself as a procedure 15:59
noonedeadpunkadmin1: well. I made quite some clean-up of it, as there were never used variables added15:59
admin1and its not a biggie also that people complained15:59
noonedeadpunkbut yeah16:00
admin1out of dozens of steps to prepare the server and netplan, it became 1 more block of code16:00
admin1its like don't fix unless broken type of procedure :) 16:00
admin1though an automated one will be nice as well .. no more /etc/rc.local stuff 16:01
noonedeadpunk#endmeeting16:01
opendevmeetMeeting ended Tue Feb 20 16:01:33 2024 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:01
opendevmeetMinutes:        https://meetings.opendev.org/meetings/openstack_ansible_meeting/2024/openstack_ansible_meeting.2024-02-20-15.02.html16:01
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/openstack_ansible_meeting/2024/openstack_ansible_meeting.2024-02-20-15.02.txt16:01
opendevmeetLog:            https://meetings.opendev.org/meetings/openstack_ansible_meeting/2024/openstack_ansible_meeting.2024-02-20-15.02.log.html16:01
maximsorry for the delay. noonedeadpunk: thanks for the info. 16:14
maximjrosser: i can definitely look into LXC support but i am but a beginner at OS and OSA. Been using lxd and now incus for some time. I have an eye on pylxd and to port to incus compatible api. Maybe that will teach me something about what can be done for lxc support here. Let me take baby steps16:15
jrossersure - i also use LXD to deploy supporting things around my openstack setup16:16
maximjrosser: where would be a good place for me to start regarding incus support ? noonedeapunk mentioned about DNM patch, can you then point me to it ?16:38
jrossermaxim: i have this https://review.opendev.org/c/openstack/openstack-ansible/+/73859916:39
jrosserand this https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/73865716:39
jrosserboth most certainly out of date now16:40
jrosserlxd/incus offer much functionality over LXC, so there is opportunity for a large refactoring of how things like bind mounts and networking are setup16:41
jrosserperhaps moving a large number of our existing ansible tasks to native functionality16:41
jrossersuch as the use of cloud-init for first-boot configuration of containers, and so on16:42
jrosserthere is this also but it uses snap which is basically not acceptable https://github.com/jrosser/openstack-ansible-lxd_hosts/tree/master16:43
jrosserand this https://github.com/jrosser/openstack-ansible-lxd_container_create/blob/master/tasks/main.yml16:44
jrosserbut it is 4 years since i looked at this so really cannot remember much of it16:44
maximthanks. good to have these links and sure its old but a good starting point.16:47
maximas far as i see, lxd and incus are bound to diverge moving forward  due to varying licenses. This means its either or and both. I would personally prefer taking the direction of incus implementation as lxd will eventually find its way in OS throgh charms and juju. Does OSA have any preferences ?16:51
maxim*either or and not both16:52
jrosserwell snap installation is not OK16:53
jrosserso that has some impact on use of LXD16:53
opendevreviewMerged openstack/ansible-role-systemd_networkd stable/2023.1: Use OriginalName instead of Name in systemd.link  https://review.opendev.org/c/openstack/ansible-role-systemd_networkd/+/90881416:56
noonedeadpunkmaxim: basically, snap was always a blocker for us to have a go with LXD17:03
noonedeadpunkmaxim: there's some WIP patches made looong ago: https://review.opendev.org/c/openstack/openstack-ansible/+/738599 and https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/73865717:04
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Allow general purpose resources to be created during setup-openstack  https://review.opendev.org/c/openstack/openstack-ansible/+/90941117:23
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Always use physnet1 as external network name in AIO and examples  https://review.opendev.org/c/openstack/openstack-ansible/+/90876617:26
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Allow general purpose resources to be created during setup-openstack  https://review.opendev.org/c/openstack/openstack-ansible/+/90941117:26
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_nova stable/2023.1: Evaluate my_ip address once  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/90869917:46
jrosserhmm looks like there is an OSA related question on the ML which i'm not sure about18:30
jrosserhttps://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/34QCMTBXTQERWX2QQMEMHXPEKIAQZRUF/18:30
noonedeadpunkyep, saw it18:47
noonedeadpunkI'm also not sure in fact.18:47
noonedeadpunkexcept obvious issue with proto ofc18:48
noonedeadpunkbut again - shouldn't cause connection refused...18:48
noonedeadpunkand I would get if it's mariadb....18:49

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