Monday, 2023-06-05

*** JasonF is now known as JayF00:01
mdboothI'll be running a forum session on Kubernetes on OpenStack in Vancouver next week. It's for users and developers of all related projects to talk to each other. Etherpad is here if there's anything you'd like to discuss: https://etherpad.opendev.org/p/openinfra-2023-kubernetes-on-openstack11:01
opendevreviewAmit Uniyal proposed openstack/nova master: Reproducer for dangling bdms  https://review.opendev.org/c/openstack/nova/+/88145711:57
opendevreviewAmit Uniyal proposed openstack/nova master: Delete dangling bdms  https://review.opendev.org/c/openstack/nova/+/88228411:57
opendevreviewAmit Uniyal proposed openstack/nova master: Reproducer for dangling bdms  https://review.opendev.org/c/openstack/nova/+/88145715:53
opendevreviewAmit Uniyal proposed openstack/nova master: Delete dangling bdms  https://review.opendev.org/c/openstack/nova/+/88228415:53
opendevreviewSylvain Bauza proposed openstack/nova master: cpu: fix the privsep issue when offlining the cpu  https://review.opendev.org/c/openstack/nova/+/88529316:23
bauzassometimes I hate myself ^16:23
bauzasgibi: dansmith: ^16:23
bauzaswe need to backport it to Antelope16:24
dansmithouch16:24
bauzasyeah :(16:24
bauzasand the functests don't verify it16:24
bauzasmaybe I should also create a relnote16:25
bauzasso operators would see to use the next Antelope .z release if they want to use it16:25
dansmithmaybe you'll need to make a release before your demo so people can actually use it :D16:26
bauzasyeah, I'll prepare a release 16:28
bauzasand I'll tell it loudly16:28
bauzasas I'm very sad :(16:28
bauzasalso we maybe should have some test that verify that we don't forget a privsep decorator16:30
bauzaslike we do with objects or other stuff16:30
bauzasbut that's a bit difficult16:31
dansmithyeah, not sure how to do that16:47
opendevreviewSylvain Bauza proposed openstack/nova master: cpu: fix the privsep issue when offlining the cpu  https://review.opendev.org/c/openstack/nova/+/88529317:42
bauzasdansmith: added a relnote for making it more public17:43
bauzasand again, sorry for this bug :(17:43
dansmithhow could permissions cause a FileNotFound/17:43
dansmiththat doesn't seem right o me17:43
bauzasdansmith: see the bug report17:43
bauzasI added the log17:44
dansmiththe bug report *says* there's a FileNotFound but I don't see *why* that would happen17:44
dansmithusers can see the file17:44
bauzasthis is a permission error as the base exception17:44
dansmithoh I see, we're translating 17:45
bauzasyeah17:45
dansmithokay, so the reno reads a bit strange to me because of the "if you want".. can I suggest alternative wording?17:45
bauzasdansmith: sure, do this17:45
bauzastbc, I prefer -1s rather than +2s :)17:46
dansmithcommented17:49
dansmithbauzas: if you're using the offlining the scaling being missing from /sys isn't a problem right? Could we enable this in nova-next or something so we see some coverage?17:50
bauzasdansmith: you mean about the fact that we miss scaling_governor in my instance ?17:53
bauzasI can find a way to say 'meh, fair enough' if you wan17:53
bauzaswant17:53
bauzasso in this case, we would only support to ask to offline/online cpus17:54
dansmithdon't you choose modes, either to use scaling or cpu offlniing?17:55
dansmithif you're using offlining, I would expect the missing cpufreq support wouldn't be a problem and that we could just enable this in nova-next17:56
bauzasdansmith: yeah, we have a config option for saying which strategy you want https://docs.openstack.org/nova/latest/configuration/config.html#libvirt.cpu_power_management_strategy17:58
dansmithright, so can we configure nova-next for offlining mode so we get some CI coverage?17:58
bauzaswe could so17:59
bauzasokay, so I'll create another bugfix for making sure that if you want to offline, it's fine if we don't verify the scaling governor17:59
bauzasunless you ask for it by the config opt18:00
dansmithoh, is that not currently working?18:00
dansmithbecause we should not depend on a working cpufreq implementation if we're using offlining18:00
dansmithI can imagine some of the other platforms (maybe arm or power) don't always have cpufreq enabled18:00
bauzasunfortunately no, because when we restart we check both the governor and the state here : https://github.com/openstack/nova/blob/master/nova/virt/libvirt/cpu/api.py#L14318:01
dansmithand some server hardware if you enable platform-based scaling I think they don't expose it to the OS18:01
bauzasso I'll change this18:01
dansmithbauzas: okay yeah, that'd be good18:01
bauzasdansmith: ++ your concern is awesome btw.18:01
bauzasdansmith: because indeed I wasn't thinking about the other platforms but indeed you're right18:02
dansmithyeah18:02
bauzas+++ definitely, will fix it too and will backport it18:02
dansmithcpufreq is pretty common these days, but if you unload a module or don't have it built into your kernel, we shouldn't fail18:02
dansmith(shouldn't fail to allow offlining I mean)18:03
bauzasindeed18:03
* bauzas goes to dinner, be back later18:04
dansmithbauzas: so I didn't look, but I assume the scaling approach already has the privsep helper?18:05
dansmithand it was just the online helper that was missing it?18:05
bauzasdansmith: yeah, we only forgot it for set_offline18:05
dansmithokay cool, just checking18:05
bauzashttps://github.com/openstack/nova/blob/master/nova/virt/libvirt/cpu/api.py is the private API18:05
bauzasand https://github.com/openstack/nova/blob/master/nova/virt/libvirt/cpu/core.py is the internal code18:05
bauzasthat's where we decorate the callers18:06
dansmithI believe you, just making sure18:06
* bauzas still wonders how I could have missed the decorator since I didn't really copy/paste both methods but fair18:07
bauzasdansmith: no worries, was just for explaining you what we do internally since you didn't had time to review the series18:07
dansmithdecorators are easy to miss and git rebase/merges sometimes snip them out if they're used in front of all the functions18:07
bauzashttps://review.opendev.org/q/topic:bp%252Flibvirt-cpu-state-mgmt18:08
bauzasthat's the series if you wanna peak it18:08
dansmithyeah, I found it last week, I had missed it for sure18:08
bauzasand https://review.opendev.org/c/openstack/nova/+/868237/12/nova/virt/libvirt/driver.py is where we offline/online18:08
bauzasthe closest I found when we spawn18:08
*** efried1 is now known as efried20:13

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