Wednesday, 2024-09-11

opendevreviewsean mooney proposed openstack/nova master: Add functional repoducer for ephemeral disks  https://review.opendev.org/c/openstack/nova/+/92831000:54
opendevreviewsean mooney proposed openstack/nova master: only saftey check bootable files created form glance  https://review.opendev.org/c/openstack/nova/+/92882900:54
opendevreviewsean mooney proposed openstack/nova master: adapt to vfat support in oslo.utils  https://review.opendev.org/c/openstack/nova/+/92846200:55
*** bauzas_ is now known as bauzas01:13
*** __ministry is now known as Guest311301:25
opendevreviewsean mooney proposed openstack/nova master: only saftey check bootable files created form glance  https://review.opendev.org/c/openstack/nova/+/92882901:27
opendevreviewsean mooney proposed openstack/nova master: adapt to vfat support in oslo.utils  https://review.opendev.org/c/openstack/nova/+/92846201:27
*** bauzas_ is now known as bauzas05:24
sahido/07:58
sahidquick question guys, when we have a host ins maintenance, is there a way tp schedule VM on it?07:59
sahidI mean as admin07:59
sahidthat to valid the behavior of the host07:59
*** bauzas_ is now known as bauzas08:09
tobias-urdinwe usually create a instance then live migrate it to the host to test it out without enabling it for scheduling08:34
sahidtobias-urdin: interesting workaround thank you10:03
sahidbtw it may be useful for an admin to have this priviledge10:03
tis_at_teutoHi, not shure if this is the right place to ask but currently we have a problem mit oom-kill pcpu-instances. They got oom-killed with `oom-kill:constraint=CONSTRAINT_MEMORY_POLICY`. We use pinned cpus and nova-compute sets the the libvirt numatune.memory and numatune.memnode statically to `mode=strict` https://github.com/openstack/nova/blob/master/nova/virt/libvirt/config.py#L2812 . Is it possible to get this configurable or 10:06
tis_at_teutouse preferred instead like mentioned in https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/virtualization_tuning_and_optimization_guide/sect-virtualization_tuning_optimization_guide-numa-allocation_policy#sect-Virtualization_Tuning_Optimization_Guide-NUMA-Allocation_Policy10:06
*** __ministry is now known as Guest315610:06
opendevreviewMerged openstack/osc-placement stable/2024.2: Update .gitreview for stable/2024.2  https://review.opendev.org/c/openstack/osc-placement/+/92835811:40
sean-k-mooneytobias-urdin: sahid  if you have disabeld the compute you cannot live migrate to it by defualt. to do so you have to use the old microversin and force the migration11:45
sean-k-mooneysahid: we intentionally do now allow this to work by defualt11:45
sean-k-mooneywhen a comptue service is disabeld you shuld be able to move instance away form it but not to it11:45
opendevreviewMerged openstack/osc-placement stable/2024.2: Update TOX_CONSTRAINTS_FILE for stable/2024.2  https://review.opendev.org/c/openstack/osc-placement/+/92835911:46
sean-k-mooneytis_at_teuto: my initall gues is that you have not defied hw:mem_page_size in your pinned instance11:46
sean-k-mooneytis_at_teuto: when using cpu pinnign either you need to request numa aware memory usign hw:mem_page_size or you need to configure the host for file backed memroy11:47
sean-k-mooneyif you dont do one of those two then we expect OOM issue for the vms, its an unsupproted configuraiton.11:47
sean-k-mooneytis_at_teuto: we do not supprot settign the memroy policy to prefered or memory overcommit when using pinned cpus11:48
sean-k-mooneythere was a proposal for that many many years ago but it was never implemented11:49
*** bauzas_ is now known as bauzas12:12
*** bauzas_ is now known as bauzas12:21
opendevreviewLajos Katona proposed openstack/nova master: docs: update libvirt support matrix for C and D  https://review.opendev.org/c/openstack/nova/+/92890312:29
opendevreviewLajos Katona proposed openstack/nova master: docs: update libvirt support matrix for C and D  https://review.opendev.org/c/openstack/nova/+/92890312:30
tis_at_teutosean-k-mooney: Ok, thank you. I will have a look into `hw:mem_page_size`. In the meantime we mitigate the problem by configuring a swap-file. I think that is what you second approach is.12:30
sean-k-mooneyswapfiles will only help if you have multiple of them and also mark them as related to a given numa node12:31
sean-k-mooneythe OOM reaper runs on a per numa basis12:31
sean-k-mooneyso even if you have lots of free swap you can still have OOM issues12:31
sean-k-mooneyor free ram on the wrong numa node12:32
lajoskatonabauzas: https://review.opendev.org/c/openstack/nova/+/928903 , pushed an update for qemu/libvirt support matrix, as I see no change in it in C and D, just to be clear for end-users12:33
sahidsean-k-mooney: sean-k-mooney: do you remeber the microversion to use, even when i try to live-migrate on the specified host, I receive the error nova valid host was found12:34
sean-k-mooneyforce was added in 2.30 and removed  in 2.68 so 2.30-2.6712:35
sean-k-mooneysahid: note that force skips schdluer filters12:36
sean-k-mooneyit just checks the host exists, placement should still confirm that there is enouch suport for basic resouces12:36
sean-k-mooneynote that the compute status filter has been mandaory for many releases12:38
sean-k-mooneyhttps://github.com/openstack/nova/blob/master/nova/scheduler/request_filter.py#L242-L25512:38
sean-k-mooneyso where that is not configurabel there is no way to schdule to a disabeld host by design12:38
sean-k-mooneyah i miss rememeberd we intoduced this as a mandatoy prefilter 5 years ago12:40
sean-k-mooneyhttps://github.com/openstack/nova/commit/168d34c8d1161dc4d62493e194819297e079bb5112:40
sean-k-mooneyso since placment because mandatory there is not way by design to schduler to disabled computes12:40
*** bauzas- is now known as bauzas13:03
bauzassean-k-mooney: thanks for your work on the "vfat is non-bootable so we can skip it" series, just +2d saying this is fine given oslo will support vfat checks shortly13:38
bauzasif not, I'd be afraid of another attack vector13:38
sean-k-mooneythere is an oslo patch for it reference form the 3rd patch13:38
bauzasyes I know, hence my +213:38
sean-k-mooneyim also considerign doing a quick poc of both makeing epmeral disk unformated and removing the backing files form them13:39
sean-k-mooneywith that said i dont really have much time to look at either but since im already looking at that code i was going to spend an hour or two and see if they would be easy to do for epoxy13:39
sean-k-mooneythe reason i choose bootable as the new flag is i think tis reasonabel to say in the qemu driver that non-bootable disk should not have backing files ever.13:40
sean-k-mooneybut i have not really tought about all the implications yet so i didnt want to include that in this inital work13:41
bauzasno worries, given by 2025.1 we will be able to look at vfat, we could remove the skip for non-bootable disks13:43
sean-k-mooneywe could thats definetly a diesign disucsison we shoudl have early in 2025.113:43
sean-k-mooneyin my head im kind fo grouping this with the geneal "state of the image backends" topic13:44
sean-k-mooneyi think this is just one of the many workitems that go into improving that going forward13:44
*** whoami-rajat_ is now known as whoami-rajat14:04
opendevreviewDmitriy Rabotyagov proposed openstack/nova master: Respect supplied arguments in novncproxy_base_url  https://review.opendev.org/c/openstack/nova/+/92883914:18
opendevreviewKaloyan Kotlarski proposed openstack/nova master: libvirt: Fetch the available vCPUs from the respective cgroup  https://review.opendev.org/c/openstack/nova/+/92747414:32
sahidalian15:02
sahidalianz15:02
dansmithsean-k-mooney: safe sounds okay to me15:23
sean-k-mooneyok i can go change that how would you feel about using that for skiping the backing file too?15:24
sean-k-mooneyin a seperate patch obviously15:24
sean-k-mooneyi.e. not haveing swap an ephmeral have backing files with qcow backend15:24
sean-k-mooneydansmith: ill fix the typoes ectra but were there any other concerns15:25
sean-k-mooneyill repin the patch after the our internal calls end15:25
dansmithsean-k-mooney: I have concerns about how many places you had to make that change :P15:27
dansmithbut that's imagebackend's fault not yours15:27
sean-k-mooneyya at least 1 of those i was really not expecting15:33
sean-k-mooneywe have a lot of duplication15:33
*** bauzas_ is now known as bauzas15:35
opendevreviewRajesh Tailor proposed openstack/nova master: Add support for showing finish_time  https://review.opendev.org/c/openstack/nova/+/92893315:55
opendevreviewDan Smith proposed openstack/nova stable/2023.1: [stable-only]: Port qcow2v2 support from oslo  https://review.opendev.org/c/openstack/nova/+/92893716:06
bauzaswe need a second core for https://review.opendev.org/c/openstack/nova/+/928662 please :)16:57
sean-k-mooneythat looks correct to me16:59
bauzasthanks17:01
opendevreviewsean mooney proposed openstack/nova master: [DNM] testing rdo experimental jobs  https://review.opendev.org/c/openstack/nova/+/92776219:03
opendevreviewsean mooney proposed openstack/nova master: Add functional repoducer for ephemeral disks  https://review.opendev.org/c/openstack/nova/+/92831019:05
opendevreviewsean mooney proposed openstack/nova master: only safety check bootable files created from glance  https://review.opendev.org/c/openstack/nova/+/92882919:05
opendevreviewsean mooney proposed openstack/nova master: adapt to vfat support in oslo.utils  https://review.opendev.org/c/openstack/nova/+/92846219:05
opendevreviewMatthew Heler proposed openstack/nova master: Fix regression with live migration on shared storage  https://review.opendev.org/c/openstack/nova/+/92897021:12
supamattCan I get reviews on this? https://review.opendev.org/c/openstack/nova/+/928970 It's a regression fix to how live migration should function on shared storage.21:18

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