Thursday, 2024-10-24

opendevreviewTakashi Kajinami proposed openstack/placement master: Skip functional tests on pre-commit-config.yaml update  https://review.opendev.org/c/openstack/placement/+/93319101:24
opendevreviewTakashi Kajinami proposed openstack/placement master: Skip functional tests on pre-commit config update  https://review.opendev.org/c/openstack/placement/+/93319101:24
opendevreviewTakashi Kajinami proposed openstack/nova master: Skip functional tests on pre-commit config update  https://review.opendev.org/c/openstack/nova/+/93319201:28
opendevreviewTakashi Kajinami proposed openstack/placement master: Skip functional tests on pre-commit config update  https://review.opendev.org/c/openstack/placement/+/93319101:41
opendevreviewTakashi Kajinami proposed openstack/placement master: Skip functional tests on pre-commit config update  https://review.opendev.org/c/openstack/placement/+/93319101:41
opendevreviewTakashi Kajinami proposed openstack/nova master: Skip functional tests on pre-commit config update  https://review.opendev.org/c/openstack/nova/+/93319201:46
sean-k-mooneyatmark: we dont actully supprot changign the image_type on an exsiting comptue node and there is no officall supprot form moving a vm form one storage backend to annother02:51
sean-k-mooneyit can be doen in some cases via shelve and unshleve.02:51
songwenpingsean-k-mooney, hi, the bug 2059809 doesnot effect V and previsous versions?03:08
sean-k-mooneyhttps://bugs.launchpad.net/nova/+bug/205980903:11
sean-k-mooneyit would if you had a new enough qemu03:11
sean-k-mooneythe underlying vulnerbality was in qemu, openstakc in genrela did not have any protection to prevetn unsafe images being passed to qemu-img03:12
sean-k-mooneyif you have a qemu that is unpatched and supprots external datafiles 03:12
sean-k-mooneyadn you use that with a nova/glance/cinder that is unpatched then your cloud is vulnerable03:13
sean-k-mooneyV and previous versoin are end of life or unmainteded03:13
sean-k-mooneyso the core team does not backport CVE fixes to them regardless of how severe they are03:14
songwenpingi find the bug cherry-picked to W, W is also in unmaintained.03:15
sean-k-mooneyyep, there is a seprate unmained branch team03:16
sean-k-mooneyalthough im not sure that was cherry picked usptram to wallaby03:18
sean-k-mooneyit was done downstream in some distors to older branches03:18
songwenpingwhere i can find the version correspondence of nova and qemu?03:19
sean-k-mooneyhttps://docs.openstack.org/nova/latest/reference/libvirt-distro-support-matrix.html#min-libvirt-qemu-version-and-next-min-libvirt-qemu-version-table03:20
sean-k-mooneyV requried qemu 4.0.0 and libvirt 5.0.003:20
songwenpingour product use qemu 4.2.0 and libvirt 6.6.0 , but cannot reproduce this bug.03:24
sean-k-mooneyit was added in qemu 4.0.0 https://github.com/qemu/qemu/commit/65a3d073e9766ed878474525118dbf0c7233caab03:25
opendevreviewBalazs Gibizer proposed openstack/nova master: [libvirt]Support hw_vif_model = igb  https://review.opendev.org/c/openstack/nova/+/92858411:14
opendevreviewBalazs Gibizer proposed openstack/nova master: [doc]Developer doc about PCI and SRIOV testing  https://review.opendev.org/c/openstack/nova/+/92883411:14
opendevreviewBalazs Gibizer proposed openstack/nova master: Refactor obj_make_compatible to reduce complexity  https://review.opendev.org/c/openstack/nova/+/92859011:15
opendevreviewBalazs Gibizer proposed openstack/nova master: [ovo]Add igb value to hw_vif_model image property  https://review.opendev.org/c/openstack/nova/+/92845611:15
opendevreviewBalazs Gibizer proposed openstack/nova master: [libvirt]Support hw_vif_model = igb  https://review.opendev.org/c/openstack/nova/+/92858411:15
opendevreviewBalazs Gibizer proposed openstack/nova master: [doc]Developer doc about PCI and SRIOV testing  https://review.opendev.org/c/openstack/nova/+/92883411:15
gibitkajinam: I respined the igb series based on you comments ^^11:18
sean-k-mooneyi didnt get to it last week but i can try kiciking it off in the background today11:21
gibisean-k-mooney: thanks11:26
tkajinamgibi, thanks !12:30
bauzasnova sessions are starting now13:02
bauzassean-k-mooney: gibi: joining ?13:02
sean-k-mooneysure but i have to be late or it would not be me :)13:03
dansmithbauzas: it looks like the move of the imagebackend topic might have landed on top of the equivalent glance topic13:36
dansmithin 30m I need to do that in glance13:36
dansmithand I don't want to miss eventlet either of course ;)13:36
bauzashah13:37
bauzastoday was around both topics :)13:37
dansmithalso image encryption is after image formats, which melwitt and I should both be in, until 153013:37
dansmithglance is very specific about its scheduling, which is nice, since other people are coming to these topics,13:37
bauzasimage encryption topic on glance sessions ?13:37
dansmithwith nova not strict it's hard to know, but I assume we'll go over both13:38
dansmithyes, for glance-cinder-and-nova encryption stuffm13:38
dansmithand since we asked them to redefine their stuff for us, and the image format stuff will impact, we should be there13:38
bauzasso, to understand correctly, you and mel wouldn't be able to be in the nova sessions before 1530UTC, right ?13:39
dansmithyeah13:39
bauzasgiven we have cinder-nova x-p session at 1600UTC, that basically means you both are off nova that day13:39
dansmithoh, I didn't see a time for the cinder one13:40
dansmithugh13:40
bauzasno worries, I understand but then I need to find proper time for discussing the image backedn thinb13:40
bauzasI'll try to see if I can advance the cinder x-p session13:42
dansmiththat would be good13:42
opendevreviewMina Shahsavan pour proposed openstack/nova master: nova-api: Prevent os-resetState API action on instances in disallowed VM states.  https://review.opendev.org/c/openstack/nova/+/93331113:43
bauzasdansmith: the cinder-nova x-p session will be moved to 1400-1430-ish 13:48
dansmith\o/13:48
dansmithas long as we have rosmaita in my session at 1400 since we need him :)13:48
bauzasI propose to keep the eventlet discussion to be discussed at 1530 (should be quick)13:48
bauzasthis is just a wrap-up confirming what we need to do 13:49
bauzasand then imagebackend discussion for ending the day13:49
bauzaszigo: we may discuss your py3.13 topic today at the PTG, interested in joining ?14:21
bauzaseek, got a network issue apparently14:52
johnthetubaguy@bauzas: I had the same, but it recovered just now.15:00
bauzasdditto15:02
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Use native DictOpt for disk_cachemode  https://review.opendev.org/c/openstack/nova/+/91539015:08
ralonsohsean-k-mooney, what time is tomorrow the Nova eventlet discussion?15:10
ralonsoh(because is tomorrow, right?)15:10
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Validate valid cache mode at config input layer  https://review.opendev.org/c/openstack/nova/+/93332715:11
bauzasralonsoh: this is now15:32
ralonsohbauzas, I'm in, thanks15:32
bauzasdansmith: melwitt: fyi, we're starting the eventlet discussion now15:32
dansmithwe will be done soon I think15:33
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Use native DictOpt for disk_cachemode  https://review.opendev.org/c/openstack/nova/+/91539015:51
opendevreviewTakashi Kajinami proposed openstack/nova master: libvirt: Validate valid cache mode at config input layer  https://review.opendev.org/c/openstack/nova/+/93332715:51
bauzasgouthamr: we should be discussing the manila virtiofs topic tomorrow around ~2pm UTC, wfy ?16:57
bauzasif this is just a question about where we are, we can even reply async 16:57
bauzastl;dr: it requires reviews from myself16:58
opendevreviewMerged openstack/nova master: libvirt: Deprecate volume driver for unsupported volume backends  https://review.opendev.org/c/openstack/nova/+/93224717:13
tkajinamI posted this in oslo channel accidentally but I have another oslo.utils patch to be used by nova so I'll create a release once it's merged https://review.opendev.org/c/openstack/oslo.utils/+/93233517:38
tkajinamAs we discussed a lot about eventlet removal does anyone care to give quick review to https://review.opendev.org/c/openstack/nova/+/930726 which removes workaround to ancient eventlet versions ?17:44
opendevreviewMengyang Zhang proposed openstack/nova-specs master: Add Burst Length Support to Cinder QoS  https://review.opendev.org/c/openstack/nova-specs/+/93265317:45
dansmithtkajinam: sean-k-mooney should probably look at that17:58
sean-k-mooneyi dont recall if that is one of the things i was trying to clean up.18:07
sean-k-mooneyglancing at it if the bug in eventlet is already fixed then it soudn like an easy win18:07
sean-k-mooneyill add myslef as a reviewer18:08
fricklerfyi, mentioned this in the oslo channel earlier: bumping to latest eventlet seems to break a couple of projects, including nova https://review.opendev.org/c/openstack/requirements/+/93325718:11
fricklerhberaud mentioned a change that makes read/write calls actually non-blocking, which might trigger stuff18:12
fricklerhttps://github.com/eventlet/eventlet/issues/97318:13
sean-k-mooneyos.read is ment to block but yeild execution fo the current greenthread18:13
JayFthat's going to be sneaky breaking for Ironic/IPA as well, I'll note18:14
JayFlikely would cause issues with image streaming error handling (timeouts/disk failures)18:14
JayFstuff I wouldn't 100% expect to show up in happy path testing; but def. not unit tests18:15
JayFoh, thought this was -requirements, either way, info is good :D18:15
sean-k-mooneyi have nto actully looked at the change in detail but reads and write need to be blocking and yeild18:15
fricklerI completely do not rule out the possibility that this is actually a bug in eventlet18:17
dansmithum, is this a regression in eventlet? I was thinking it only monkeypatched the network IO bits18:17
sean-k-mooneyit monkeypatches file io too18:17
dansmithlike, is this change actually not part of the original intent of eventlet?18:17
sean-k-mooneyeventlet shoudl not make any standard lib fucntion that is normally blocking non blocking form the point of view of the caller fo the function18:18
fricklerbest discuss in the oslo channel then where herve is actually around18:18
dansmithright, and I think the change doesn't actually change the behavior, it just adds trampoline calls in between non-blocking reads18:19
sean-k-mooneyit may be doing somethign valid yes18:19
sean-k-mooneyfrickler: do you have a like to the nova failure?18:19
sean-k-mooneyoh i see them18:20
fricklersean-k-mooney: in the reqs patch I linked, both py311 and functional failing18:20
dansmithsean-k-mooney: I don't see that it patches os.open, read, write: https://eventlet.readthedocs.io/en/latest/patching.html18:21
sean-k-mooneyhttps://github.com/openstack/nova/blob/master/nova/monkey_patch.py#L44-L5218:22
JayFhttps://github.com/eventlet/eventlet/blob/master/eventlet/green/os.py#L2218:22
dansmithokay I guess I'm not sure that necessarily means it patches open()18:23
sean-k-mooneyos is one of the one it default patches18:23
JayFit patches fdopen(), read(), write() and others outta tha library https://github.com/eventlet/eventlet/blob/master/eventlet/patcher.py#L53318:23
dansmithI say that because mocking open is different than other things and I thought it has (for quite a while) been a C function18:23
JayFYeah, eventlet overrides more than one C function and replaces it with a python-native version18:24
sean-k-mooneyby the way the unit and functional test patches dont obviously look like eventlet falirues18:24
JayFthat's how the major 3.12 blocker was resolved18:24
dansmithI know it does, I just didn't think open() itself18:24
sean-k-mooneyhttps://github.com/eventlet/eventlet/blob/master/eventlet/green/builtin.py18:25
JayFdocstring says: Wrap os.open; This behaves identically, but collaborates with the hub's notify_opened protocol. ... which implies we're both right-ish?18:25
JayFpatched but no significant behavior change18:26
sean-k-mooneyya it looks more or less the same18:26
sean-k-mooneyits just setting up a notifyier on the file descriptor18:26
sean-k-mooneyto know when the file is ready i guess18:26
JayFsean-k-mooney: my knowledge of eventlet mostly stops at the patcher module :D hehe18:27
dansmithidk, ages ago (like icehouse timeframe) when we were transitioning from the mysql C client to the python-native one, I thought that we encountered a situation where local file i/o was not patched and that surprised me, and some of the elders explained that it wasn't in scope18:27
sean-k-mooneyi mean we can disabel patchign of this18:28
dansmithbut that was a long time ago and we've shuffled our own monkey patching a lot since then, so maybe we weren't patching os at the time, or maybe I'm just misremembering18:28
sean-k-mooneywe coudl set os=false adn builtins=false18:28
sean-k-mooneywe disabel os on windows for posix reasons18:29
sean-k-mooneyso i can push a patch and see what that does but i need to look at the tempest job18:29
sean-k-mooneythe unit/fucniton test failrues dont really tell us a lot about what the actual effect of the chagne is18:29
sean-k-mooneyok devstack only deploy nova-api neutron failed to start so we didnt finish stacking18:30
sean-k-mooneynova api seams to be up18:31
sean-k-mooneyneutron.plugins.ml2.ovo_rpc RuntimeError: cannot notify on un-acquired lock18:31
sean-k-mooneythat is the neutron server error18:32
sean-k-mooneyoh thats coming form oslo messaging18:32
sean-k-mooneyhttps://5ce7fa2fbddee5b97128-6f49bdea8e90fe6675f1ae011c4f0f22.ssl.cf5.rackcdn.com/933257/1/check/tempest-full-py3/018987a/controller/logs/screen-q-svc.txt18:32
sean-k-mooneyfrickler: i think its better to phase this as the new eventlet release is breaking oslo adn that is breakign everything else18:36
sean-k-mooneythe nova unit/funtional test failure might eb related or flaky tests so i woudl try at least one recheck to confirm that18:36
sean-k-mooneyfrickler: the fact the devstack functional job worked is also odd18:39
dansmithJayF: sean-k-mooney: https://github.com/openstack/nova/blob/icehouse-eol/nova/cmd/__init__.py18:40
dansmithos=False18:40
sean-k-mooney rigth so we still do that for winwos18:40
sean-k-mooney*windows18:40
dansmithbut that was for every binary on every platform, AFAIK18:40
JayFI think that was required to be added some point around t? u? v? era-ish for greendns to behave properly? My memory is very lossy but I remember having to back os=False outta IPA at some point18:41
dansmith...at the time18:41
sean-k-mooneyit was yes18:41
sean-k-mooneyim trying to see when we changed it18:41
sean-k-mooneywe sould be able to go back but i am not sure its breaking nova18:41
dansmithit was that way through rocky at least18:42
dansmithI lose the thread when the refactor to monkey_patch.py happened18:42
dansmithanyway,18:42
dansmithI'm not saying we should, I'm defending why I thought the os.open thing wouldn't affect us :)18:43
dansmithand proving that I'm old18:43
sean-k-mooneydansmith: the sdk devstack tests passed https://5355e5989bc73779bf10-cc682349d9014dd293929a9a1be5247d.ssl.cf5.rackcdn.com/933257/1/check/openstacksdk-functional-devstack/fad2996/testr_results.html18:43
sean-k-mooneydansmith: https://github.com/openstack/nova/commit/4f2d4d03f3a1a0a277dd04ec2abcbee2d4018fa218:46
sean-k-mooneyso there was no reason given why it orginally was false and also no reason given why we shoudl remov it18:47
dansmithyeah :)18:47
sean-k-mooneydansmith: by the way i also remember os=false for what its worth18:47
sean-k-mooneyas in that what i expected to see on master18:48
sean-k-mooneyfor now i just recheck the requiremnt patch to see if things are failing the same way consitently18:48
sean-k-mooneyhum we changed in stein18:49
opendevreviewGhanshyam proposed openstack/osc-placement master: Update python classifier in setup.cfg  https://review.opendev.org/c/openstack/osc-placement/+/93111318:58
sean-k-mooneyfrickler: i was able to repoduce the nova.tests.unit.test_service.TestWSGIServer.test_server_pool_waitall failure locally19:12
sean-k-mooneynova.tests.unit.test_service.TestWSGIService has two failing unit tests for me too because we are not stubing calsl to bind but that happened with our without the new eventlet19:13
fricklersean-k-mooney: maybe the results also vary between python versions/distros. the cross jobs run with py311 on bookworm19:24
sean-k-mooneyim using debian testing on 3.1219:28
sean-k-mooneyfrickler: the unit test fialure is because its too specific19:28
sean-k-mooneythe unit test is ment to assert that waitall is called when we shutdown the wsgi server19:29
sean-k-mooneybut its asserting its called once and now its called twice19:29
sean-k-mooneyso the fix for that is just change the assert19:29
sean-k-mooneyim repoducing the functional test failure now19:29
sean-k-mooneythe functionatl test that is failing is restarting the scheduler and that reulst in self.service_ref being None19:40
sean-k-mooneyi think this is an artifact of how we are doing that19:40
sean-k-mooneyrestarting services in our functional tests is kind of a hack19:41
sean-k-mooneyso again i think this will be a case of a slight test tweak but not an actual regression19:42
opendevreviewsean mooney proposed openstack/nova master: [eventlet] update nova tests for eventlet 0.37.0  https://review.opendev.org/c/openstack/nova/+/93336519:47
sean-k-mooneyfrickler: ^ i think that will do it19:47
sean-k-mooneyi dont think that matrially changes the intent of any of those tests so if that passes ci we can merge it and at least get those jobs passign with eventlet 0.37.019:49
sean-k-mooneyi can try installing that in a devstack tomorrow or next week19:49
sean-k-mooneyassumign the requirements patch does not pass tempest-py3 this time19:49
sean-k-mooneyok im going to call it a day chat to folks tomorrow o/19:52
gouthamrbauzas: delayed response wrt your question regarding the virtiofs topic.. there's a conflict tomorrow at 1400 UTC tomorrow, and there are TC sessions beyond that.. I don't mind us chatting about this async / over email.. I mainly wanted to understand where it falls in the team's priorities and what we/anyone can do to help20:47

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