Wednesday, 2021-08-18

ctayHello, I'd like to ask if anyone of you had to deal with something similiar as me. For the OS cluster we use, we wrote our custom weigher for nova scheduler and we would like to simulate/test how it would effect the placement of new virtual machines in time from the current state of the cluster before we deploy the change...The main objective of this weigher is to reduce the amount of wasted resources.06:29
ctayIs there any framework for this kind of testing? Or anything else? I've checked the testing tools mentioned in the docs, but none of them seems to do the thing. 06:30
ctayIt would be good if we could determine the impact of the new weighter on the scheduling before we deploy it, so we can be sure it'll actualy waste less resources.06:30
*** iurygregory_ is now known as iurygregory06:42
*** rpittau|afk is now known as rpittau07:22
lyarwoodhttps://review.opendev.org/c/openstack/nova/+/804230 - if any cores have time today reviews on this bugfix series and trivial fup's would be appreciated08:07
lyarwoodctay: so rally might be able to help with this and/or our functional test framework could also assert the behaviour for you08:08
* lyarwood looks for examples as he doesn't do much on the n-schd side08:09
lyarwoodhttps://github.com/openstack/nova/blob/370830e9445c9825d1e34e60cca01fdfe88d5d82/nova/tests/functional/test_scheduler.py but it's pretty limited08:10
*** mgoddard- is now known as mgoddard08:20
ctaylyarwood: from the quick look at the functional test framework for scheduler, it just checks whether it does what it should...that doesn't help us, as we'd like to "predict" how the changes in scheduling will affect the distribution of VM's in the cloud from the current state. 08:45
gibictay: If I were you I would try to build someting top of the existing functional test env as lyarwood suggested. That env allows you to simulate a huge amount of computes and schedule huge amount of VMs on them without having to provide the real hardware for it.08:45
gibictay: you can simply build up a many compute many VM scenario in the func test env and see how the scheduler distribute the VMs with and without your weigher08:46
lyarwoodctay: yeah as gibi said, you can assert the behaviour of the weigher in a similar sized env to your own, we don't have anything that could simulate things on an existing env08:48
lyarwoodctay: using our func framework that is08:49
opendevreviewFabian Wiesel proposed openstack/nova master: VMWare: Use WithRetrieval to get all results  https://review.opendev.org/c/openstack/nova/+/80496808:54
ctayokay, thanks for the advices ... it seems like building upon the existing func framework is a way to go then08:56
gibilyarwood: I have a question in https://review.opendev.org/c/openstack/nova/+/804230/3/nova/compute/manager.py#821509:19
lyarwoodgibi: https://review.opendev.org/c/openstack/nova/+/804299/2/nova/tests/functional/compute/test_live_migration.py - ack yeah I added this later in the series after artom asked, it's also covered elsewhere in a regression test iirc09:23
gibilyarwood: ohh cool09:25
lyarwoodhttps://review.opendev.org/q/topic:bug/1899835 was the regression test but the fix isn't complete yet09:26
gibilyarwood: there is a bugfix that needs a second set of eyes https://review.opendev.org/c/openstack/nova/+/80360309:42
lyarwoodack looking09:42
gibithanks09:42
gibiand if you are on fire then there is a second one here https://review.opendev.org/q/topic:bug/193919309:45
*** tbachman is now known as Guest471909:53
*** tbachman_ is now known as tbachman09:53
gibilyarwood: as per https://review.opendev.org/c/openstack/nova/+/804275 regarding the 2.88 support in novaclient I think that was landed here https://github.com/openstack/python-novaclient/commit/54d4da112a6e84db5bda497364a49b9debfc290409:55
lyarwoodweird, the tree I was working on only had 2.8709:55
gibilyarwood: the patch that is open in novaclient for 2.88 is acutally for a feature that havent landed yet in nova 09:55
lyarwoodack I did wonder09:55
lyarwoodokay let me try to rebase/pull things again 09:56
lyarwoodand I'll push what I have for 2.89 shortly09:56
gibiOK cool09:56
*** brinzhang0 is now known as brinzhang11:05
opendevreviewVadym Markov proposed openstack/nova master: Fix for concurrent DB update issue  https://review.opendev.org/c/openstack/nova/+/80498511:07
opendevreviewVadym Markov proposed openstack/nova master: Fix for concurrent DB update issue  https://review.opendev.org/c/openstack/nova/+/80498511:08
*** songwenping__ is now known as songwenping12:03
gibi\o/ alembic integration is on the gate 12:47
lyarwoodoh is that what the burning smell is12:48
lyarwoodstephenfin++12:48
sean-k-mooney:)12:48
opendevreviewRodrigo Barbieri proposed openstack/nova master: Fix 1vcpu error with multiqueue and vif_type=tap  https://review.opendev.org/c/openstack/nova/+/80430312:51
opendevreviewMerged openstack/nova master: db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api'  https://review.opendev.org/c/openstack/nova/+/79952412:54
opendevreviewMerged openstack/nova master: db: Exclude the 'use_db_reconnect' option  https://review.opendev.org/c/openstack/nova/+/80377812:55
opendevreviewMerged openstack/nova master: db: Move remaining 'nova.db.sqlalchemy' modules  https://review.opendev.org/c/openstack/nova/+/79952512:55
opendevreviewMerged openstack/nova master: db: Post reshuffle cleanup  https://review.opendev.org/c/openstack/nova/+/79952612:55
opendevreviewFabian Wiesel proposed openstack/nova master: VMWare: Use get_hardware_devices throughout  https://review.opendev.org/c/openstack/nova/+/80501713:01
yonglihehello, nova13:14
yonglihegibi, thanks your review, and the first one still be in +1, https://review.opendev.org/c/openstack/nova/+/771362/3813:18
gibiyonglihe: hi! fixed it 13:18
yonglihecool!13:19
mgariepyhello, is there a way to add a quota on pci devices or vgpus with nova?13:23
sean-k-mooneynot yet13:25
sean-k-mooneyit will be supported with unified limits13:25
sean-k-mooneyin the future13:25
mgariepyis there a BP ?13:25
sean-k-mooneyhttps://review.opendev.org/q/topic:%22bp%252Funified-limits-nova%22+(status:open%20OR%20status:merged)13:26
mgariepyawesome :D thanks13:27
sean-k-mooneythis is the spec https://review.opendev.org/c/openstack/nova-specs/+/789585 ^ is the full set of patches13:27
lyarwoodsean-k-mooney: forgot to say that I have that all open for review at somepoint today or tomorrow btw13:27
* lyarwood needs to go over the spec again 13:28
mgariepyTarget release is X or Z  i guess ?13:28
lyarwoodsean-k-mooney: apologies for not replying last night, got stuck in traffic on the way back from nursery13:28
sean-k-mooneyno worries13:29
opendevreviewLee Yarwood proposed openstack/python-novaclient master: Microversion 2.89 - Add attachment ids to os-volume_attachments GETs  https://review.opendev.org/c/openstack/python-novaclient/+/80502213:31
opendevreviewFabian Wiesel proposed openstack/nova master: VmWare: Fix deprecation warning in unit tests  https://review.opendev.org/c/openstack/nova/+/80502413:47
opendevreviewMerged openstack/nova master: db: Avoid use of ALTER in initial migration  https://review.opendev.org/c/openstack/nova/+/80007614:07
opendevreviewTakashi Kajinami proposed openstack/nova stable/victoria: Fix request path to query a resource provider by uuid  https://review.opendev.org/c/openstack/nova/+/80355014:09
opendevreviewTakashi Kajinami proposed openstack/nova stable/ussuri: Fix request path to query a resource provider by uuid  https://review.opendev.org/c/openstack/nova/+/80500414:10
opendevreviewMerged openstack/nova master: db: Add initial alembic migration for main DB  https://review.opendev.org/c/openstack/nova/+/79952714:27
opendevreviewMerged openstack/nova master: db: Add initial alembic migration for API DB  https://review.opendev.org/c/openstack/nova/+/79952814:28
opendevreviewMerged openstack/nova master: db: Trivial style changes  https://review.opendev.org/c/openstack/nova/+/79952914:28
opendevreviewMerged openstack/nova master: db: Normalize migrations tests  https://review.opendev.org/c/openstack/nova/+/79968414:29
opendevreviewMerged openstack/nova master: db: Integrate alembic  https://review.opendev.org/c/openstack/nova/+/79953014:29
opendevreviewMerged openstack/nova master: db: Enable auto-generation of migrations  https://review.opendev.org/c/openstack/nova/+/80007714:30
opendevreviewMerged openstack/nova master: docs: Add documentation on database migrations  https://review.opendev.org/c/openstack/nova/+/80007814:30
opendevreviewMerged openstack/nova master: db: Final cleanups  https://review.opendev.org/c/openstack/nova/+/80048414:31
opendevreviewMerged openstack/nova master: tests: Enable SADeprecationWarning warnings  https://review.opendev.org/c/openstack/nova/+/80470814:31
gibihm, that landed easily14:34
* gibi goes an marks that bp ready14:35
* artom chooses to read that as Sad Eprecation Warning14:38
gibi:D14:42
opendevreviewMerged openstack/nova master: Block servers with vGPU and device profile in heal_allocations  https://review.opendev.org/c/openstack/nova/+/80360314:43
opendevreviewMerged openstack/nova master: Smartnic support - cyborg drive  https://review.opendev.org/c/openstack/nova/+/77136214:48
stephenfingibi++ lyarwood++ Thank you both \o/15:09
gibistephenfin: thank you for making it happen15:09
lyarwoodand fixing any bugs that come up before ga15:09
lyarwoodand for fixing*15:10
stephenfinprobably not a great time to talk about my forthcoming two month PTO15:10
stephenfinif the French can do it...15:10
lyarwoodthat isn't PTO that's desertion15:10
lyarwoodget planning finally?15:11
stephenfinAh, no, I'm kidding. Just two weeks of vacation in September15:12
stephenfinNo word on planning permission either :'(15:12
lyarwoodah that sucks15:15
stephenfinOut of curiosity, is there any value in me addressing the remaining SQLAlchemy 2.x issues or is bandwidth too limited? https://review.opendev.org/c/openstack/nova/+/804878/ They'll have to be fixed eventually but not necessarily right now15:16
stephenfinThe pro being I have the context on this right now that I'm likely to lose and the con being it'll be another 10 patches (or fewer more complex patches, obv)15:17
lyarwoodI'm happy to review them if you have the time and context still15:17
stephenfinokay, cool, I'll try whip them together Friday once I've reviewed the few series on my todo list15:18
opendevreviewBalazs Gibizer proposed openstack/nova master: [nova-manage]support extended resource request  https://review.opendev.org/c/openstack/nova/+/80206015:36
opendevreviewBalazs Gibizer proposed openstack/nova master: Reno for qos-minimum-guaranteed-packet-rate  https://review.opendev.org/c/openstack/nova/+/80504615:37
NobodyCamGood Morning Nova folks, would anyone have a recommendation for a efficient way to provide kilobytes of metadata... to instances, the Compute meta data is working perfectly but not with larger amounts of data. looking at a requirement to provide 8 to 16 Kb of dynamic metadata over the life of a lease. 16:00
lyarwoodmelwitt: https://review.opendev.org/q/topic:bug/1939545 - would you mind taking a look at this bugfix series this week if you have time?16:00
lyarwoodhttps://review.opendev.org/c/openstack/nova/+/802317 also if you have time16:00
*** rpittau is now known as rpittau|afk16:06
melwittlyarwood: sure, will do16:28
opendevreviewMerged openstack/nova master: libvirt: Abort live-migration job when monitoring fails  https://review.opendev.org/c/openstack/nova/+/76443518:01
melwittbauzas: sorry to bother you, I wasn't sure if you saw there are two more patches in the placement consumer types series starting here https://review.opendev.org/c/openstack/placement/+/679441 if you might be able to get to them before FF19:07
lyarwoodhttps://bugs.launchpad.net/nova/+bug/1939108/comments/1 \o/ found the source of our weird volume detach issues, a kernel panic during boot...20:01
melwittlyarwood: nice find!!20:18
lyarwoodhttps://review.opendev.org/c/openstack/nova/+/96090 All this has happened before, and all this will happen again....20:25
melwitt:(20:29
* lyarwood calls it after sending a ML email about fixing our images in CI21:08
gmannlyarwood: gibi can we remove 'id' field also in this which was very confused with attachment_id https://review.opendev.org/c/openstack/nova/+/804275/5/nova/api/openstack/compute/volumes.py#25623:29
artomgmann, heh, I was saying something similar on the spec review23:32
artomhttps://review.opendev.org/c/openstack/nova-specs/+/79479923:33
gmannartom: ah, yeah that is same concern from me too23:36
artomgmann, maybe you can come up with something better that folks are happy with23:38
artomI couldn't think of anything that Lee was willing to accept23:38
gmannartom: i agree with your concern, replied in spec. 23:48
gmannand 'id' filed is return as volume_id not id of BlockDeviceMapping https://github.com/openstack/nova/blob/a6690e8a3e6e4b009fb821257170cf1bd06fab7d/nova/api/openstack/compute/volumes.py#L23123:48
artomgmann, huh, yeah, it is the volume ID23:57
artomI trusted Lee implicitly on that and didn't double check23:57
artomgmann, hrmm, so looking at interfaceAttachments for inspiration, there's no 'id' there at all, it's all <foo>_id for port and net23:59
artomAnd the deprecated virtualInterfaces API has an `id`, but it's a UUID for the virtual interface itself and doesn't map to anything23:59

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