Friday, 2024-07-12

opendevreviewmelanie witt proposed openstack/nova master: Add config option [quota]strict_unified_limits  https://review.opendev.org/c/openstack/nova/+/92402502:21
opendevreviewmelanie witt proposed openstack/nova master: Add config option [quota]strict_unified_limits  https://review.opendev.org/c/openstack/nova/+/92402507:32
melwittsean-k-mooney: ^ POC attempt at the different logic we chatted about the other day07:35
opendevreviewBalazs Gibizer proposed openstack/nova stable/2023.2: fix qemu-img version dependent tests  https://review.opendev.org/c/openstack/nova/+/92390708:04
opendevreviewBalazs Gibizer proposed openstack/nova stable/2023.2: Stabilize iso format unit tests  https://review.opendev.org/c/openstack/nova/+/92393608:04
opendevreviewBalazs Gibizer proposed openstack/nova stable/2023.1: fix qemu-img version dependent tests  https://review.opendev.org/c/openstack/nova/+/92390808:09
opendevreviewBalazs Gibizer proposed openstack/nova stable/2023.1: Stabilize iso format unit tests  https://review.opendev.org/c/openstack/nova/+/92393708:09
sean-k-mooneymelwitt: oh cool. after creating that how do you feel about one approch vs the other. no need to reply now but let me know after you get some sleep09:38
gibisean-k-mooney: could you approve https://review.opendev.org/c/openstack/nova/+/923935 to continue landing the series?10:09
gibimost of the 2023.2 is also on the gate now thanks to elodilles 10:09
sean-k-mooneyi for got to clice the buttons and only left a commet ...10:13
sean-k-mooneybut done now10:14
gibisean-k-mooney: thanks, could you review the same patch on the older branches? Then I can just ping elodilles when we need the approve10:15
sean-k-mooneyalready am10:15
sean-k-mooneyok i think im +2 on all the ones i didnt push10:17
opendevreviewMerged openstack/nova stable/2023.2: port format inspector tests from glance  https://review.opendev.org/c/openstack/nova/+/92372710:27
opendevreviewMerged openstack/nova stable/2023.2: Reproduce iso regression with deep format inspection  https://review.opendev.org/c/openstack/nova/+/92372810:27
fricklergibi: sean-k-mooney: gate failure in openstacksdk-functional-devstack on https://review.opendev.org/c/openstack/nova/+/923729 . if you can double check that it is unrelated, I'd submit it right back into gate again11:18
opendevreviewMerged openstack/nova stable/2024.1: Stabilize iso format unit tests  https://review.opendev.org/c/openstack/nova/+/92393511:20
opendevreviewMerged openstack/nova stable/2023.1: port format inspector tests from glance  https://review.opendev.org/c/openstack/nova/+/92373111:20
opendevreviewMerged openstack/nova stable/2023.1: Reproduce iso regression with deep format inspection  https://review.opendev.org/c/openstack/nova/+/92373211:21
vicentGood morning! I am using sriov, I have two PFs with two VFs each. The PFs are connected to different networks, so when I create a neutron port with type direct, I need a way to map that port so it uses one of the VFs of a specific PF. I found this document https://specs.openstack.org/openstack/nova-specs/specs/zed/approved/pci-device-tracking-in-placement.html which uses traits, but I need to set 11:41
vicentthe trait on the port, not on the flavor. Basically, how can I configure the VFs of different PF in pools, so I have control to which VF pool is used for which network? I managed to get my PFs as resource providers on placement and I my ports get correctly bound to the VFs, but I can't control the mapping to a specific custom trait. How does nova request a specific resource provider for the port? 11:41
vicentIs there a way to do what I am trying to do?11:42
sean-k-mooneyvicent: the only way to do that today is to use a differnt neutron phsynet for each PF11:43
sean-k-mooneythere is no support for anti affintiy or vf bonding in openstack today11:44
sean-k-mooneysome have tried to hack it in without enableing it in nova or neutron11:44
sean-k-mooneymelonox have some vf lag supprot11:44
sean-k-mooneybut its not officaly supproted in nova or neutorn11:44
vicentI can't use physnet in my case :S11:45
vicentDo you have a link to the mellanox resource?11:45
sean-k-mooneythen unfortunetly you cant do this in openstack11:45
sean-k-mooneythe proibelme with the melxons approch si there is no awarenss of it in nova ans no schduler supprot as a result11:46
sean-k-mooneythere is alos no way to request it as an end user 11:46
sean-k-mooneyit done out fo band bay howe you confirg the host hardware11:46
vicentok, then it won't work for me either11:46
sean-k-mooneyhttps://www.stackhpc.com/vflag-kayobe.html11:47
vicentdoes nova have any plugin/extension mechanism that could be used to control that?11:49
sean-k-mooneyno11:49
vicentso if I wanted to get that, I would need to modify nova directly... Ok11:50
sean-k-mooneyas i said the only way to do anti affinity at the pf/vf level is with physnets11:50
sean-k-mooneyyes and form an upstream poitn of view we do not plann to supprot this until neutron has a bonding api similer to trunk ports11:51
sean-k-mooneywhich was discuss a few years ago but no one is currently working on that11:51
vicentMy use case is not for bonding11:51
sean-k-mooneywell we also don thave any kind of port grouping or anti affintiy api in neutron that can be used moddel the relationship11:52
sean-k-mooneythat really the gap11:52
vicentIt is more about scheduling and resource selection, not grouping or anti-affinity11:53
sean-k-mooneyright so pci in palcement does nto supprot neutorn prots righ tnow11:53
sean-k-mooneythat is planned for a future release11:53
vicentI want to be able to enforce a specific PF on my port without physnet. 11:53
sean-k-mooneyvicent: well that is somethign we explictly dont support11:54
sean-k-mooneyits a disging goal ot not allow you to directly choose the PF on a host11:54
sean-k-mooneyyou can poticaly abuse traits to support that11:54
vicentwell, not the PF, but the any VFs of that PF11:55
sean-k-mooneybut we dont intent to allwo that for the same reason we dont support selecting numa nodes or cpus11:55
sean-k-mooneythat is simpler to do and can be acive once we supprot neutron sriov prots in placemnet11:55
sean-k-mooneythis is the planned desgin https://specs.openstack.org/openstack/nova-specs/specs/2023.1/implemented/pci-device-tracking-in-placement.html#neutron-sr-iov-ports-out-of-scope11:57
sean-k-mooneyneutron port can have resouce requests. and if we support triat request via that on the port level it would enable your usecase in a not terrible way11:58
sean-k-mooneyhowever i expect it to be a year or more before we implement that11:59
vicentOk, that clarifies11:59
vicentI guess I will try with physnet and without placement12:00
vicentThanks sean-k-mooney12:00
sean-k-mooneythe hrrible hack that telcos have done for years is ot have 2 phsnets on the same phsyical netowrk(something your not allowed to do technialy)12:01
sean-k-mooneyand create a netron neetwork with the same vlan on both12:01
sean-k-mooneyand then one port on each network12:01
sean-k-mooneythat allwos them to have one port form each numa node or on diffent phsyical nic12:02
sean-k-mooneydepending on how they created the phsynets12:02
sean-k-mooneythat breaks tenant isolation as vlans on diffent phsynets are not ment to be able to interact like that12:03
sean-k-mooneybut in a private cloud where the network are created by an admin that work for them12:03
gibifrickler: I agree that was an unrealted failure12:30
gibithanks for monitoring it12:31
opendevreviewBalazs Gibizer proposed openstack/nova master: DNM: test with post-copy enabled  https://review.opendev.org/c/openstack/nova/+/92407514:48
opendevreviewMerged openstack/nova stable/2023.2: Add iso file format inspector  https://review.opendev.org/c/openstack/nova/+/92372915:31
opendevreviewMerged openstack/nova stable/2023.2: fix qemu-img version dependent tests  https://review.opendev.org/c/openstack/nova/+/92390715:31
melwittsean-k-mooney: I think I like the second approach more. it turned out to simpler than I expected17:22
opendevreviewMerged openstack/nova stable/2023.2: Stabilize iso format unit tests  https://review.opendev.org/c/openstack/nova/+/92393618:16
opendevreviewMerged openstack/nova stable/2023.1: Add iso file format inspector  https://review.opendev.org/c/openstack/nova/+/92373318:16
opendevreviewMerged openstack/nova stable/2023.1: fix qemu-img version dependent tests  https://review.opendev.org/c/openstack/nova/+/92390818:16
sean-k-mooneymelwitt: you have encapulstaed the logic pretty cleanly into the should_enforce function18:39
sean-k-mooneymelwitt: im not entirly sure how i feel about caching the keystone client for the limt enfroceer18:40
sean-k-mooneyits proably fine if it internally handels updating the auth18:41
sean-k-mooneywhen a token expires18:41
sean-k-mooneywe can have diffent limties per project howver right so w eneed to ensure we are usign the users token to get teh registered limits so we might need to concruct it each time18:43
melwittsean-k-mooney: yeah, I wasn't totally sure about that but I think it does. we cache most of the clients like placement and neutron IIRC18:43
melwittsean-k-mooney: oh.. yeah good point. 😆 18:44
sean-k-mooneydont we normally passs a diffent context to the client wehn making a call18:44
sean-k-mooneywith the user token18:44
melwittyeah you're right18:44
melwittI'll need to change that18:44
sean-k-mooneyso in stead of needign a new keyston section in the config i thin kwe can use the user token + our service user tooken18:44
sean-k-mooneyignoing th eclinet the patch looks pretty nice to me in general18:46
sean-k-mooneyelodilles: thanks for all the work you have done on the iso fromat backport18:48
melwittI'll revise the spec to the second approach18:49
sean-k-mooneyif your happy with that it works for me. ill try and find time to review the spec and patch properly on monday so18:50
melwittok I'll have it updated by then. thanks18:52
sean-k-mooneywell dont kill your self to do it over the weekend but if we want to do it this cycle we need to get it landed before spec freze which is thrusday18:56
melwittI did this to myself 😝 but it also won't kill me. it should be easy (tm)18:57
elodillessean-k-mooney: no problem :) thanks for the fixes :]20:21
opendevreviewElod Illes proposed openstack/nova master: [tools] Ignore bot generated patches  https://review.opendev.org/c/openstack/nova/+/92410321:19
opendevreviewElod Illes proposed openstack/nova master: [tools] Backport validator: handle unmaintained  https://review.opendev.org/c/openstack/nova/+/92410421:19
opendevreviewMerged openstack/nova stable/2023.1: Stabilize iso format unit tests  https://review.opendev.org/c/openstack/nova/+/92393721:32

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