*** pmannidi has quit IRC | 00:07 | |
*** pmannidi has joined #openstack-nova | 00:13 | |
*** gmann_afk is now known as gmann | 00:19 | |
*** macz_ has quit IRC | 00:27 | |
openstackgerrit | Ghanshyam proposed openstack/nova master: DNM:try l-c with direct deps https://review.opendev.org/c/openstack/nova/+/772780 | 00:36 |
---|---|---|
*** pmannidi_ has joined #openstack-nova | 00:43 | |
*** eharney has quit IRC | 00:45 | |
*** pmannidi has quit IRC | 00:45 | |
*** pmannidi_ has quit IRC | 00:48 | |
*** macz_ has joined #openstack-nova | 00:52 | |
*** spatel has quit IRC | 00:53 | |
openstackgerrit | Merged openstack/placement master: policy: Deprecate 'admin_api' rule https://review.opendev.org/c/openstack/placement/+/772334 | 00:55 |
openstackgerrit | Merged openstack/placement master: policy: Add note about keystone's expansion of roles https://review.opendev.org/c/openstack/placement/+/772752 | 00:56 |
*** macz_ has quit IRC | 00:56 | |
*** rchurch has quit IRC | 01:05 | |
*** mlavalle has quit IRC | 01:07 | |
*** rchurch has joined #openstack-nova | 01:07 | |
*** sapd1 has joined #openstack-nova | 01:13 | |
*** macz_ has joined #openstack-nova | 01:13 | |
*** martinkennelly has quit IRC | 01:17 | |
*** macz_ has quit IRC | 01:18 | |
*** ircuser-1 has joined #openstack-nova | 01:29 | |
*** pmannidi has joined #openstack-nova | 01:33 | |
*** nweinber has quit IRC | 01:48 | |
*** macz_ has joined #openstack-nova | 01:55 | |
*** macz_ has quit IRC | 01:59 | |
*** artom has quit IRC | 02:13 | |
*** rcernin has quit IRC | 02:31 | |
*** rcernin has joined #openstack-nova | 02:40 | |
*** bbowen has quit IRC | 02:49 | |
*** pmannidi has quit IRC | 02:49 | |
*** pmannidi has joined #openstack-nova | 02:52 | |
*** adriant has quit IRC | 02:58 | |
*** adriant has joined #openstack-nova | 02:58 | |
*** macz_ has joined #openstack-nova | 03:02 | |
*** spatel has joined #openstack-nova | 03:04 | |
*** macz_ has quit IRC | 03:07 | |
*** rchurch has quit IRC | 03:14 | |
*** rchurch has joined #openstack-nova | 03:15 | |
*** artom has joined #openstack-nova | 03:19 | |
*** macz_ has joined #openstack-nova | 03:23 | |
*** hemanth_n has joined #openstack-nova | 03:25 | |
*** macz_ has quit IRC | 03:28 | |
*** khomesh24 has joined #openstack-nova | 03:41 | |
*** macz_ has joined #openstack-nova | 03:44 | |
*** psachin has joined #openstack-nova | 03:45 | |
*** macz_ has quit IRC | 03:49 | |
*** zzzeek has quit IRC | 03:56 | |
*** zzzeek has joined #openstack-nova | 03:56 | |
*** dviroel has quit IRC | 04:07 | |
*** pmannidi has quit IRC | 04:07 | |
*** pmannidi has joined #openstack-nova | 04:10 | |
*** macz_ has joined #openstack-nova | 04:26 | |
*** macz_ has quit IRC | 04:30 | |
*** jmlowe has quit IRC | 04:37 | |
*** amodi has quit IRC | 04:37 | |
*** lemko has quit IRC | 04:37 | |
*** hoonetorg has joined #openstack-nova | 04:40 | |
*** jmlowe has joined #openstack-nova | 04:42 | |
*** amodi has joined #openstack-nova | 04:42 | |
*** lemko has joined #openstack-nova | 04:42 | |
*** masterpe has quit IRC | 04:45 | |
*** macz_ has joined #openstack-nova | 04:46 | |
*** macz_ has quit IRC | 04:51 | |
*** whoami-rajat__ has joined #openstack-nova | 04:57 | |
*** openstackstatus has quit IRC | 04:58 | |
*** openstack has joined #openstack-nova | 05:00 | |
*** ChanServ sets mode: +o openstack | 05:00 | |
*** hoonetorg has quit IRC | 05:05 | |
*** pmannidi has quit IRC | 05:13 | |
*** pmannidi has joined #openstack-nova | 05:16 | |
*** masterpe has joined #openstack-nova | 05:18 | |
*** spatel has quit IRC | 05:19 | |
*** hoonetorg has joined #openstack-nova | 05:19 | |
*** ratailor has joined #openstack-nova | 06:05 | |
*** vishalmanchanda has joined #openstack-nova | 06:12 | |
*** pmannidi has quit IRC | 06:19 | |
*** pmannidi has joined #openstack-nova | 06:22 | |
*** k_mouza has joined #openstack-nova | 06:22 | |
*** k_mouza has quit IRC | 06:26 | |
*** gyee has quit IRC | 06:54 | |
*** eharney has joined #openstack-nova | 06:55 | |
gibi | gmann: awesome, thanks | 07:14 |
*** khomesh24 has quit IRC | 07:26 | |
*** pmannidi has quit IRC | 07:26 | |
*** macz_ has joined #openstack-nova | 07:27 | |
*** pmannidi has joined #openstack-nova | 07:29 | |
*** macz_ has quit IRC | 07:32 | |
*** dklyle has quit IRC | 07:38 | |
*** rpittau|afk is now known as rpittau | 07:51 | |
*** ralonsoh has joined #openstack-nova | 07:55 | |
*** lpetrut has joined #openstack-nova | 08:04 | |
*** sapd1 has quit IRC | 08:05 | |
*** tesseract has joined #openstack-nova | 08:17 | |
*** andrewbonney has joined #openstack-nova | 08:21 | |
*** slaweq|away is now known as slaweq | 08:29 | |
*** nightmare_unreal has joined #openstack-nova | 08:30 | |
*** pmannidi has quit IRC | 08:41 | |
*** zenkuro has joined #openstack-nova | 08:49 | |
*** pmannidi has joined #openstack-nova | 08:50 | |
*** rcernin has quit IRC | 08:56 | |
*** tosky has joined #openstack-nova | 09:12 | |
stephenfin | Can someone hit this RBAC release note before I shove that context out of my brain? https://review.opendev.org/c/openstack/placement/+/774654/ | 09:15 |
kashyap | lyarwood: Hmm, I'm hitting this one on F32 DevStack - https://bugs.launchpad.net/devstack/+bug/1885198 | 09:22 |
openstack | Launchpad bug 1885198 in devstack "table `broute' is incompatible, use 'nft' tool" [Undecided,New] | 09:22 |
* kashyap tries w/o the DEVSTACK_PARALLEL patch, to rule it out | 09:23 | |
*** macz_ has joined #openstack-nova | 09:28 | |
openstackgerrit | Vlad Gusev proposed openstack/nova stable/stein: Avoid lazy-loading instance.flavor in cold migration https://review.opendev.org/c/openstack/nova/+/774796 | 09:28 |
*** macz_ has quit IRC | 09:33 | |
*** derekh has joined #openstack-nova | 09:33 | |
lyarwood | kashyap: the failure was before that, | 09:37 |
lyarwood | 2021-02-09 18:08:18.069 | Cloning into '/home/stack/src/cloud/nova'... | 09:37 |
lyarwood | 2021-02-09 18:11:10.431 | error: RPC failed; curl 18 transfer closed with outstanding read data remaining | 09:37 |
kashyap | lyarwood: Yeah, just noticed the 'curl' thing; ugh | 09:38 |
lyarwood | kashyap: why is it cloning into /home/stack/src/cloud/nova? | 09:38 |
kashyap | lyarwood: Because I used a custom data dir out of habit | 09:38 |
lyarwood | stephenfin: did you want to add a link as suggested by lbragstad ? | 09:40 |
kashyap | lyarwood: But it's not the dir that is reason; still looking why the 'curl' failed - perhaps my poor n/w succumbed to a Nova repo clone | 09:41 |
stephenfin | lyarwood: ah, I hadn't seen that. Looking | 09:48 |
*** macz_ has joined #openstack-nova | 09:49 | |
*** macz_ has quit IRC | 09:54 | |
gibi | stephenfin: regarding the RBAC; the patch looks good to me. What do you want to do with Lance's comment? | 09:55 |
stephenfin | I'm reworking it now, but perhaps I can use a follow-up? | 09:55 |
stephenfin | Or not | 09:55 |
stephenfin | It'll just take me a bit to write this | 09:55 |
stephenfin | there's a lot of policies to account for :) | 09:56 |
stephenfin | *there are | 09:56 |
gibi | stephenfin: do the write up and then ping me, I will push the patch through | 09:56 |
stephenfin | (y) | 09:56 |
gibi | thanks | 09:56 |
*** martinkennelly has joined #openstack-nova | 10:00 | |
*** jangutter has joined #openstack-nova | 10:07 | |
kashyap | lyarwood: Now it fails by trying not find a tenant n/w -- http://paste.openstack.org/show/802501/ | 10:07 |
*** pmannidi has quit IRC | 10:07 | |
* kashyap tries to shave this mini yak too | 10:07 | |
lyarwood | kashyap: how many nics does your vm have? | 10:08 |
kashyap | lyarwood: Just one; shall I add one more? /me looks at his working older DevStack setup | 10:08 |
lyarwood | yeah I've always had two, I assume that's why it's unhappy | 10:09 |
kashyap | lyarwood: Gah. But ... in the name Zeus, I got it working w/ one NIC on an F31 deployment | 10:10 |
kashyap | Lemme try; sorry for the noise | 10:10 |
*** macz_ has joined #openstack-nova | 10:10 | |
*** pmannidi has joined #openstack-nova | 10:11 | |
*** macz_ has quit IRC | 10:15 | |
openstackgerrit | Merged openstack/placement stable/ussuri: Fix Placement Doc https://review.opendev.org/c/openstack/placement/+/762607 | 10:25 |
openstackgerrit | Merged openstack/placement stable/train: Fix Placement Doc https://review.opendev.org/c/openstack/placement/+/762608 | 10:25 |
*** dtantsur|afk is now known as dtantsur | 10:38 | |
*** belmoreira has joined #openstack-nova | 11:00 | |
*** dviroel has joined #openstack-nova | 11:02 | |
openstackgerrit | Stephen Finucane proposed openstack/placement master: policy: Add releasenote for RBAC work https://review.opendev.org/c/openstack/placement/+/774654 | 11:10 |
openstackgerrit | Stephen Finucane proposed openstack/placement master: Implement secure RBAC for reshaper https://review.opendev.org/c/openstack/placement/+/774827 | 11:10 |
stephenfin | gibi, lyarwood: ^ | 11:11 |
stephenfin | Also spotted a policy that hadn't been updated. Don't know if that was intentional from lbragstad but I suspect not | 11:11 |
gibi | stephenfin: ack | 11:11 |
gibi | stephenfin: all looks good to me | 11:15 |
*** zenkuro has quit IRC | 11:20 | |
*** zenkuro has joined #openstack-nova | 11:22 | |
sean-k-mooney | kashyap: you should aways use at least 2 nics for a devstack setup | 11:22 |
sean-k-mooney | 1 for ssh/managment and a second for ovs br-ex | 11:22 |
sean-k-mooney | you can do it with one but devstack will try and move the ip and add it to the ovs bridge | 11:23 |
sean-k-mooney | which can cause ssh to drop | 11:23 |
sean-k-mooney | so unless you run devstack in tmux or screen that can break things | 11:23 |
sean-k-mooney | you used to be able to just not add any interface but they changed something recently | 11:24 |
sean-k-mooney | havent spend time figuring out what | 11:24 |
*** k_mouza has joined #openstack-nova | 11:27 | |
kashyap | sean-k-mooney: I do run in a 'tmux', IIRC | 11:27 |
kashyap | sean-k-mooney: In the past, I recall testing just fine w/ one network that is _not_ the 'default' libvirt network. I created a separate NAT br to use for OpenStack n/w | 11:27 |
sean-k-mooney | then it should complete stacking then if you just have one nic | 11:28 |
sean-k-mooney | devstack pretty much just works if you use it today on ubuntu and centos. i got it to stack on fedroa too but that is less stable generally due to package conflicts | 11:29 |
sean-k-mooney | e.g. between pip and dnf | 11:29 |
kashyap | Fedora is the beast I know; I'm gonna skip CentOS. First, helping a different colleague | 11:36 |
kashyap | sean-k-mooney: Unrelated: BTW, did you know that the "tsx=off" on kernel command-line will _not_ have any effect in certain cases? | 11:37 |
sean-k-mooney | like when its off already or the kernel does not have it :P | 11:38 |
kashyap | sean-k-mooney: Off on the kernel command-line; the processor itself has it | 11:38 |
sean-k-mooney | centos, centos stream and ubunut all work well | 11:38 |
kashyap | sean-k-mooney: Reading the upstream documentation in the kernel commit, it points out that "tsx=off" will only have effect on newer CPUs that are not vulnerable to MDS (which is indicated by a microcode) -- https://github.com/torvalds/linux/commit/95c5824f75f3 | 11:39 |
sean-k-mooney | kashyap: sure so it turns it off on procees that dont have it disabled by microcode | 11:39 |
sean-k-mooney | and for older cpus they are assuming you have teh microcode updated | 11:40 |
sean-k-mooney | which sound resounable | 11:40 |
sean-k-mooney | if you want it turned off and there is a newer microcode that does that then you should update | 11:40 |
kashyap | Yeah; what a bloody mess this is | 11:41 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Use neutronclient's port binding APIs https://review.opendev.org/c/openstack/nova/+/706295 | 11:42 |
sean-k-mooney | kashyap: i just do this http://paste.openstack.org/show/802510/ | 11:42 |
* kashyap clicks | 11:43 | |
kashyap | sean-k-mooney: Also, aside: even "tsx=off" does not remove it from /proc/cpuinfo -- and we should not rely on it anyway. Because it only shows what the hardware has. | 11:44 |
sean-k-mooney | well that is the only thing we can check | 11:45 |
sean-k-mooney | what would we use instead | 11:45 |
sean-k-mooney | dmidecode? | 11:45 |
sean-k-mooney | that the only thing i can think off but i dont think that will help | 11:46 |
sean-k-mooney | if /proc/cpuinfo is wrong libvirt will be | 11:46 |
sean-k-mooney | /proc/cpuinfo change when you have hypterthreading disable/enable in the bios not sure about at the kernel level | 11:46 |
sean-k-mooney | is that the delta | 11:47 |
sean-k-mooney | bios vs kernel disable | 11:47 |
kashyap | There is no BIOS switch for it here. | 11:48 |
kashyap | sean-k-mooney: But /proc/cpuinfo only shows what the hardware itself has -- the kernel parameter 'tsx=off' will _not_ physicallly remove it from /proc/cpuinfo; it just tells the OS not to use it | 11:49 |
kashyap | So, anyway, I'm jotting down some notes on this to see find out a reliable approach to check | 11:49 |
sean-k-mooney | kashyap: well that is not always the case | 11:50 |
kashyap | sean-k-mooney: Also, there _are_ other ways: We should instead check 'virsh domcapabilities' on the compute node to see the effect of 'tsx=off' parameter. | 11:50 |
sean-k-mooney | kashyap: if you disabel hyperthreading in the bios ht is removed form /proc/cpuinfo | 11:50 |
kashyap | sean-k-mooney: That's not the same -- TSX has no BIOS option. | 11:51 |
sean-k-mooney | right thats why i was asking is this a delta between disabeling a feature at the bios vs kernel | 11:51 |
sean-k-mooney | e.g. /proc/cpuinfo is showing what the bios reports | 11:51 |
kashyap | Yep | 11:52 |
sean-k-mooney | oh i have tsx on my laptop | 11:53 |
sean-k-mooney | or at least hle | 11:53 |
sean-k-mooney | wht the other one | 11:53 |
*** tbachman has quit IRC | 11:53 | |
*** tbachman has joined #openstack-nova | 11:53 | |
kashyap | 'rtm' | 11:53 |
sean-k-mooney | ya i have both hle and rtm | 11:54 |
*** hemanth_n has quit IRC | 11:56 | |
sean-k-mooney | skylake so it should be enabled by defult which it does | 11:58 |
sean-k-mooney | kashyap: i tought you said the upstream kernel disabled tsx? | 11:58 |
kashyap | sean-k-mooney: It did (like I said, but its effect depends on the processor); what kernel are you running? | 11:59 |
sean-k-mooney | im running 5.10.8 | 11:59 |
sean-k-mooney | from fedora 32 | 11:59 |
kashyap | sean-k-mooney: Yours is older | 11:59 |
kashyap | sean-k-mooney: You need v5.11 or above | 11:59 |
kashyap | I even mentioned it in today's agenda meeting notes :D | 11:59 |
*** lpetrut has quit IRC | 11:59 | |
sean-k-mooney | so you ment it was disabled in an unreleased kernel | 12:00 |
sean-k-mooney | 5.11 is not released yet | 12:00 |
kashyap | sean-k-mooney: Wait, it was disabled in Oct 2019 | 12:00 |
kashyap | There have been plenty kernels released since then: https://github.com/torvalds/linux/commit/95c5824f75f3 | 12:00 |
sean-k-mooney | well fedora has it enabled | 12:00 |
sean-k-mooney | and the kernel config has CONFIG_X86_INTEL_TSX_MODE_OFF=y | 12:01 |
sean-k-mooney | i guess this is what you ment by you cant trust /proc/cpuinfo | 12:02 |
sean-k-mooney | let me check in a vm | 12:02 |
kashyap | sean-k-mooney: How are you saying it is "enabled"? If you're looking in /proc/cpuinfo, it is not | 12:02 |
kashyap | s/it is not/don't trust that/ :) | 12:02 |
kashyap | sean-k-mooney: Yes, as you see, your config has it _OFF=y | 12:02 |
sean-k-mooney | kashyap: that is the only interface we really have in userspace without poking registers | 12:03 |
sean-k-mooney | if we cant trust that we cant trust libvirt | 12:03 |
kashyap | sean-k-mooney: Wait. libvirt developers are telling me to use 'virsh domcapabilities' to detect what effect the 'tsx=off' parameter has | 12:04 |
kashyap | sean-k-mooney: The only other option is to poke for the MSR -- which I have to look, even if it is possible | 12:05 |
kashyap | sean-k-mooney: BTW, this not showing up "/proc/cpuinfo" is nothing new -- another flag is "mds-no" -- it also won't show up in /proc/cpuinfo | 12:06 |
sean-k-mooney | cpuid show RTM: restricted transactional memory = true | 12:06 |
kashyap | I wrote the upstream QEMU docs for it; /me looks | 12:06 |
*** lpetrut has joined #openstack-nova | 12:07 | |
kashyap | FWIW: https://lists.nongnu.org/archive/html/qemu-devel/2020-02/msg07164.html (qemu-cpu-models.rst: Document -noTSX, mds-no, taa-no, and tsx-ctrl) | 12:07 |
kashyap | sean-k-mooney: So you had it off in the kernel; but the hardware supports it. But `cpuid` shows RTM true? | 12:08 |
sean-k-mooney | yes cpu id shows true | 12:08 |
sean-k-mooney | and its off in the kernel | 12:09 |
*** khomesh24 has joined #openstack-nova | 12:10 | |
sean-k-mooney | http://paste.openstack.org/show/802511/ | 12:11 |
sean-k-mooney | Skylake-Client-IBRS has it enabled | 12:11 |
kashyap | Yes, libvirt/QEMU introduced: "Skylake-Client-IBRS-noTSX" | 12:15 |
*** pmannidi has quit IRC | 12:15 | |
*** pmannidi has joined #openstack-nova | 12:18 | |
sean-k-mooney | ya so right now i do have rtm and hle in a vm on my laptop | 12:20 |
sean-k-mooney | with libvirt 6.1.0 | 12:21 |
* kashyap --> hungry; back later | 12:23 | |
*** zenkuro has quit IRC | 12:25 | |
*** zenkuro has joined #openstack-nova | 12:25 | |
*** mgariepy has quit IRC | 12:46 | |
*** iurygregory has quit IRC | 12:51 | |
sean-k-mooney | stephenfin: requirements_cehcks is unhappy but everything else passed https://review.opendev.org/c/openstack/os-vif/+/774694 | 13:03 |
*** ratailor has quit IRC | 13:04 | |
*** macz_ has joined #openstack-nova | 13:07 | |
*** macz_ has quit IRC | 13:11 | |
openstackgerrit | Merged openstack/nova master: db: Compact Queens database migrations https://review.opendev.org/c/openstack/nova/+/759088 | 13:12 |
*** rcernin has joined #openstack-nova | 13:13 | |
*** nweinber has joined #openstack-nova | 13:14 | |
*** mgariepy has joined #openstack-nova | 13:14 | |
*** rcernin has quit IRC | 13:18 | |
*** pmannidi has quit IRC | 13:23 | |
*** pmannidi has joined #openstack-nova | 13:27 | |
*** macz_ has joined #openstack-nova | 13:27 | |
*** macz_ has quit IRC | 13:32 | |
*** nightmare_unreal has quit IRC | 13:47 | |
*** macz_ has joined #openstack-nova | 13:48 | |
*** macz_ has quit IRC | 13:53 | |
*** spatel has joined #openstack-nova | 13:57 | |
*** khomesh24 has quit IRC | 14:07 | |
*** macz_ has joined #openstack-nova | 14:09 | |
*** iurygregory has joined #openstack-nova | 14:13 | |
*** macz_ has quit IRC | 14:14 | |
*** pmannidi has quit IRC | 14:34 | |
*** pmannidi has joined #openstack-nova | 14:35 | |
*** psachin has quit IRC | 14:35 | |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Use neutronclient's port binding APIs https://review.opendev.org/c/openstack/nova/+/706295 | 14:41 |
openstackgerrit | Stephen Finucane proposed openstack/python-novaclient master: Add support for microversion v2.88 https://review.opendev.org/c/openstack/python-novaclient/+/770573 | 14:45 |
*** macz_ has joined #openstack-nova | 14:47 | |
*** macz_ has quit IRC | 14:51 | |
*** zenkuro has quit IRC | 15:07 | |
*** macz_ has joined #openstack-nova | 15:08 | |
sean-k-mooney | gibi: you can see nova security bug correct. | 15:08 |
*** zenkuro has joined #openstack-nova | 15:08 | |
sean-k-mooney | is there a group i can check i want to see who is on the list | 15:09 |
gibi | sean-k-mooney: hm, I saw some before, but then I was explicitly included in them. I think I'm not in the secu group in lauchpad | 15:09 |
sean-k-mooney | ah ok im being cauios with a bug im filing so im going to mark it as a security one initally but id like your input | 15:10 |
sean-k-mooney | ill add you to cc directly just in case | 15:10 |
gibi | sean-k-mooney: yes that will work | 15:10 |
*** macz_ has quit IRC | 15:13 | |
*** rcernin has joined #openstack-nova | 15:14 | |
*** mgariepy has quit IRC | 15:15 | |
*** rcernin has quit IRC | 15:18 | |
openstackgerrit | Stephen Finucane proposed openstack/placement master: Move policy deprecation to base rules https://review.opendev.org/c/openstack/placement/+/772784 | 15:22 |
stephenfin | gmann: I found/fixed the bug on that and am +2 on it now ^ | 15:23 |
*** khomesh24 has joined #openstack-nova | 15:23 | |
stephenfin | lyarwood: When you're back, would appreciate you weighing in on https://review.opendev.org/c/openstack/nova/+/751368 (stable patch) | 15:24 |
gmann | stephenfin: ah i see. thanks. | 15:26 |
stephenfin | it was so close to be perfect :D | 15:26 |
stephenfin | *being | 15:26 |
gmann | I thought we have broken something :) | 15:27 |
*** zenkuro has quit IRC | 15:28 | |
*** macz_ has joined #openstack-nova | 15:29 | |
*** zenkuro has joined #openstack-nova | 15:29 | |
*** martinkennelly has quit IRC | 15:32 | |
openstackgerrit | Stephen Finucane proposed openstack/nova master: cmd: Remove 'nova-manage db ironic_flavor_migration' https://review.opendev.org/c/openstack/nova/+/773776 | 15:32 |
*** martinkennelly has joined #openstack-nova | 15:32 | |
*** lpetrut has quit IRC | 15:33 | |
stephenfin | gibi: You were +2 on that previously but I'd to address a doc failure. Care to revisit? Only change is to 'doc/source/cli/nova-manage.rst' ^ | 15:33 |
gibi | sure | 15:33 |
stephenfin | thanks | 15:33 |
*** macz_ has quit IRC | 15:33 | |
stephenfin | gibi: We're _almost_ done with merging the main DB migration squash series (about time). We can probably look at removing that tweak to tox.ini once it's done, I guess? | 15:34 |
*** dklyle has joined #openstack-nova | 15:34 | |
gibi | stephenfin: yepp, I can propose the rewert on top of the db series | 15:35 |
stephenfin | cool | 15:35 |
*** sapd1 has joined #openstack-nova | 15:35 | |
* stephenfin rebases API DB series | 15:35 | |
*** pmannidi has quit IRC | 15:43 | |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Add manage.py script https://review.opendev.org/c/openstack/nova/+/771419 | 15:44 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Liberty database migrations https://review.opendev.org/c/openstack/nova/+/759399 | 15:44 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Mitaka database migrations https://review.opendev.org/c/openstack/nova/+/759400 | 15:44 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Newton database migrations https://review.opendev.org/c/openstack/nova/+/759401 | 15:44 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Ocata database migrations https://review.opendev.org/c/openstack/nova/+/759402 | 15:44 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Pike database migrations https://review.opendev.org/c/openstack/nova/+/759403 | 15:44 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Queens database migrations https://review.opendev.org/c/openstack/nova/+/759404 | 15:44 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Rocky database migrations https://review.opendev.org/c/openstack/nova/+/759405 | 15:44 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Stein database migrations https://review.opendev.org/c/openstack/nova/+/759406 | 15:44 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Train database migrations https://review.opendev.org/c/openstack/nova/+/771420 | 15:44 |
*** mgariepy has joined #openstack-nova | 15:44 | |
stephenfin | lyarwood, bauzas, melwitt: Can one of you take a look at https://review.opendev.org/c/openstack/nova/+/773727/ and https://review.opendev.org/c/openstack/nova/+/773728/ to fix the PPC64 gate, please | 15:44 |
*** pmannidi has joined #openstack-nova | 15:46 | |
bauzas | stephenfin: kinda try | 15:47 |
openstackgerrit | Stephen Finucane proposed openstack/os-vif master: Resolve dependency issues https://review.opendev.org/c/openstack/os-vif/+/774694 | 15:48 |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Revert "Run the db migration tests in the same test worker" https://review.opendev.org/c/openstack/nova/+/774889 | 15:48 |
gibi | stephenfin: here you are ^^ | 15:49 |
stephenfin | +2 | 15:49 |
*** macz_ has joined #openstack-nova | 15:49 | |
gibi | I would keep the elastic signature still in place to see if the compaction really give us the speed bump on the gate I measured locally | 15:50 |
bauzas | stephenfin: https://review.opendev.org/c/openstack/nova/+/773728/ isn't needed for fixing the ppc64 gate job, righrt? | 15:53 |
*** macz_ has quit IRC | 15:53 | |
stephenfin | bauzas: Yes, that's the crucial bit in fact | 15:54 |
*** khomesh24 has quit IRC | 15:54 | |
bauzas | ok, then I misunderstood it | 15:54 |
bauzas | will review it | 15:54 |
stephenfin | http://lists.openstack.org/pipermail/openstack-discuss/2021-January/020088.html | 15:54 |
stephenfin | tl;dr: I added a patch to disable the USB controller if there were no USB devices in the XML, however, libvirt adds a USB keyboard and mouse automatically for guests on PPC64 hosts | 15:55 |
stephenfin | so it now fails | 15:55 |
bauzas | aha I see | 15:55 |
bauzas | it wants to add both the kb and the mouse but there are no longer usb controllers | 15:56 |
stephenfin | yup | 15:56 |
bauzas | gotcha, will look | 15:56 |
stephenfin | so we skip that logic on PPC64 now since we know we'll always need a controller on that platform | 15:56 |
lyarwood | stephenfin: sorry wasn't watching irc, I'll take a look at that and the other stuff from earlier after our next call | 15:59 |
*** bbowen has joined #openstack-nova | 16:08 | |
*** efried has quit IRC | 16:08 | |
*** macz_ has joined #openstack-nova | 16:10 | |
*** efried has joined #openstack-nova | 16:11 | |
*** mlavalle has joined #openstack-nova | 16:16 | |
*** mlavalle has quit IRC | 16:16 | |
*** mlavalle has joined #openstack-nova | 16:17 | |
dansmith | gibi: that's nifty, I didn't know about that grouping thing | 16:32 |
dansmith | gibi: did you happen to notice if the IO-related timeouts were specific to one provider? | 16:33 |
dansmith | tripleo was having job timeouts on one of their jobs that did a lot of IO and vexxhost switched our flavor to double the IOPs | 16:34 |
gibi | dansmith: the failures was spread amongst providers. at least I haven't noticed a pattern | 16:35 |
dansmith | okay | 16:35 |
gibi | I assumed it was IO limited as I was able to reproduce the extreme slowness locally if I IO deprived the machine | 16:35 |
dansmith | my parallel devstack ran all of those migrations in parallel for a very nice speedup on local hardware, | 16:36 |
dansmith | so maybe with 75% faster due to compaction we'll get a nice bump in the io-limited workers too | 16:36 |
dansmith | gibi: yeah probably | 16:36 |
gibi | yeah I saw you parallel devstack patch, that also looks like a nice bump. I will try it at some point | 16:36 |
dansmith | yeah, hopefully we can merge it soon | 16:37 |
dansmith | it's super nice to be able to stack locally in five minutes :) | 16:37 |
* gibi goes and try a stack without and then with dansmith's patch locally | 16:38 | |
*** ianw has quit IRC | 16:39 | |
*** ianw has joined #openstack-nova | 16:39 | |
dansmith | devstack also runs db sync for keystone three times for some reason I have yet to figure out, | 16:39 |
dansmith | and while they don't have hundreds of migrations, it's non-trivial | 16:39 |
*** nweinber has quit IRC | 16:43 | |
*** nweinber has joined #openstack-nova | 16:44 | |
openstackgerrit | Elod Illes proposed openstack/nova stable/ussuri: Add upgrade check about old computes https://review.opendev.org/c/openstack/nova/+/770765 | 16:52 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: libvirt: Record the machine_type of instances in system_metadata https://review.opendev.org/c/openstack/nova/+/767533 | 16:52 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: nova-manage: Add machine_type get command https://review.opendev.org/c/openstack/nova/+/769548 | 16:52 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: nova-status: Add hw_machine_type check for libvirt instances https://review.opendev.org/c/openstack/nova/+/770643 | 16:52 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: nova-manage: Add machine_type update command https://review.opendev.org/c/openstack/nova/+/774896 | 16:52 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: WIP nova-manage: Add machine_type list_unset command https://review.opendev.org/c/openstack/nova/+/774897 | 16:52 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: WIP libvirt: Add a config update workflow func test for [libvirt]hw_machine_type https://review.opendev.org/c/openstack/nova/+/774898 | 16:52 |
openstackgerrit | Lee Yarwood proposed openstack/nova master: WIP docs: Add admin docs for configuring and updating machine types https://review.opendev.org/c/openstack/nova/+/774899 | 16:52 |
*** jangutter_ has joined #openstack-nova | 17:00 | |
*** jangutter has quit IRC | 17:01 | |
*** nweinber has quit IRC | 17:11 | |
*** jangutter has joined #openstack-nova | 17:12 | |
*** nweinber has joined #openstack-nova | 17:12 | |
*** jangutter_ has quit IRC | 17:15 | |
openstackgerrit | Stephen Finucane proposed openstack/nova master: tests: Posion nova.objects.fields.Architecture.from_host https://review.opendev.org/c/openstack/nova/+/769920 | 17:15 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: tests: Move 'nova.virt.libvirt.utils.get_arch' stub to fixture https://review.opendev.org/c/openstack/nova/+/774904 | 17:15 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: trivial: Remove unnecessary mock https://review.opendev.org/c/openstack/nova/+/774905 | 17:15 |
stephenfin | lyarwood: Fixed that, I think ^ | 17:16 |
lyarwood | awesome, I'll take a look in the morning once the tests have passed | 17:19 |
stephenfin | ack | 17:20 |
*** pmannidi has quit IRC | 17:30 | |
*** pmannidi has joined #openstack-nova | 17:32 | |
gibi | dansmith: I saw ~17% speedup locally in devstack stacking with parellelism enabled. http://paste.openstack.org/show/802536/ | 17:33 |
gibi | dansmith: two interesting observations; 1) osc time went up when run in parallel 2) unacounted time become negative :) | 17:33 |
dansmith | gibi: is that with the db migrations squashed? | 17:34 |
dansmith | merged I mean | 17:34 |
gibi | dansmith: squashed up until Queens | 17:34 |
gibi | dansmith: I will rerun now with all the db squashes | 17:35 |
dansmith | okay, I'm not really sure all of the component timing actually works with async because they're run in subshells and the timings don't really get reflected to the parent, AFAIK | 17:35 |
gibi | ahh, I see | 17:36 |
dansmith | that's 25% increase from top to bottom, | 17:37 |
*** nweinber has left #openstack-nova | 17:37 | |
dansmith | I'm not sure why you'd see a difference with async patches applied but disabled, should be identical, unless you're in a VM with neighbor noise affecting the numbers | 17:37 |
gibi | dansmith: could be noise and could be that apt did updated things at the first run but not at the subsequent runs | 17:39 |
dansmith | ah okay yeah | 17:39 |
dansmith | compacting the migrations will definitely reduce the gain from the async tasks, since they're doing less, thus less to parallelize | 17:39 |
dansmith | but still better overall with both of course | 17:40 |
gibi | yeah | 17:40 |
gibi | also based on experience having tempest enabled make also a significant difference | 17:40 |
dansmith | did you pull the latest async? it should dump async-specific numbers after the component timing | 17:41 |
dansmith | yeah, definitely.. we rebuild the tempest venv several times :/ | 17:41 |
gibi | dansmith: I pulled https://review.opendev.org/c/openstack/devstack/+/774022/5 | 17:41 |
dansmith | okay then you should have it when async is enabled | 17:42 |
*** tesseract has quit IRC | 17:43 | |
dansmith | like this: https://zuul.opendev.org/t/openstack/build/4f1863e956364177bf2152920636ff0b/log/job-output.txt#24932 | 17:43 |
gibi | oh I see now in the logs, I just forget to copy it | 17:44 |
gibi | http://paste.openstack.org/show/802538/ | 17:44 |
dansmith | that's similar to what I see locally, even before the compaction, interesting | 17:44 |
gibi | the bigger half of the compation is already merged and I have it in that run | 17:46 |
dansmith | I'm not sure I've RECLONE=yes since that stuff started to merge, so I'll try | 17:47 |
dansmith | maybe with the lower IO related to compaction we're parallelizing more things that won't compete, like just python startup and sql generation or something | 17:48 |
dansmith | but regardless, the two of these things should be noticeably better for the gate which is awesome | 17:48 |
gibi | this is the run with all the db compation pulled http://paste.openstack.org/show/802539/ | 17:48 |
dansmith | cool | 17:49 |
dansmith | hard to complain about 80% faster :) | 17:49 |
gibi | :) | 17:49 |
*** sapd1 has quit IRC | 17:49 | |
gibi | I'm not complaining :d | 17:49 |
gibi | :D | 17:49 |
dansmith | bauzas: are you still working on this? https://review.opendev.org/c/openstack/nova/+/761452 | 17:54 |
bauzas | dansmith: it's my next duty after the routed networks | 17:55 |
dansmith | okay cool | 17:55 |
dansmith | just making sure | 17:55 |
bauzas | dansmith: but i'll need you to look at it ;) | 17:55 |
bauzas | I got some issue with the CI | 17:55 |
dansmith | ack, it's in merge conflict now anyway, but poke me when you get back to it and have something for me to dig into | 17:56 |
bauzas | so I'll rebase with the next API version, and then uploading it, so we would get new CI | 17:56 |
dansmith | yeah cool | 17:56 |
*** derekh has quit IRC | 18:00 | |
openstackgerrit | Merged openstack/nova master: db: Compact Rocky database migrations https://review.opendev.org/c/openstack/nova/+/759089 | 18:02 |
openstackgerrit | Merged openstack/nova master: libvirt: Stub out 'nova.virt.libvirt.utils.get_arch' https://review.opendev.org/c/openstack/nova/+/773727 | 18:04 |
stephenfin | dansmith: gibi: FYI the DB compaction series doesn't seem to have fixed the issue :-( https://review.opendev.org/c/openstack/nova/+/774889/ | 18:12 |
stephenfin | assuming I'm reading that correctly | 18:12 |
dansmith | maybe something else is getting hung up? | 18:12 |
stephenfin | quite possibly. I haven't investigated yet | 18:12 |
stephenfin | Fair to say that probably shouldn't go in until we root cause it though | 18:13 |
gibi | I'm a sad panda | 18:13 |
gibi | stephenfin: you are readig it right | 18:13 |
gibi | the I have to assume that the way I was able to reproducing it locally was actually reproduced the symptom but in a different way how it happens on the gate | 18:15 |
gibi | maybe we can try to dump logs at each step of test_walk_versions to see if there is a certain step that has high chance to hang | 18:16 |
gibi | but not today | 18:21 |
gibi | o/ | 18:21 |
*** rpittau is now known as rpittau|afk | 18:23 | |
*** k_mouza has quit IRC | 18:33 | |
*** pmannidi has quit IRC | 18:38 | |
*** spatel has quit IRC | 18:40 | |
*** belmoreira has quit IRC | 18:41 | |
*** pmannidi has joined #openstack-nova | 18:43 | |
*** spatel has joined #openstack-nova | 18:44 | |
*** dtantsur is now known as dtantsur|afk | 18:45 | |
*** hemna has quit IRC | 18:53 | |
*** hemna has joined #openstack-nova | 18:54 | |
*** whoami-rajat__ has quit IRC | 18:57 | |
*** zenkuro has quit IRC | 18:57 | |
*** zenkuro has joined #openstack-nova | 18:58 | |
*** ralonsoh has quit IRC | 19:17 | |
*** rchurch has quit IRC | 19:17 | |
*** rchurch has joined #openstack-nova | 19:19 | |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Ocata database migrations https://review.opendev.org/c/openstack/nova/+/759402 | 19:20 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Pike database migrations https://review.opendev.org/c/openstack/nova/+/759403 | 19:20 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Queens database migrations https://review.opendev.org/c/openstack/nova/+/759404 | 19:20 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Rocky database migrations https://review.opendev.org/c/openstack/nova/+/759405 | 19:20 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Stein database migrations https://review.opendev.org/c/openstack/nova/+/759406 | 19:20 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: apidb: Compact Train database migrations https://review.opendev.org/c/openstack/nova/+/771420 | 19:20 |
*** zzzeek has quit IRC | 19:26 | |
*** zzzeek has joined #openstack-nova | 19:27 | |
sean-k-mooney | oh your talking about the db walk timeout ? or test_models_sync | 19:38 |
sean-k-mooney | the time out ligitablity might just be a side effect of a slow node. gibi tried to extend the time previousl but the other issue in test_models_sync are new to me | 19:39 |
*** andrewbonney has quit IRC | 19:39 | |
sean-k-mooney | that kind of looks like the db tables did not create properly | 19:41 |
stephenfin | gmann: Could you take a look at https://review.opendev.org/c/openstack/placement/+/774827/ too. Seems it was missed previously | 19:41 |
stephenfin | That will unblock the release note | 19:41 |
*** pmannidi has quit IRC | 19:48 | |
*** slaweq has quit IRC | 19:49 | |
*** pmannidi has joined #openstack-nova | 19:49 | |
*** zzzeek has quit IRC | 19:53 | |
openstackgerrit | Martin Kopec proposed openstack/nova stable/rocky: DNM - testing tempest-slow job https://review.opendev.org/c/openstack/nova/+/775003 | 19:55 |
*** zzzeek has joined #openstack-nova | 19:57 | |
*** zzzeek has quit IRC | 20:21 | |
*** gyee has joined #openstack-nova | 20:21 | |
*** zzzeek has joined #openstack-nova | 20:22 | |
gibi | sean-k-mooney: the db compation should have been sped up the db migration test a lot | 20:27 |
gibi | sean-k-mooney: but it still times out | 20:27 |
sean-k-mooney | yep it should have helped but it was not gurenteed to fix it | 20:27 |
sean-k-mooney | just make it much much less likely | 20:27 |
dansmith | in terms of IO, I guess the only thing that it necessarily does less of is when we drop stuff | 20:28 |
gibi | we do a lot less testing now | 20:28 |
dansmith | I guess I'm not sure how much thrashing there really is.. the initial migration was always the bulk of it | 20:28 |
dansmith | yeah, right, okay in that test where we walk the migrations, that's right | 20:29 |
sean-k-mooney | dansmith: the table_walk i think is doing each migration one by one | 20:29 |
sean-k-mooney | so that "shoudl" be run the compacted migration + stuff form this cycle | 20:29 |
sean-k-mooney | at least when they are all merged | 20:29 |
dansmith | yeah, I was thinking about the total IO load of starting with an empty DB and getting to a current schema, | 20:30 |
dansmith | but the test will obviously do fewer things | 20:30 |
sean-k-mooney | dansmith: so pararrle devstack + osc as a service reduced stack time 40% | 20:38 |
sean-k-mooney | granted that wont be a 40% speed up in job time as we spend or 50% of it running tempest | 20:38 |
sean-k-mooney | but that should still be 10-15% maybe overall | 20:39 |
sean-k-mooney | that pretty dramatic | 20:39 |
sean-k-mooney | + the developer workflow improment | 20:40 |
sean-k-mooney | that said i have been used to sub 20 min stack times basiclay for ever due to how i use it but 5-10 min stack times is still great | 20:41 |
dansmith | yep, very non-trivial savings multiplied across every job runm | 20:41 |
dansmith | and local dev time improvement is huge | 20:42 |
sean-k-mooney | ya i used to lement not being able to use offline mode or wehn i could not just restart the service due to db changes | 20:42 |
sean-k-mooney | but if its that quick honestly i would restack more often then i do | 20:43 |
dansmith | 5 minutes is on the order of "hang on let me stack so I can answer that CLI usage question in realtime" | 20:43 |
sean-k-mooney | yep | 20:43 |
sean-k-mooney | i have done that in meeting wtih a 15min time but 5 mins is shorter then ill stack this while i get coffee | 20:44 |
*** pmannidi has quit IRC | 20:53 | |
*** pmannidi has joined #openstack-nova | 20:56 | |
*** xek has joined #openstack-nova | 21:06 | |
sean-k-mooney | is the build_requests table in the api db used anymore? | 21:47 |
sean-k-mooney | it seams to always be empty | 21:47 |
sean-k-mooney | maybe we automatically delete the entry once it builds | 21:48 |
*** atmark has joined #openstack-nova | 21:50 | |
atmark | hello, is it possible to rename a cell ? | 21:50 |
sean-k-mooney | cell0 no the other cells im not sure | 21:52 |
sean-k-mooney | without db change i dont think there is any nova manager command you can updated | 21:52 |
sean-k-mooney | the host_mappings just use the cell_id im not sure what if anything uses the cell name corm the cell_mappings tables | 21:54 |
artom | atmark, also, *why*? | 21:54 |
sean-k-mooney | ya even if you can do it you proably should not do it unless you have a good reason too | 21:56 |
sean-k-mooney | i belive we map cells to placment aggreates at some point. im not sure if that is by name or by id but i would not assume there is nothing that depends on the cell name without fully checking | 21:57 |
sean-k-mooney | you cant rename Avaiableity zones with out breaking things for example. gratted they exists at the api level and cells do not but the cell name might be storeed somewhere although we should really be usign the id. | 21:59 |
*** xek has quit IRC | 22:02 | |
gmann | stephenfin: done. +A | 22:02 |
*** pmannidi has quit IRC | 22:03 | |
*** pmannidi has joined #openstack-nova | 22:06 | |
*** spatel has quit IRC | 22:09 | |
openstackgerrit | Merged openstack/nova master: libvirt: Always enable USB controller on PPC64 https://review.opendev.org/c/openstack/nova/+/773728 | 22:12 |
openstackgerrit | Ghanshyam proposed openstack/placement master: Move policy deprecation to base rules https://review.opendev.org/c/openstack/placement/+/772784 | 22:13 |
gmann | stephenfin: updated this for reshaper policy - https://review.opendev.org/c/openstack/placement/+/772784 | 22:15 |
*** zzzeek has quit IRC | 22:37 | |
*** zzzeek has joined #openstack-nova | 22:37 | |
*** zzzeek has quit IRC | 22:50 | |
*** vishalmanchanda has quit IRC | 22:51 | |
*** zzzeek has joined #openstack-nova | 22:52 | |
*** zzzeek has quit IRC | 23:02 | |
*** zzzeek has joined #openstack-nova | 23:04 | |
openstackgerrit | Ghanshyam proposed openstack/nova master: Switch to new rolevar for run-temepst role https://review.opendev.org/c/openstack/nova/+/775040 | 23:11 |
*** pmannidi has quit IRC | 23:14 | |
*** pmannidi has joined #openstack-nova | 23:15 | |
*** zzzeek has quit IRC | 23:27 | |
sean-k-mooney | oh dead code i can channel my inner stephenfin and delete it :) | 23:27 |
sean-k-mooney | the only thin that uses _load_legacy_requests is get_by_instance and the only thing that uses that is test code | 23:28 |
sean-k-mooney | https://github.com/openstack/nova/blob/5b52db409b00e6257e83598efa0d8528ebe380e0/nova/objects/instance_pci_requests.py#L116-L146 | 23:28 |
*** zenkuro has quit IRC | 23:28 | |
sean-k-mooney | we use get_by_instance_uuid instead now | 23:28 |
sean-k-mooney | since we started storign the request spec in teh api_db like 4? 5? cycles ago | 23:29 |
sean-k-mooney | its been a very long time since it was stored in teh instace_system_metadata table | 23:29 |
*** zzzeek has joined #openstack-nova | 23:29 | |
sean-k-mooney | i think maybe melwitt moved it back in queens/rocky? maybe older then that | 23:31 |
melwitt | sean-k-mooney: afaik request spec has always been in the api db i.e. it didn't exist prior to that. I didn't move anything related to it :) | 23:32 |
sean-k-mooney | its existed since like juno it was made an object back in 2014 https://github.com/openstack/nova/commit/2d998c8df2048167c2db3694d3aae4605ff2625c | 23:33 |
melwitt | I mean request spec | 23:34 |
*** zzzeek has quit IRC | 23:34 | |
sean-k-mooney | oh sorry i said request spec | 23:34 |
sean-k-mooney | i ment instace_pci_request | 23:35 |
sean-k-mooney | sorry im currently trying to figure out why the numa policy i am setting is not makeing it to the db | 23:35 |
*** zzzeek has joined #openstack-nova | 23:36 | |
sean-k-mooney | when i grab it out of the db {"count": 1, "spec": [{"physical_network": "public"}], "alias_name": null, "is_new": false, "numa_policy": null, "request_id": "6ca3ee2f-59d7-4828-b95a-f503f7eb261d", ... | 23:36 |
melwitt | are you doing like request_spec.pci_requests = <stuff> and then request_spec.save()? | 23:37 |
sean-k-mooney | the instance_extra table to be exact its reset to null | 23:37 |
melwitt | how are you setting them | 23:37 |
sean-k-mooney | am im not doing the save but ill show you one sec | 23:37 |
sean-k-mooney | https://review.opendev.org/c/openstack/nova/+/773792/1/nova/network/neutron.py#2151 | 23:38 |
sean-k-mooney | we are modifying it just above too spec[pci_request.PCI_TRUSTED_TAG] = str(trusted) | 23:39 |
sean-k-mooney | no not quite | 23:39 |
sean-k-mooney | the oter values are all passed in | 23:39 |
melwitt | oh, I can see this object doesn't work like the typical | 23:40 |
sean-k-mooney | well it should get commits with the rest of the requests | 23:40 |
sean-k-mooney | create_resource_requests | 23:40 |
sean-k-mooney | is invoked during the build process and we pass back a set of resouce requests | 23:41 |
sean-k-mooney | technically i gues there realy is no reason i could not pass the affinity policy to the consturor i guess | 23:41 |
sean-k-mooney | but what im doing should work | 23:41 |
melwitt | generally, the pci tracker is the thing that writes all pci related things to the db, so my first thought is maybe it doesn't handle numa_policy yet? | 23:42 |
sean-k-mooney | i really hope https://github.com/openstack/nova/commit/59d94633518e6f6272e9f0654bb908e332f97a96 added that | 23:45 |
sean-k-mooney | or else i have to talk to stephenfin about his commit naming | 23:45 |
melwitt | oh, hm | 23:45 |
melwitt | lol | 23:45 |
sean-k-mooney | i mean i know im missing unit/functional tests in that change and when i add them i might find out why its not working but still | 23:47 |
sean-k-mooney | numa_policy = port_numa_policy or affinity_policy | 23:47 |
sean-k-mooney | if numa_policy: | 23:47 |
sean-k-mooney | request.numa_policy = numa_policy | 23:47 |
sean-k-mooney | that should work | 23:47 |
melwitt | yeah.. I don't see anything either | 23:48 |
sean-k-mooney | i think tomorrow ill just start writing a functional test. i need to anyway but i was hoping to test it manually once first to make sure it worked | 23:49 |
sean-k-mooney | because its being lost before it gets to the db it does not. | 23:50 |
melwitt | seems like it would have to mean port_numa_policy or affinity_policy are both None? | 23:50 |
sean-k-mooney | yep | 23:50 |
sean-k-mooney | affinity_policy is None | 23:50 |
melwitt | or empty in some way | 23:50 |
sean-k-mooney | well none or empty ya | 23:50 |
sean-k-mooney | port_numa_policy in my testing is required | 23:50 |
sean-k-mooney | well | 23:50 |
sean-k-mooney | the policy on the port is required | 23:51 |
sean-k-mooney | that does not mean i dont have a different bug | 23:51 |
*** CeeMac has quit IRC | 23:51 | |
sean-k-mooney | im reading the value form the port here https://review.opendev.org/c/openstack/nova/+/773792/1/nova/network/neutron.py#2053 | 23:52 |
sean-k-mooney | i fixed the spelling localy | 23:52 |
melwitt | is it possible is null or empty from neutron itself? | 23:52 |
sean-k-mooney | not any more alos https://review.opendev.org/c/openstack/nova/+/773792/1/nova/network/neutron.py#3039 | 23:53 |
melwitt | or the constant is wrong? | 23:53 |
sean-k-mooney | i also extended the nova VIF object | 23:54 |
sean-k-mooney | to store it and if i look in the network info cache its set to required | 23:54 |
sean-k-mooney | and i create the port before i booted the vm | 23:54 |
sean-k-mooney | so i could check it was set | 23:54 |
sean-k-mooney | so the VIF object makes it to the db fine | 23:54 |
melwitt | oh ok. hrm | 23:55 |
sean-k-mooney | ya its weird | 23:55 |
sean-k-mooney | i did spell consttants wong but thats what i fixed locally | 23:55 |
sean-k-mooney | oh.... | 23:55 |
sean-k-mooney | that would do it https://review.opendev.org/c/openstack/nova/+/773792/1/nova/network/neutron.py#2039 | 23:56 |
sean-k-mooney | if i dont ask for the field... then my numa_policy = port.get(consttants.NUMA_POLICY, None) is always going to be None | 23:57 |
sean-k-mooney | we normlly dont filter like that so i never check for it | 23:57 |
melwitt | oh oops | 23:58 |
melwitt | at least you found it :) | 23:58 |
sean-k-mooney | yep | 23:58 |
sean-k-mooney | i did have a probalem before where i also forgot to trun the extention on in neutorn fully | 23:59 |
sean-k-mooney | so i would create the port, osc would show the policy in the port in the respocne but neutorn never saved it to the db on its end | 23:59 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!