Monday, 2021-12-20

*** chandankumar is now known as chkumar|rover05:57
*** akahat is now known as akahat|ruck07:25
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use the python venv module to build the ansible runtime venv  https://review.opendev.org/c/openstack/openstack-ansible/+/82227307:53
opendevreviewJonathan Rosser proposed openstack/ansible-role-python_venv_build master: Use the native python module to create virtual environments  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/82227407:55
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: [WIP] Update ansible-core to 2.12.1  https://review.opendev.org/c/openstack/openstack-ansible/+/82206307:55
noonedeadpunkmornings08:26
noonedeadpunkwe would need to squash https://review.opendev.org/c/openstack/openstack-ansible/+/822273 and https://review.opendev.org/c/openstack/openstack-ansible/+/822260/ anyway I guess :(08:26
noonedeadpunkbut https://review.opendev.org/c/openstack/openstack-ansible/+/822063 looks very promising :)08:27
jrosser_i think i have the order of the patches wrong atm08:28
noonedeadpunkor that)08:29
jrosser_this is blocking cleaning out centos-8 https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82067908:31
andrewbonneyPossibly related to the lock dir changes, but not sure why we didn't see it before: [Errno 13] Permission denied: '/run/lock/zun/os-brick-connect_volume'08:36
noonedeadpunkyep, seems like related... but I bet I saw that and somehow were fixing...08:43
jrosser_i think python_venv_build needs a bit of an overhaul08:45
jrosser_interesting what we do for centos with two possible versions of python08:45
jrosser_though i think we have code elsewhere to determine the python version08:46
noonedeadpunkeventually e can use 3.8 just for deploy host08:46
noonedeadpunkNot sure if openstack would require 3.8 for Yoga...08:47
noonedeadpunkas 3.6 EOLing in several month I guess?08:47
noonedeadpunkah, even in 3 days :)08:47
noonedeadpunkso preferable would be to use 3.8 for venvs as well I believe08:48
jrosser_theres stuff here to work out the version https://github.com/openstack/ansible-role-python_venv_build/blob/master/tasks/python_venv_install_symlink.yml08:49
noonedeadpunkum, I guess it's more to place rbd libraries inside venvs08:57
noonedeadpunkbut yeah, for centos it will be an issue...08:57
jrosser_where is the right place to ensure we have python3-venv installed everywhere08:59
noonedeadpunkbut yeah, for centos it will be an issue...09:50
noonedeadpunkdamn it, posted wrong msg09:50
noonedeadpunkso, right now we do it here https://opendev.org/openstack/openstack-ansible-openstack_hosts/src/branch/master/vars/ubuntu-20.04.yml#L5309:50
noonedeadpunkI'm not sure if we need it outside of the python_venv_build though09:50
noonedeadpunkso I'd say we should add it to venv_build_base_distro_package_list09:51
noonedeadpunkwe also have calico broken for sure :( it used to work though when we were merging stuff09:59
noonedeadpunkjrosser_: should we try to merge this https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/822238 and do rc2 based on that?10:03
noonedeadpunkor jsut merge https://review.opendev.org/c/openstack/openstack-ansible/+/822259 asap?10:03
noonedeadpunk(we still need rc2 as backported some bugfixes)10:04
opendevreviewMerged openstack/openstack-ansible master: Bump cinder git hash to work around bug  https://review.opendev.org/c/openstack/openstack-ansible/+/82210810:09
jrosser_it comes down to this https://github.com/openstack/ansible-role-python_venv_build/blob/master/defaults/main.yml#L3910:14
jrosser_that the packages to install on the venv install host is an empty list, all of the package definitions in that role are for the build host, not the target10:15
admin1\o10:25
andrewbonneyjrosser_: I can't replicate the issue for https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/820679 in an AIO. All permissions look fine and tests pass10:46
*** sshnaidm|afk is now known as sshnaidm11:07
*** dviroel__ is now known as dviroel11:14
ygk_12345hi all12:37
ygk_12345i have a train version of OSA12:37
ygk_12345when I cheked the virsh defs of the vms on the hypervisors, i see its showing as custom cpu mode12:38
ygk_12345but I cant find any configuration option in the nova.conf file12:38
ygk_12345can someone explain how the cpu_mode is set to "custom" automatically and what models is it emulating ?12:39
noonedeadpunkif it's not set I believe it should be hypervisor model tbh12:44
noonedeadpunkbut virsh xml should anyway disclose model that it emulates12:45
ygk_12345noonedeadpunk: from the link https://docs.openstack.org/nova/latest/admin/cpu-models.html , custom should be set explicitly. then how my OSA is picking it up and the models it is emulating ?12:46
noonedeadpunkthere was tricky thing about it...12:48
ygk_12345noonedeadpunk: what is it ?12:48
noonedeadpunkso eventually, if you reference to https://docs.openstack.org/nova/train/configuration/config.html#libvirt.cpu_mode it will say that default is none.12:49
noonedeadpunkthen description of none says that `default CPU model from QEMU will be used` which I guess triggers that "custom" model in xml12:50
noonedeadpunkI guess some common effect was for host-model maybe... when in xml it was ending up as custom. 12:51
noonedeadpunkbut not sure here12:51
ygk_12345noonedeadpunk: why is it showing as custom , if its "none" in the xml def ?12:51
ygk_12345noonedeadpunk: hmm sounds interesting12:51
noonedeadpunkwait. it's none in nova.conf12:51
noonedeadpunknova.conf != xml def12:51
ygk_12345noonedeadpunk: they both set the cpu mode. isn't it ?12:52
noonedeadpunkIt doesn't mean they're necessarily interpreted 1 to 112:53
ygk_12345noonedeadpunk: and for cusotm mode, we have to specify the list of models from old to new12:53
ygk_12345noonedeadpunk: according to the doc12:53
noonedeadpunkoh, well, according to https://opendev.org/openstack/nova/src/branch/master/nova/virt/libvirt/driver.py#L5089 when cpu_mode is none it should be "host-model"12:57
ygk_12345noonedeadpunk: i got it now. so its defaulting to host-model. but its showing as "custom" in the xml13:00
ygk_12345noonedeadpunk: strange13:00
noonedeadpunkI think it comes to https://qemu-project.gitlab.io/qemu/system/qemu-cpu-models.html13:02
noonedeadpunkAs host model is kind of specific thing in libvirt and kind of "custom" thing anyway13:04
noonedeadpunk`Libvirt supports a third way to configure CPU models known as “Host model”. This uses the QEMU “Named model” feature, automatically picking a CPU model that is similar the host CPU, and then adding extra features to approximate the host model as closely as possible.`13:04
noonedeadpunkSo it's custom :)13:04
noonedeadpunkygk_12345: ^13:04
ygk_12345noonedeadpunk: oh I see it now. thanks bro for your timely help :)13:05
noonedeadpunknp)13:06
opendevreviewMerged openstack/openstack-ansible-os_neutron stable/xena: Make calico non voting  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/82223913:19
opendevreviewMerged openstack/openstack-ansible-os_neutron stable/xena: Add Support for DPDK Bonding  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/82223813:49
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/xena: Bump OpenStack-Ansible for Xena RC2 and release  https://review.opendev.org/c/openstack/openstack-ansible/+/82225913:56
jamesdentongood morning, all14:04
opendevreviewJames Denton proposed openstack/openstack-ansible-os_ironic master: Update Ironic Inspector for Metal Deployments  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/82150314:44
spatelmorning J14:49
noonedeadpunko//15:01
spateljamesdenton was little busy dealing with other stuff, i still need to test this - https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/82223815:42
spatelhow urgent this is? 15:42
spatellooking at code i am 100% its going to work because its pretty straight forward  15:43
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-os_zun master: Remove testing on Centos-8  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82067915:43
jamesdentonit should work? :D15:45
jamesdentontest at your convenience15:45
spatel+1 :)15:45
jamesdentonwhen we're confident that it works as expected, then it can be extended to non-dpdk OVS, too15:45
spateli have lab box but it has only 2 nic and for this test i need min 3 nic 15:45
spatelperfect! 15:46
jamesdentonyes. although, you *might* be able to get away with just listing a single bond member15:46
jamesdentonif you wanted to test the mechanics of it15:46
spatelhmm that is also a option15:46
spateli was thinking i can build compute no VMware vm which i can add multiple NIC and use uio driver to bind DPDK 15:47
spateljamesdenton question on sriov compute node we don't need neutron-linuxbridge-agent service correct?16:03
spatelI wonder because of both agent running on compute node it double RabbitMQ connections and load 16:07
spatelbecause of group_binds: its installing linuxbridge_agent on my SRIOV compute nodes also - https://paste.opendev.org/show/811774/16:41
spatelcan i set this variable for host specific instead of global ?16:42
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-openstack_hosts master: Update supported operating systems for Yoga release  https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/82234316:52
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: [WIP] Update ansible-core to 2.12.1  https://review.opendev.org/c/openstack/openstack-ansible/+/82206316:53
jrosser_something breaks oddly on the centos jobs for ^ that patch regarding creating the keystone db16:56
jrosser_which would be the first interaction we have with the database i guess16:56
noonedeadpunksmth related to delegate and missing libselinux ?17:17
spatelMy neutron-server stein chewing up memory like hell i believe it has memory leak 18:43
noonedeadpunkspatel: it really does hehe19:01
noonedeadpunkthey published even security patch for that iirc19:01
spatelrelated memory leak?19:02
spateli am trying to search but didn't find anything 19:02
noonedeadpunkhttps://security.openstack.org/ossa/OSSA-2021-006.html19:02
spateloh19:02
noonedeadpunknot sure if that's what you see, but well...19:03
spatelThis looks interesting - https://launchpadlibrarian.net/556474193/0001-Don-t-use-singleton-in-routes.middleware.RoutesMiddl.patch19:05
spatelis there a way to find out its really the case for me? 19:06
spatelI have Queens deployment and i never ever had any single issue on queens, memory utilization is pretty low for all openstack components19:08
spatelStein is full of crap.. i am seeing very high memory utilization for neutron and because of that its impacting other components like rabbitMQ etc.. 19:09
spatelcurrently all i can do is restart neutron-server everyday 19:09
spatelIf this bug is real then it should impact queens deployment also 19:11
noonedeadpunkyeah, that's true. but eventually it depends on the "user" actions, as it's not appers on its own...19:12
noonedeadpunkbut it could be unrelated as well, that's true19:13
spatelcan i hand edit this patch and watch few days?19:13
noonedeadpunkeventually neutron have some issues I think anyway, as otherwise uwsgi would work just nicely19:13
noonedeadpunkyes, you can, but eventually there were more security issues found in neutron in 202119:13
noonedeadpunkie https://security.openstack.org/ossa/OSSA-2021-001.html or https://security.openstack.org/ossa/OSSA-2021-005.html19:14
noonedeadpunkso tbh I'd just updated neutron to latest stein SHA19:15
spatelin that case do i need to update db?19:16
noonedeadpunkum, no? But role would trigger that anyway I guess19:16
noonedeadpunkit shouldn't change anything though19:16
spatelhmm! let me first do this - https://review.opendev.org/c/openstack/neutron/+/807335/2/neutron/api/extensions.py#20419:17
spatelhand edit this file and restart neutron and watch for memory utilization.. 19:18
spatelif this patch fix my memory leak then i don't need to poke beast :)19:18
spatelI am doing this on only single neutron-server so i can compare with other neutron-servers19:22
spatelif memory continue creep up then i will revert that change19:22
jrosser_looks like just centos to fix now with ansible 2.12 patch, the debian-alikes are passing19:25
spatelnoonedeadpunk after that patch i can see lower utilization on patched node compare to other still its too early to say. i should wait for 24 hours19:43
*** dviroel is now known as dviroel|afk20:06
jamesdentonspatel you don't need linuxbridge agent on the compute w/ sr-iov if that's all its doing22:03
jamesdentonand yes, it's the group bindings causing that. you can create new groups and use this: https://docs.openstack.org/openstack-ansible/latest/user/prod/provnet_groups.html22:04
opendevreviewJames Denton proposed openstack/openstack-ansible-os_ironic master: Update Ironic Inspector for Metal Deployments  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/82150322:12
spateljamesdenton thank!! i will look into it.. 22:14
spatelafter removing lxb from sriov nodes it reduce rabbit connection count 50% 22:14
jamesdentonoh nice - how many did you have?22:14
spateli have 200 compute nodes22:18
spateleach one was creating 10 TCP connection 22:18
spateltotal connection was 4000k around but after removing lxb from sriov now its showing 200022:19
spatelsorry 4k i meant 22:19
spatelLook like time to deploy ironic :) 22:38
opendevreviewJames Denton proposed openstack/openstack-ansible-os_ironic master: Update Ironic Documentation  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/82220322:41
jamesdentonyes, please :)22:41
jamesdentoni've got it all working pretty well, but the key to a nice setup is using an ML2 plugin (like networking-generic-switch), and i don't know how popular that idea is22:45

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