Monday, 2022-10-31

*** ysandeep|PTO is now known as ysandeep05:17
*** prometheanfire is now known as Guest006:40
*** ysandeep is now known as ysandeep|lunch08:56
*** ysandeep|lunch is now known as ysandeep10:02
*** ysandeep is now known as ysandeep|afk10:20
*** ysandeep|afk is now known as ysandeep10:59
*** dviroel|out is now known as dviroel|rover11:20
anskiynoonedeadpunk: hello! I've been trying to update Nova to Zed release on focal and hit the `No module named 'bmemcached'` bug, which is supposed to be fixed by https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/860540 this thing, but it isn't merge yet :(11:32
noonedeadpunkanskiy: that's absolutely true.11:32
noonedeadpunkfeel free to vote on it as well if it solves the issue11:33
noonedeadpunkAs even +1 does matter much11:33
anskiynoonedeadpunk: done. Now according to this thing: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/855829/: it works fine, openvswitch-switch is masked on controller node and I can reach newly created VMs on compute node. Tested with OVN on metal.11:57
noonedeadpunkAwesome! Thanks for taking time and testing this out12:16
noonedeadpunkeventually, would be also great to merge https://review.opendev.org/c/openstack/openstack-ansible/+/862499/2 and backport to Y12:17
jamesdenton_noonedeadpunk thanks for the review12:24
*** jamesdenton_ is now known as jamesdenton12:24
jamesdentoni'm a bit uncertain how to handle an upgrade scenario for LXB. The default is specified here: https://github.com/openstack/openstack-ansible/blob/master/inventory/group_vars/all/neutron.yml#L1712:25
jamesdentoni don't think we can trust the inventory, since children/hosts are generated for all neutron agents despite their (lack of) deployment12:28
jrosserjamesdenton: does moving that var from group_vars to user_variables help?12:41
jrosserperhaps thats also aligned with needing the deployer to now more specifically choose the network driver12:41
jamesdentoni haven't confirmed directly, but i would think it would, since that's where the user would normally override to ml2.ovs or ml2.ovn. 12:43
jrosseror maybe things are orthoganal, you can create host groups for OVN but still have the backend set to LXB12:43
jamesdentonbut then it's on the deployer to explicitly set that, and i'm not sure we can easily set a default moving forward if the existing ml2.lxb don't set that12:44
jamesdentonyou might confirm, but in my environment, all groups (neutron_*_agent) and now neutron_ovn_* are populated12:45
noonedeadpunkregarding upgrade - we can run task against neutron_all and see if `neutron_plugin_type` defined. If it's not - create /etc/openstack_deploy/group_vars/neutron_all and place there neutron_plugin_type:ml2.lxb12:53
noonedeadpunkor some user_zed_upgrade12:53
jamesdentonbut how would you couple that with a new default? having a hard time with that logic12:55
noonedeadpunkI think group_vars under /etc/openstack_deploy have prescedence over ones in /opt/openstack-ansible12:56
noonedeadpunkbecause it depends on inventory order that's being loaded12:57
noonedeadpunkand inventory from openstack_deploy is loaded after dynamic_inventory12:57
jamesdentonok, so as of now the default is coming from /opt/openstack-ansible/inventory/group_vars/all/neutron.yml. If I delete or comment out "neutron_plugin_type: ml2.lxb" there, and the test for neutron_plugin_type fails, i'll know that environment is using ml2.lxb via default, and can create a file at /etc/openstack_deploy/group_vars/neutron_all.yml with ml2.lxb set. But as-is, this would impact greenfield (i would think)13:28
jamesdenton unless we force operators to specify a default13:28
noonedeadpunkbut we can change default here? https://opendev.org/openstack/openstack-ansible-os_neutron/src/branch/master/defaults/main.yml#L36313:51
noonedeadpunkI'm not just sure what to do with that though... https://opendev.org/openstack/openstack-ansible/src/branch/master/inventory/group_vars/horizon_all.yml#L1713:52
noonedeadpunkLikely we can check just for neutron_l3_agent length13:52
jamesdentonwell, first of all, i didn't know that default was there :D13:53
jamesdentonbut it's not considered with the following: ansible neutron_all -m debug -a "var={{neutron_plugin_type}}" - so maybe there's a better test13:54
jamesdentonmaybe it's different for others, but in the inventory neutron_l3_agent is populated whether or not it's used. same with neutron_linuxbridge_agent and neutron_openvswitch_agent groups13:55
noonedeadpunkMaybe we can create smth like that https://paste.openstack.org/show/bltwlhpqLiQeUejsiy5k/ in https://opendev.org/openstack/openstack-ansible/src/branch/master/scripts/upgrade-utilities ?13:57
noonedeadpunkah, no, not exactly13:58
noonedeadpunkcode is completely wrong there...13:59
jamesdenton:|14:00
noonedeadpunkbut we can play against neutron_all and delegate_to localhost and create hostvars for each neutron host....14:01
noonedeadpunkquite suboptimal, but still14:02
jamesdentonFYI: i am not convinced that the neutron_plugin_type in defaults/main.yml is effective, testing now14:03
noonedeadpunkif it's not defined anywhere else it must be14:04
jamesdentonwell, it is also defined in /opt/openstack-ansible/inventory/group_vars/all/neutron.yml. When i deleted that file yesterday, i had issues in the playbooks with "neutron_plugin_type not defined"14:05
jamesdentonbut verifying now14:05
opendevreviewMerged openstack/openstack-ansible-os_nova master: Improve way of cache backend selection  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/86054014:13
jamesdentonit was the haproxy playbooks that had issues, due to references: https://github.com/openstack/openstack-ansible/blob/master/inventory/group_vars/haproxy/haproxy.yml#L358-L35914:14
jamesdentonand others in that file14:15
jamesdentonso i guess we can't rely on the role default14:15
jrossereach role should have a set of defaults to define it's "external api"14:16
jrossereven if this is just for documenation-as-code14:16
jrosserwhere that key/value is needed across roles then it must be also in group/host vars or user_variables as "wiring" between roles14:17
jamesdentonright now it is a group var explicitly set in main openstack-ansible14:18
*** Guest0 is now known as prometheanfire14:18
jamesdentonbut user_variables override in many cases14:18
opendevreviewMarc Gariépy proposed openstack/openstack-ansible-os_neutron master: [WIP] add ovn ssl config  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/86240314:22
noonedeadpunkI think for haproxy usecase we can say haproxy_ssl: "{{ (neutron_plugin_type == 'ml2.calico' | default(False)) | ternary(False, haproxy_ssl_all_vips) }}" ?14:25
jrosser^ just delete calico support :)14:26
jamesdentonor that :D14:26
jrossersorry i've not got round to that yet14:26
jamesdentonbut noonedeadpunk i think that could work14:26
jrossertheres just stupidity there with the metadata service14:26
noonedeadpunkoh, yes, actually we can just drop calico support :D14:26
jamesdentoni think opendaylight is another in there14:27
jamesdentonwould be nice to know if anyone is using that14:27
jamesdentonand i suspect the NSX-T stuff is likely not used. Last I heard, vmware is only supporting it in VIO14:27
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rabbitmq_server stable/ussuri: Set erlang version to 23.3.4.12-1 ofr Ubuntu  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/86256414:38
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rabbitmq_server stable/ussuri: Set erlang version to 23.3.4.12-1 for Ubuntu  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/86256414:40
jamesdentondid we deprecate ml2.calico already?14:43
noonedeadpunkNope, we didn't14:44
noonedeadpunkI think we just agreed to14:44
jamesdentonfair enough. shall we consider others, too?14:44
jamesdentonnuage, opendaylight, etc.... maybe with a mailing list callout?14:45
noonedeadpunkodl plugin for neutron seems quite maintained14:46
noonedeadpunkBtw about deprecations - let's drop rsyslog :) https://review.opendev.org/c/openstack/openstack-ansible/+/86188614:47
jamesdentonis that the determination? that's fine14:47
noonedeadpunkNah, I don't know. We can do a ML callout indeed14:47
jamesdentonmay need to try and deploy it one day to see what breaks14:48
jamesdentonnot sure what state it's in14:48
cloudnullhappy halloween! 14:52
jamesdentona wild cloudnull appears!14:53
* cloudnull vanishes in a puff of smoke 14:53
cloudnullhow's it?14:54
noonedeadpunkhm, btw for calico we just need etcd3gw....14:54
noonedeadpunkSo might be worth fixing it finally :D14:54
jamesdentoni was just reading on some thread somewhere.. that maybe they're also recommending calico core plugin vs ml2?14:55
jamesdentonwould need to confirm14:55
jamesdentonthings be good, cloudnull. ready to get my candy on14:55
cloudnullhell yeah!14:56
cloudnullI'm ready to turn off the lights and hide inside :D 14:56
jamesdentonhttps://media.giphy.com/media/3oeSAF90T9N04MyefS/giphy.gif14:57
cloudnullhttps://i.imgur.com/xBbwN5o.gif14:57
jamesdenton:D14:58
cloudnull😆14:58
cloudnullanyone do work with the Nvidia grid driver?14:58
cloudnullRE: https://docs.openstack.org/nova/queens/admin/virtual-gpu.html 14:59
jrossercloudnull: yes we use that here14:59
cloudnullqueens pfft... /me is old14:59
cloudnullbetter link https://docs.openstack.org/nova/latest/admin/virtual-gpu.html14:59
cloudnulljrosser works well ?15:00
jamesdentonjust had a colleague set it up, with Yoga i think15:00
cloudnullif I'm groking things right, we have to use the grid driver both in the instance and on the server to make it go, right?15:01
jrosseryes15:01
cloudnull👍15:01
noonedeadpunkwe do as well15:01
cloudnullOK I did the 90 day eval for the license I'll give this a go 15:02
noonedeadpunkcloudnull: but drivers are different just in case. And all licensing only on instances15:02
cloudnullright its a license per node right?15:02
noonedeadpunknope15:02
noonedeadpunkIt's license per VM15:02
cloudnull++15:02
cloudnullI think we can make that work 15:03
noonedeadpunkAnd when they're talking about vCS per node - they mean bundle of 8 licenses IIRC15:03
jrosserwe make a volume that folk can mount that contains the grid driver and some scripts that wire in the URL of the licence server15:03
noonedeadpunkso technically you can cover more nodes with such license depending on how small vgpus you want15:03
jrosserbut that only works becasue it's users and licences all for a single org15:03
noonedeadpunkwe do build images with driver/license in it and it's nasty15:04
cloudnull++ 15:04
noonedeadpunkugh15:04
cloudnullit sounds like a nightmare :D 15:04
* cloudnull just getting up to speed on grid 15:04
noonedeadpunkyou're quite lucky to start now I would say....15:05
noonedeadpunkas missed all fun with licensing servers15:05
cloudnullI kinda wish I could run AMD GPUs with MxGPU - which is all exposed via SR-IOV. sadly the workloads I want to run all require Cuda. 15:06
noonedeadpunk+115:06
noonedeadpunksame here15:06
noonedeadpunkstupid devs :D15:06
noonedeadpunkWhen they will learn OpenCL15:07
cloudnullthey won't 15:07
noonedeadpunkI kind of had some hopes that Intel coming to the GPU market with OpenCL as well will somehow move weights from Cuda...15:08
noonedeadpunkBut they seem to far from being ready15:08
cloudnullnew ARC gpus have the AV1 encoder 15:08
cloudnullwhich is super neat 15:08
opendevreviewMerged openstack/openstack-ansible master: Switch Ceph for Ubuntu Jammy to distro  https://review.opendev.org/c/openstack/openstack-ansible/+/86249915:09
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/yoga: Switch Ceph for Ubuntu Jammy to distro  https://review.opendev.org/c/openstack/openstack-ansible/+/86299415:09
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: [doc] Better document integrated usage of ceph-ansible  https://review.opendev.org/c/openstack/openstack-ansible/+/86267615:22
opendevreviewMerged openstack/openstack-ansible-os_neutron master: Disable/stop/mask Open vSwitch on ovn-northd nodes  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/85582915:25
noonedeadpunktbh I still like https://review.opendev.org/c/openstack/openstack-ansible/+/862508 more but seems there're quite strong opinions against it.15:37
noonedeadpunkthanks for editing doc!15:38
*** dviroel|rover is now known as dviroel|rover|lunch15:38
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rsyslog_client master: Deprecate rsyslog_client role  https://review.opendev.org/c/openstack/openstack-ansible-rsyslog_client/+/86308515:56
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rsyslog_server master: Deprecate rsyslog_server role  https://review.opendev.org/c/openstack/openstack-ansible-rsyslog_server/+/86308615:59
*** dviroel|rover|lunch is now known as dviroel|rover16:46
noonedeadpunkok, I played with etcd for calico aiming to fix it, and I'm fed enough with that17:02
noonedeadpunkSeems like etcd3gw driver is jsut can't work with modern etcd17:03
opendevreviewMerged openstack/openstack-ansible master: Remove usage of rsyslog roles  https://review.opendev.org/c/openstack/openstack-ansible/+/86188617:13
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Add support for enabling ELK stack security  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/86287317:21
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Enable cluster ID monitoring setting for beats using logstash  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/86287417:21
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Set permissions on elastic data directories  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/86287517:21
opendevreviewMerged openstack/openstack-ansible-ops master: Fix role installation in tests  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/86291518:11
*** dviroel|rover is now known as dviroel|rover|brb21:11
*** dviroel|rover|brb is now known as dviroel|rover22:58
*** dviroel|rover is now known as dviroel|rover|dinner23:17

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