Wednesday, 2021-02-17

*** jangutter has joined #openstack-nova00:06
*** xarlos has quit IRC00:07
*** jangutter has quit IRC00:11
*** jangutter has joined #openstack-nova00:12
*** zenkuro has quit IRC00:25
*** zenkuro has joined #openstack-nova00:25
*** k_mouza has joined #openstack-nova00:30
*** macz_ has quit IRC00:34
*** k_mouza has quit IRC00:34
*** tbachman has quit IRC00:52
openstackgerritMerged openstack/nova master: cmd: Remove 'nova-manage db null_instance_uuid_scan'  https://review.opendev.org/c/openstack/nova/+/77377500:52
*** tbachman has joined #openstack-nova00:52
*** macz_ has joined #openstack-nova00:55
openstackgerritMerged openstack/nova master: cmd: Remove 'nova-manage db ironic_flavor_migration'  https://review.opendev.org/c/openstack/nova/+/77377600:57
*** dviroel has quit IRC00:59
*** macz_ has quit IRC01:00
*** brinzhang has joined #openstack-nova01:10
*** macz_ has joined #openstack-nova01:16
*** macz_ has quit IRC01:20
*** zenkuro has quit IRC01:31
*** macz_ has joined #openstack-nova01:37
*** macz_ has quit IRC01:41
*** k_mouza has joined #openstack-nova01:49
*** macz_ has joined #openstack-nova01:58
*** k_mouza has quit IRC02:00
*** macz_ has quit IRC02:02
*** macz_ has joined #openstack-nova02:18
*** macz_ has quit IRC02:23
*** rcernin has quit IRC02:27
*** macz_ has joined #openstack-nova02:58
*** hemanth_n has joined #openstack-nova02:58
*** macz_ has quit IRC03:02
*** rcernin has joined #openstack-nova03:07
*** mkrai has joined #openstack-nova03:14
openstackgerritBilly Olsen proposed openstack/nova stable/train: add functional regression test for bug #1888395  https://review.opendev.org/c/openstack/nova/+/75953303:29
openstackbug 1888395 in OpenStack Compute (nova) ussuri "live migration of a vm using the single port binding work flow is broken in train as a result of the introduction of sriov live migration" [High,In progress] https://launchpad.net/bugs/1888395 - Assigned to Billy Olsen (billy-olsen)03:29
openstackgerritBilly Olsen proposed openstack/nova stable/train: Set migrate_data.vifs only when using multiple port bindings  https://review.opendev.org/c/openstack/nova/+/75915303:29
*** psachin has joined #openstack-nova03:41
*** khomesh24 has joined #openstack-nova03:42
*** khomesh24 has quit IRC03:42
*** khomesh24 has joined #openstack-nova03:43
*** mkrai has quit IRC03:49
*** mkrai_ has joined #openstack-nova03:50
*** k_mouza has joined #openstack-nova04:00
*** k_mouza has quit IRC04:04
*** k_mouza has joined #openstack-nova04:13
openstackgerritMerged openstack/nova master: hardware: Check inventory of shared CPUs for 'mixed' policy  https://review.opendev.org/c/openstack/nova/+/75610104:14
*** macz_ has joined #openstack-nova04:17
*** k_mouza has quit IRC04:18
*** macz_ has quit IRC04:22
*** vishalmanchanda has joined #openstack-nova04:36
*** ratailor has joined #openstack-nova04:37
*** macz_ has joined #openstack-nova04:38
*** hamalq has quit IRC04:41
*** macz_ has quit IRC04:42
*** macz_ has joined #openstack-nova04:58
*** gyee has quit IRC05:01
*** macz_ has quit IRC05:03
*** mkrai_ has quit IRC05:15
*** mkrai has joined #openstack-nova05:28
*** whoami-rajat__ has joined #openstack-nova06:12
*** belmoreira has joined #openstack-nova06:30
*** mnaser has quit IRC06:32
*** mnaser has joined #openstack-nova06:34
*** ralonsoh has joined #openstack-nova06:41
*** cz3 has quit IRC06:48
*** cz3 has joined #openstack-nova06:49
*** belmoreira has quit IRC07:02
*** slaweq has joined #openstack-nova07:07
*** bbowen_ has joined #openstack-nova07:16
*** bbowen has quit IRC07:17
*** belmoreira has joined #openstack-nova07:17
*** mkrai has quit IRC07:19
*** mkrai has joined #openstack-nova07:29
*** k_mouza has joined #openstack-nova07:29
*** k_mouza has quit IRC07:34
*** dklyle has quit IRC07:38
*** rcernin has quit IRC07:47
*** luksky has joined #openstack-nova07:57
*** macz_ has joined #openstack-nova08:10
*** rpittau|afk is now known as rpittau08:12
*** rcernin has joined #openstack-nova08:12
*** andrewbonney has joined #openstack-nova08:13
*** macz_ has quit IRC08:15
*** bbowen_ has quit IRC08:16
*** bbowen_ has joined #openstack-nova08:16
*** rcernin has quit IRC08:19
*** rcernin has joined #openstack-nova08:26
*** rcernin has quit IRC08:31
*** ratailor has quit IRC08:33
*** ratailor has joined #openstack-nova08:34
*** rcernin has joined #openstack-nova08:37
*** xarlos has joined #openstack-nova08:43
*** xek has joined #openstack-nova08:49
*** rcernin has quit IRC08:51
*** rcernin has joined #openstack-nova08:56
*** zenkuro has joined #openstack-nova08:59
*** rcernin has quit IRC09:02
*** ociuhandu has joined #openstack-nova09:07
*** tosky has joined #openstack-nova09:14
*** ociuhandu has quit IRC09:17
*** tosky_ has joined #openstack-nova09:20
*** zenkuro has quit IRC09:23
*** tosky has quit IRC09:24
*** zenkuro has joined #openstack-nova09:24
*** tosky_ is now known as tosky09:25
*** rcernin has joined #openstack-nova09:28
openstackgerritLee Yarwood proposed openstack/nova master: libvirt: Record the machine_type of instances in system_metadata  https://review.opendev.org/c/openstack/nova/+/76753309:30
openstackgerritLee Yarwood proposed openstack/nova master: nova-manage: Add machine_type get command  https://review.opendev.org/c/openstack/nova/+/76954809:30
openstackgerritLee Yarwood proposed openstack/nova master: nova-manage: Add machine_type update command  https://review.opendev.org/c/openstack/nova/+/77489609:30
openstackgerritLee Yarwood proposed openstack/nova master: WIP nova-manage: Add machine_type list_unset command  https://review.opendev.org/c/openstack/nova/+/77489709:30
openstackgerritLee Yarwood proposed openstack/nova master: nova-status: Add hw_machine_type check for libvirt instances  https://review.opendev.org/c/openstack/nova/+/77064309:30
openstackgerritLee Yarwood proposed openstack/nova master: libvirt: Add a config update workflow test for [libvirt]hw_machine_type  https://review.opendev.org/c/openstack/nova/+/77489809:30
openstackgerritLee Yarwood proposed openstack/nova master: docs: Add admin docs for configuring and updating machine types  https://review.opendev.org/c/openstack/nova/+/77489909:30
*** rcernin has quit IRC09:35
*** derekh has joined #openstack-nova09:39
swp20sean-k-mooney: morning, i have linked irc log in the NOVNC patch, please check https://review.opendev.org/c/openstack/nova/+/62233609:46
*** ociuhandu has joined #openstack-nova09:47
*** k_mouza has joined #openstack-nova09:51
*** rcernin has joined #openstack-nova09:59
*** dtantsur|afk is now known as dtantsur10:01
openstackgerritBelmiro Moreira proposed openstack/nova master: Change API unexpected exception message  https://review.opendev.org/c/openstack/nova/+/62806110:03
*** ociuhandu has quit IRC10:10
*** zoharm has joined #openstack-nova10:11
*** mkrai has quit IRC10:19
*** ociuhandu has joined #openstack-nova10:20
bauzasstupid question : given the tox-lower-constraints job failed on https://review.opendev.org/c/openstack/nova/+/773976/6, I guess I can try to reproduce it locally by using the same tox target?10:30
*** rcernin has quit IRC10:31
*** jangutter_ has joined #openstack-nova10:34
*** jangutter has quit IRC10:38
*** prometheanfire has quit IRC10:42
lyarwoodbauzas: yes10:50
bauzasit loosely fails10:50
bauzasweirdo10:51
bauzasasked for a recheck b/c I don't understand it a single shit10:51
lyarwoodyou might need to hardcode the basepython version if you're on Fedora FWIW10:51
lyarwoodotherwise it's going to try to use py3910:51
lyarwoodthat's likely going to break random stuff in that env10:52
lyarwoodtbh I assume your issue is with mock==3.0.010:53
bauzasyup10:53
lyarwoodtry mock.Mock(spec=client.Client)?10:53
lyarwoodbut yeah I don't get how auto_spec wouldn't work10:53
lyarwoodcreate_autospec* even10:54
bauzaswill try, need to lunch10:54
bauzaslyarwood: thanks10:54
bauzaslyarwood: the fun is that I wrote tests for both segments and networks, and they're both using autospec10:55
bauzasbut it only fails for networks, not subnets10:56
bauzasso it looks to me unrelated10:56
*** prometheanfire has joined #openstack-nova11:02
openstackgerritLee Yarwood proposed openstack/nova master: libvirt: Mock the os-brick connector within base.ServersTestBase  https://review.opendev.org/c/openstack/nova/+/72891411:11
openstackgerritLee Yarwood proposed openstack/nova master: tox: Add passenv DISABLE_CHERRY_PICK_CHECK to pep8  https://review.opendev.org/c/openstack/nova/+/77611111:26
lyarwoodelod: ^ thanks btw, I think we were calling the script directly downstream somewhere so I didn't even think about the tox target11:27
*** dviroel has joined #openstack-nova11:38
elodlyarwood: oh, i see, np :)11:47
*** ociuhandu has quit IRC11:53
*** k_mouza has quit IRC12:16
*** k_mouza has joined #openstack-nova12:17
gibibauzas: went through the routed net series. I have some comments inline but you can convince me to handle those as follow ups12:32
gibibauzas: at the same time I would like to ask you to look at the last relevant QoS inteface attach patch https://review.opendev.org/c/openstack/nova/+/75653012:33
*** kashyap has quit IRC12:36
*** bbowen_ has quit IRC12:49
*** bbowen_ has joined #openstack-nova12:50
*** bbowen_ has quit IRC12:50
*** rcernin has joined #openstack-nova12:58
*** rcernin has quit IRC13:02
*** ratailor has quit IRC13:04
*** sapd1 has joined #openstack-nova13:20
*** bbowen has joined #openstack-nova13:23
*** khomesh24 has quit IRC13:30
*** macz_ has joined #openstack-nova13:41
*** macz_ has quit IRC13:45
*** hemanth_n has quit IRC13:56
stephenfinIf anyone has some spare review time, https://review.opendev.org/q/topic:%2522poison-os-uname%2522+status:open are easy test improvement patches and getting them merged will help me avoid rebasing them endlessly as I work on the secure boot patches :-D14:04
*** xarlos has quit IRC14:10
*** hoonetorg has quit IRC14:11
*** hemna has quit IRC14:12
lyarwoodstephenfin: ack14:12
lyarwoodsean-k-mooney: https://github.com/cirros-dev/cirros/issues/64 FYI, got it to work finally14:13
*** hemna has joined #openstack-nova14:13
*** spatel_ has joined #openstack-nova14:13
sean-k-mooneyhum https://github.com/lyarwood/cirros/commit/034d2e2e3719d96c4ef14ea859af72d7b5db311f14:14
sean-k-mooneythat really should not be needed14:14
sean-k-mooneyit shoudl have been automatically loaded14:15
lyarwoodit isn't even present in the image14:15
sean-k-mooneybut if it fixes it i gues thats ok14:15
lyarwoodthat's the problem14:15
lyarwoodthat list is copied in and everything else is dropped14:15
lyarwoodI guess that's what keeps the image so small14:15
sean-k-mooneyoh they are usign it for that too14:15
sean-k-mooneyi see14:15
sean-k-mooneyso the fact we can boot at all implies its in the initramfs14:16
lyarwoodyeah indeed14:16
sean-k-mooneybut its not in the root filesystem14:16
lyarwoodI couldn't work out where it was being pulled in tbh14:16
lyarwoodlikely from a prebuilt initramfs from Ubuntu or something?14:16
sean-k-mooneyya proably14:16
sean-k-mooneycool hopefully that can get merged soon ish14:17
sean-k-mooneyyou might want to flag this on #openstack-qa14:17
sean-k-mooneyi belive one of the people that maintain cirros is on that channel14:17
*** psachin has quit IRC14:18
lyarwoodyeah I can do later today14:18
sean-k-mooneylyarwood: if you are taking to them then it would be ice to fix https://bugs.launchpad.net/ubuntu/+source/linux/+bug/185638714:18
openstackLaunchpad bug 1856387 in linux (Ubuntu Bionic) "Freezing on boot since kernel 4.15.0-72-generic release" [High,Fix released] - Assigned to You-Sheng Yang (vicamo)14:18
sean-k-mooneythe current currenle they use is missing the backport14:19
sean-k-mooney*current kernel14:19
*** lpetrut has joined #openstack-nova14:20
sean-k-mooneyi tried to fix this in devstack https://review.opendev.org/c/openstack/devstack/+/766079 and nova https://review.opendev.org/q/topic:%22workaround-disable-apic%22+(status:open%20OR%20status:merged)14:20
sean-k-mooneybut was told it would be fixed in cirros14:20
sean-k-mooneyso it woudl be good to confirm that is fixed.14:20
sean-k-mooneyif they are rebuilding the image14:21
*** spatel_ has quit IRC14:22
lyarwoodkk14:23
*** spatel has joined #openstack-nova14:28
fricklerlyarwood: sean-k-mooney: best discuss in #cirros with smoser directly14:30
sean-k-mooneyfrickler: ack, wasnt sure who was maintianing it14:33
*** hoonetorg has joined #openstack-nova14:42
stephenfinbauzas: Reviewed the routed networks series again14:48
*** zzzeek has quit IRC14:49
*** zzzeek has joined #openstack-nova14:50
*** jhesketh has quit IRC14:52
*** brinzhang has quit IRC14:55
*** brinzhang has joined #openstack-nova14:55
*** brinzhang has quit IRC14:57
*** brinzhang has joined #openstack-nova14:58
*** slaweq has quit IRC15:00
*** ociuhandu has joined #openstack-nova15:01
*** slaweq has joined #openstack-nova15:04
*** ociuhandu has quit IRC15:05
*** ociuhandu has joined #openstack-nova15:06
*** spatel has quit IRC15:13
*** ociuhandu has quit IRC15:15
*** ociuhandu has joined #openstack-nova15:16
*** ociuhandu_ has joined #openstack-nova15:19
*** macz_ has joined #openstack-nova15:19
*** ociuhandu_ has quit IRC15:19
*** ociuhandu_ has joined #openstack-nova15:20
*** k_mouza has quit IRC15:20
*** ociuhandu has quit IRC15:21
*** spatel has joined #openstack-nova15:21
openstackgerritMerged openstack/nova master: Run nova-live-migration job with neutron-trunk enabled  https://review.opendev.org/c/openstack/nova/+/77583815:22
*** macz_ has quit IRC15:24
*** spatel has quit IRC15:32
*** spatel has joined #openstack-nova15:35
*** spatel has quit IRC15:40
*** dklyle has joined #openstack-nova15:41
*** hemna has quit IRC15:41
*** hemna has joined #openstack-nova15:43
openstackgerritMerged openstack/nova master: use psycopg2 binary instead of source package  https://review.opendev.org/c/openstack/nova/+/77047315:44
openstackgerritMerged openstack/nova stable/ussuri: Add upgrade check about old computes  https://review.opendev.org/c/openstack/nova/+/77076515:45
openstackgerritMerged openstack/nova stable/ussuri: add functional regression test for bug #1888395  https://review.opendev.org/c/openstack/nova/+/75952215:45
openstackbug 1888395 in OpenStack Compute (nova) ussuri "live migration of a vm using the single port binding work flow is broken in train as a result of the introduction of sriov live migration" [High,In progress] https://launchpad.net/bugs/1888395 - Assigned to Billy Olsen (billy-olsen)15:45
openstackgerritMerged openstack/nova stable/ussuri: Set migrate_data.vifs only when using multiple port bindings  https://review.opendev.org/c/openstack/nova/+/75915115:45
openstackgerritMerged openstack/nova master: tox: Add passenv DISABLE_CHERRY_PICK_CHECK to pep8  https://review.opendev.org/c/openstack/nova/+/77611115:46
openstackgerritLee Yarwood proposed openstack/nova stable/victoria: tools: Allow check-cherry-picks.sh to be disabled by an env var  https://review.opendev.org/c/openstack/nova/+/76602315:50
openstackgerritLee Yarwood proposed openstack/nova stable/ussuri: tools: Allow check-cherry-picks.sh to be disabled by an env var  https://review.opendev.org/c/openstack/nova/+/76602415:51
openstackgerritLee Yarwood proposed openstack/nova stable/train: tools: Allow check-cherry-picks.sh to be disabled by an env var  https://review.opendev.org/c/openstack/nova/+/76602515:52
*** macz_ has joined #openstack-nova15:58
*** macz_ has quit IRC15:59
*** macz_ has joined #openstack-nova15:59
*** spatel has joined #openstack-nova16:05
*** k_mouza has joined #openstack-nova16:14
*** dklyle has quit IRC16:21
*** lpetrut has quit IRC16:25
*** dklyle has joined #openstack-nova16:29
openstackgerritMerged openstack/nova stable/victoria: Disallow CONF.compute.max_disk_devices_to_attach = 0  https://review.opendev.org/c/openstack/nova/+/77298416:31
*** hemna has quit IRC16:31
*** hemna has joined #openstack-nova16:32
*** slaweq has quit IRC16:53
*** rcernin has joined #openstack-nova16:58
openstackgerritBalazs Gibizer proposed openstack/nova master: libvirt: Define and emit DeviceRemovedEvent and DeviceRemovalFailedEvent  https://review.opendev.org/c/openstack/nova/+/74992916:59
*** ociuhandu_ has quit IRC17:02
*** rcernin has quit IRC17:02
*** ociuhandu has joined #openstack-nova17:02
*** mlavalle has joined #openstack-nova17:05
*** dtantsur is now known as dtantsur|afk17:17
openstackgerritVishal Manchanda proposed openstack/nova master: Docs: Correct ``Password injection using the dashboard`` Explanation  https://review.opendev.org/c/openstack/nova/+/77508417:22
bauzasgibi: thanks for the review17:33
bauzasstephenfin: ack, will try to provide a new revision again17:34
*** rpittau is now known as rpittau|afk17:41
*** gyee has joined #openstack-nova17:43
bauzasstephenfin: wdym by "trailing full stop" https://review.opendev.org/c/openstack/nova/+/773976/6/nova/network/neutron.py@3500 ?17:46
stephenfinjust add a full stop at the end of the sentence :)17:46
stephenfinyou had it elsewhere17:46
bauzasa dot ?17:47
bauzasOK, can do17:47
stephenfinoh, a period17:47
stephenfinBritish English17:47
stephenfinyeah17:47
bauzasoh maaaaaan17:47
bauzasartom: how quebecian folks name the end of a phrase ? "un point", right?17:47
* bauzas doesn' know why US English is so freaking different from British English (or the other way)17:48
sean-k-mooneyor a "full stop"17:49
sean-k-mooneyoh that what you said first17:49
sean-k-mooneybauzas: why is frech frech so differnt for canadian french17:50
sean-k-mooneyalso stephenfin and i technically speak https://en.wikipedia.org/wiki/Hiberno-English more of the time17:50
bauzassean-k-mooney: we name it the same AFAIK :p it's "un point"17:50
sean-k-mooneywell a decimal point and period/full stop are two different things17:51
bauzassean-k-mooney: b/c you folks are enough crazy to use a dot for decimal numbers17:52
bauzassean-k-mooney: we rather use commas17:52
sean-k-mooneywe call it a point if its its mid way in a charter and a fullstop or period if its on the base of the charter17:52
sean-k-mooneybauzas: well we call it a decimal point17:52
bauzaslike, I'd be happy to pay you 10,000€ in my language17:52
bauzasit's more or less the amount of a pint of beer in Paris17:53
sean-k-mooneywould that not be 10 euro in your defintion17:53
bauzasindeed ;)17:53
bauzas10.000,00€ in my language is ten thousand euros and zero cts17:53
sean-k-mooneyalso we put the € first so €10,000 is ten thousand euros17:54
bauzaswe use dots for thousands17:54
*** ociuhandu has quit IRC17:54
bauzasand commas for decimals17:54
*** ralonsoh has quit IRC17:54
sean-k-mooneyyep we use , for thosand seperate and . for decimal point17:54
bauzasyou can't imagine how Excels is f**** lots of Frenchs :p17:54
sean-k-mooneyalthough . is techncally not a desimal point but i cant type it in this font17:55
sean-k-mooneymost indian languages also dont group by 3 digts17:56
sean-k-mooney· is a descimal point . is a full stop17:57
* bauzas now got a headache17:58
sean-k-mooneyno one make that distinction unless they are writing by hand however and even then many done bother anymore17:58
bauzasI even don't know how to set a decimal point on my french keyboard17:58
bauzasI only have full stops17:59
sean-k-mooneyyou normally cant even on a iso or ansi one17:59
bauzas\o/17:59
bauzaseven your own keyboards don't respect your language, lovely17:59
sean-k-mooneytecnically the on the number pad should be ·17:59
sean-k-mooneynot .17:59
bauzasanyway17:59
sean-k-mooneyits like the fact taht the - on the number pad is different to the one on the number line18:00
sean-k-mooneybut many things treat them the same18:00
bauzasgibi: stephenfin: thanks to you, I have to dig into PEP484 to find how to say as type hint result : "it's a bool or None"18:00
sean-k-mooneywhich is why word always breadk linux command by changing it18:00
stephenfinbauzas: ty.Optional[bool]18:00
bauzasgibi: stephenfin: the whole reason why I hate mypy, it overcomplicates things18:00
bauzasstephenfin: just saw it18:00
sean-k-mooneybauzas: we can agreee to disagree on that :)18:01
stephenfinyeah :)18:01
bauzashttps://www.python.org/dev/peps/pep-0484/ is my new bed book18:01
openstackgerritJessie Lass proposed openstack/nova master: Add emulation support if host arch != guest arch.  https://review.opendev.org/c/openstack/nova/+/77215618:02
bauzasstephenfin: question, don't you feel we duplicate information between docstrings and type hints ?18:04
bauzasof course, we will miss static type checking with docstrings18:04
bauzasbut from a reviewer perspective, this is the exact same metadata18:05
sean-k-mooneybauzas: yes but i would prefer to delete the doc sting if i had to choose18:05
stephenfingibi already said as much in a review. mypy is for types information, docstring are for context18:05
sean-k-mooneyi never really like having the parmaters in the doc stings. they always just felt like a hack due to a lack of typing18:06
bauzassean-k-mooney: if the API docs are autogenerated based on type hints, I could imagine it18:06
stephenfinthat could be done quite easily with Sphinx18:06
bauzasI know18:06
stephenfinexcept we don't publish API docs so it's a moot point18:06
bauzasis it done already ?18:06
stephenfinit might well be. I haven't looked18:06
bauzasstephenfin: well, we don't publish them, but you can introspect them18:06
sean-k-mooneystephenfin: well we have the api ref18:06
bauzasyuuuuuuuuuup18:06
sean-k-mooneyhttps://docs.openstack.org/api-ref/compute/18:06
sean-k-mooneyis that not the api docs18:07
bauzasand some methods are documented18:07
stephenfinsean-k-mooney: nah, I meant the Python API18:07
sean-k-mooneyi use those daylie more then any other docs bar maybe https://docs.openstack.org/nova/latest/configuration/config.html18:07
stephenfini.e. https://docs.openstack.org/oslo.config/latest/reference/api/modules.html18:07
stephenfinwe don't need that since we're not an API18:07
sean-k-mooneystephenfin: oh like you would do with doxigen18:07
stephenfin*a library18:07
stephenfinyeah18:08
sean-k-mooneyto have module docs18:08
stephenfinbauzas: you can introspect the type hints too18:08
sean-k-mooneyyep and docs string can then just document the function not the types18:08
sean-k-mooneye.g. what it sment to do and if there are any preconditions/post conditions18:09
stephenfinyeah, the "meaning" of the parameters18:10
sean-k-mooneyanyway i feel like i shoudl get some work done today so i better go do that :)18:11
*** derekh has quit IRC18:11
bauzasOH MAAAAAAAN18:12
bauzasI eventually found why lower-constraints job is failing18:13
bauzas /o\18:13
bauzasstephenfin: we can't call neutron_client.list_segments() as you proposed18:13
bauzasbecause the oldest neutron client we support doesn't have it18:14
stephenfinjust bump neutronclient?18:14
* bauzas kisses it18:14
*** k_mouza has quit IRC18:14
sean-k-mooneywell that is why having lower constratins is still valuable18:14
bauzasstephenfin: with this change ? woah18:14
bauzassean-k-mooney: yeah, I kiss this job18:14
sean-k-mooneyeven if we only list our direct dependcies18:14
bauzasbecause it showed a potential issue18:14
sean-k-mooneyyep18:14
stephenfinbauzas: Then rebase your work on top of https://review.opendev.org/c/openstack/nova/+/706295 :)18:15
bauzassean-k-mooney: stephenfin: you guys okay with bumping the neutron client for such purpose ?18:15
stephenfinthat'll do the bump for you18:15
stephenfinyup, no issues from me18:15
sean-k-mooneybauzas: the alterneive might be to use the sdk but if neutron client did not have it id ont think the sdk will18:15
stephenfinnah, let's not complicate things further. neutronclient works fine18:15
sean-k-mooneyam how big a bump18:16
sean-k-mooneyi think yes18:16
sean-k-mooneyespcally if our current min is quite old18:16
artombauzas, sorry, 1:1. Oui, c'est un point.18:16
stephenfinbauzas: If you've a choice, can you choose 7.1.0 to avoid conflicts with https://review.opendev.org/c/openstack/nova/+/706295 please18:16
bauzassean-k-mooney: stephenfin: yeah, will then bump neutronclient to 7.1.0 to avoid the conflict18:16
bauzashope that gibi will be happy too18:17
stephenfinta18:17
sean-k-mooneyoph i shoudl review https://review.opendev.org/c/openstack/nova/+/70629518:17
sean-k-mooneyi did not know you were doing that18:17
sean-k-mooneywhy are you doing that by the way18:17
sean-k-mooneyis it needed for something18:17
sean-k-mooneyor just because18:17
stephenfinit's less confusing IMO. I don't think we should reinvent the wheel18:18
sean-k-mooneygoing form ksa back to neutron client is a regression though18:18
stephenfinif there's a client that does things for us, let's delegate to them18:18
sean-k-mooneywe should be movign to the sdk18:18
sean-k-mooneyusing ksa was a step on that move18:19
stephenfinMaybe a sideways step more so than a regression, I think18:19
stephenfinNah, it was because neutronclient didn't support the thing18:19
sean-k-mooneywell it ws converted from neutorn client to ksa at somepoint i think18:19
stephenfinNope18:19
stephenfinI added the feature to neutronclient. It didn't exist before :)18:19
sean-k-mooneyok well using neutorn clinet more feels liek a regression since eventually we want to remove it18:20
stephenfinAlso, moving to sdk is a _lot_ of work. We saw that with the ironic series previously18:20
sean-k-mooneywe still use the ironic clinet in places18:20
stephenfinMy point exactly :)18:20
sean-k-mooneythat was never finsihed18:20
stephenfinWouldn't the ksa calls be replaced by sdk also?18:20
sean-k-mooneyyes18:20
stephenfinRight, so neutronclient gets us simpler code for now, and when we switch we're replacing one thing rather than two18:21
*** sapd1 has quit IRC18:21
sean-k-mooneybut move backward18:21
sean-k-mooneyit would be better to go striat form ksa to sdk18:21
stephenfinI don't see why though. neutronclient is actively supported18:21
stephenfinI mean, I realise that one client to rule them all is better in the long run18:22
sean-k-mooneywell this isnt an osc thng18:22
stephenfinone library so18:22
openstackgerritArtom Lifshitz proposed openstack/nova master: WIP: Regression test  https://review.opendev.org/c/openstack/nova/+/77625018:22
sean-k-mooneyits related18:22
sean-k-mooneyya its a libvary that is not ment to be used by any project outside of openstack18:22
stephenfinI don't get why neutronclient is worse than a homemade ksa invocation18:22
sean-k-mooneybut enven then we wanted ot encurage the project to stop using them18:23
stephenfineh, yes and no18:23
*** slaweq has joined #openstack-nova18:23
stephenfinwe want to drop use of the project specific CLIs18:23
sean-k-mooneyi just dont see why we would bother changin it when it snot broken if we are not going to change it to sdk since that what we want to use long term18:23
sean-k-mooneystephenfin: we want to drop novaclint as a lib too eventually18:24
sean-k-mooneynot just as a cli18:24
stephenfinbecause the SDK change could be 5 years off, and that ksa change and the related code it needs is there now18:24
sean-k-mooneyit does not have to be monoltic18:24
sean-k-mooneywe have sdk usage already18:24
stephenfinnot for neutron though18:25
*** spatel has quit IRC18:25
sean-k-mooneysure but lets add it incrementally18:25
stephenfineh, idk. While that changeover happens everything is worse and more confusing that it was previously18:26
stephenfinincluding things like the NeutronFixture18:26
sean-k-mooneywell this more or less hould be nitten form mos of nova18:26
stephenfinthis makes my life easier, with far less effort than switching to sdk does18:26
openstackgerritArtom Lifshitz proposed openstack/nova master: libvirt: start tracking NUMACell.socket for hosts  https://review.opendev.org/c/openstack/nova/+/76681618:27
stephenfinhuh?18:27
sean-k-mooneythe nova/network/neutorn module will hide that form the rest of nova18:27
openstackgerritArtom Lifshitz proposed openstack/nova master: extra specs/image props: add `socket` PCI NUMA affinity  https://review.opendev.org/c/openstack/nova/+/77274818:27
openstackgerritArtom Lifshitz proposed openstack/nova master: Add `socket` PCI NUMA affinity policy request prefilter  https://review.opendev.org/c/openstack/nova/+/77274918:27
openstackgerritArtom Lifshitz proposed openstack/nova master: Track host NUMA topology in PCI manager  https://review.opendev.org/c/openstack/nova/+/77414918:27
openstackgerritArtom Lifshitz proposed openstack/nova master: WIP: pci: implement the `socket` NUMA affinity policy  https://review.opendev.org/c/openstack/nova/+/77277918:27
stephenfinsean-k-mooney: If you do look at the patch, ignore the fact that it's using neutronclient for a bit and tell me it doesn't make e.g. the NeutronFixture easier to grok18:28
stephenfinthat's where I'm coming from18:28
stephenfinI'll do the sdk work eventually, once the OSC gaps are closed, but I think this is a win for now18:28
sean-k-mooneywell it not going to change the public api of  that module so im not sure it will18:29
sean-k-mooneyim looking at it now18:29
sean-k-mooneybut the frecatorign you are ding im not sure require the code changes18:30
sean-k-mooneynone of those private api shoudl be needed in the generic neutron fixture https://review.opendev.org/c/openstack/nova/+/706295/10/nova/tests/fixtures.py#b176918:31
sean-k-mooneythey should not be called outside the neutron moduule18:32
sean-k-mooneyonly the public funtion will be18:32
stephenfinThey're called inside the neutron module18:33
*** andrewbonney has quit IRC18:33
sean-k-mooneyyep which can stub them in its own unit tests18:33
stephenfinNeutronFixture is weird. It mocks APIs from both neutronclient and nova.network.neutron18:33
sean-k-mooneyya18:33
sean-k-mooneyi then to use the libvirt version of it too at least when wriging func test18:34
stephenfinno, it we don't stub them out then we need to provide an entire mock of e.g. 'bind_ports_to_host'18:34
sean-k-mooneythere is value in this yes18:34
sean-k-mooneywell we proably shoudl do htat since we need it for live migration right18:34
stephenfinwell we do18:35
stephenfinby mocking out the private APIs it calls18:35
stephenfinthat API is the glue. We don't want to mock that out18:35
stephenfinbut we do want to mock out the neutron API calls18:35
stephenfinI said above that the fixture is weird because it mocks APIs from both neutronclient and nova.network.neutron18:36
sean-k-mooneyyes which is what it was doing before18:36
stephenfinbut it really shouldn't be doing that. The reason it has to is because we're providing our own neutronclient implementation of sorts using KSA18:36
stephenfinso it has to mock those18:36
stephenfinthings like _create_port_binding18:36
stephenfinwhich, I'll note, is also what neutronclient uses now that I look at it18:37
sean-k-mooneyim surpised that has actully been added to neutronclint18:37
sean-k-mooneyit was ment to back in rocky but never happened18:37
sean-k-mooneyi cant argue that its not shorter18:38
sean-k-mooneyand it appear to more or less be functional18:38
stephenfinyeah, I added it because the ksa stuff confused me18:39
stephenfinWhat's the easiest thing to do if something confuses you? Delete it!18:39
stephenfin:)18:39
sean-k-mooneywell the reason i brougt this up is i am concerned by what it might conflict with18:39
sean-k-mooneyin terms of backports18:39
sean-k-mooneystephenfin: it conclitc with https://review.opendev.org/c/openstack/nova/+/65350618:40
sean-k-mooneywhcih we partly fixed a different way but we proably shoudl stil merge this18:41
stephenfinIt's easy to rework these things and we bring them back18:41
stephenfinno different to using f-strings in code, surely? :)18:41
stephenfinsee what I did there?18:41
sean-k-mooneyreadding ksa is alot harder18:42
sean-k-mooneyi guess on hte backport it will already be there18:43
sean-k-mooneyand if the neutron client fucntio you are using is not supprot by the older version of neutron clinet on the stable branch you would have to use ksa anyway18:43
stephenfinyeah, unfortunately so. We can't bump deps either18:43
stephenfinAnyhow, /me really needs to get to the gym18:44
stephenfin(home gym, sadly)18:44
stephenfino/18:44
sean-k-mooneyi guess we can proceed with thsi but i feel somewhat blind sided by it18:44
sean-k-mooneyi just wasnt expecting you to be reworking that18:44
sean-k-mooneyenjoy o/18:44
*** jangutter has joined #openstack-nova19:02
*** jangutter_ has quit IRC19:06
*** belmoreira has quit IRC19:08
*** slaweq has quit IRC19:20
*** luksky has quit IRC19:51
*** luksky has joined #openstack-nova19:52
*** elod has quit IRC20:17
*** elod has joined #openstack-nova20:19
*** xek has quit IRC20:27
*** belmoreira has joined #openstack-nova20:30
*** xek has joined #openstack-nova20:31
*** spatel has joined #openstack-nova20:33
*** xek has quit IRC20:37
*** xek has joined #openstack-nova20:37
*** xek has quit IRC20:41
*** xek has joined #openstack-nova20:42
*** xek has quit IRC20:44
*** slaweq has joined #openstack-nova20:46
*** rcernin has joined #openstack-nova20:58
*** rcernin has quit IRC21:03
*** belmoreira has quit IRC21:09
*** belmoreira has joined #openstack-nova21:13
*** rcernin has joined #openstack-nova21:22
*** vishalmanchanda has quit IRC21:37
*** belmoreira has quit IRC21:37
*** belmoreira has joined #openstack-nova21:38
*** eandersson has quit IRC21:40
*** ccstone has quit IRC21:40
openstackgerritmelanie witt proposed openstack/nova master: Add regression test for bug 1914777  https://review.opendev.org/c/openstack/nova/+/77530721:45
openstackbug 1914777 in OpenStack Compute (nova) "Possible race condition between n-cpu and n-api when deleting a building instance" [High,In progress] https://launchpad.net/bugs/1914777 - Assigned to melanie witt (melwitt)21:45
openstackgerritmelanie witt proposed openstack/nova master: Handle instance = None in _local_delete_cleanup  https://review.opendev.org/c/openstack/nova/+/77530821:45
*** hoonetorg has quit IRC21:49
*** gmann is now known as gmann_afk21:51
*** rcernin has quit IRC21:53
*** rcernin has joined #openstack-nova22:00
*** slaweq has quit IRC22:02
*** zoharm has quit IRC22:02
*** whoami-rajat__ has quit IRC22:09
*** belmoreira has quit IRC22:17
*** belmoreira has joined #openstack-nova22:19
*** jhesketh has joined #openstack-nova22:32
openstackgerritBelmiro Moreira proposed openstack/nova master: Change API unexpected exception message  https://review.opendev.org/c/openstack/nova/+/62806122:35
*** belmoreira has quit IRC22:42
*** spatel has quit IRC23:03
*** gmann_afk is now known as gmann23:22
*** prometheanfire has quit IRC23:27
*** prometheanfire has joined #openstack-nova23:51

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