Earlier  
Posted Nick Remark
#openstack-nova - 2020-11-17
11:42:34 bauzas sean-k-mooney: anyway, lunch
11:42:41 gibi bauzas: does it have an impact on https://review.opendev.org/#/c/742785/6..9/specs/wallaby/approved/support-sriov-smartnic.rst too?
11:42:42 openstackgerrit Stephen Finucane proposed openstack/nova master: api-ref: Move 'os-agents' API to obsolete section https://review.opendev.org/755729
11:42:42 openstackgerrit Stephen Finucane proposed openstack/nova master: virt: Remove 'change_instance_metadata' API https://review.opendev.org/749316
11:42:43 openstackgerrit Stephen Finucane proposed openstack/nova master: virt: Remove 'reset_network' API https://review.opendev.org/749315
11:42:43 openstackgerrit Stephen Finucane proposed openstack/nova master: virt: Remove 'get_all_bw_counters' API https://review.opendev.org/749312
11:42:44 openstackgerrit Stephen Finucane proposed openstack/nova master: objects: Remove 'BandwidthUsage', 'BandwidthUsageList' https://review.opendev.org/759114
11:42:55 bauzas gibi: I haven't reviewed this spec yet
11:43:05 gibi bauzas: nvm, I will read your comment in the vGPU spec
11:43:17 bauzas gibi: but tl;dr: I propose to leave cyborg manage the mdevs and just ask nova to bind them to the guest definition
11:43:32 bauzas which is sometimes we already have
11:43:42 bauzas s/sometimes/something
11:43:55 sean-k-mooney bauzas: ill go read it shortly
11:44:08 bauzas gibi: sean-k-mooney: the only difference would be the inventory reporting
11:44:41 bauzas but this way, this would allow cyborg to keep a persisted state of mdevs, which is something I don't wanna managed in nova and which creates problems for us
11:45:18 bauzas we haven't discussed this at the PTG, I reckon, but I feel we would all benefit of this solution
11:45:48 bauzas like, my customers would have the choice to either manage the mdev fleet by themselves and just use nova, or play with cyborg
11:46:09 sean-k-mooney bauzas im not sure they __need__ to precreate the mdev but i agree they could and it would ok to do so
11:46:30 bauzas sean-k-mooney: precreating is way better for many reasons
11:46:51 bauzas I mean, precreating after a config modification, that's it
11:46:53 sean-k-mooney i just read you last comment i need to read the rest of the doc and your comments for context
11:47:07 bauzas because once you're done with the config, your inventory won't change
11:47:09 sean-k-mooney i think it was on v2 the last time i looked
11:47:22 bauzas either way, I need to go lunching
11:47:32 bauzas my kids need to go to school
11:47:49 sean-k-mooney ya cyborg might want to be more dynmaic but i agree it has advantages
11:47:56 sean-k-mooney simplcity being one of them
12:08:10 openstackgerrit Takashi Natsume proposed openstack/nova master: Remove six.binary_type/integer_types/string_types https://review.opendev.org/728094
12:08:35 openstackgerrit Takashi Natsume proposed openstack/nova master: Remove six.text_type (1/2) https://review.opendev.org/728109
12:20:31 openstackgerrit Takashi Natsume proposed openstack/nova master: Remove six.text_type (2/2) https://review.opendev.org/728117
12:28:17 openstackgerrit Stephen Finucane proposed openstack/nova-specs master: Add modernize-os-hypervisors-api spec https://review.opendev.org/755109
12:29:43 Yumeng sean-k-mooney, @gi
12:31:08 Yumeng good morning nova ^
12:31:12 sean-k-mooney o/
12:33:01 Yumeng hi sean, I wanna discuss some issues in the vGPU specs with you. https://review.opendev.org/#/c/750116/
12:36:18 sean-k-mooney im reviewing it currently
12:36:28 sean-k-mooney but sure if you have topics bring them up
12:41:23 Yumeng sean-k-mooney: take your time. You can directly leave comments on the patch or ping me later here(if I am still here ^^). My question will be mainly on: 3. Who creates mdev device in the sys path?(proposed change part) which do you prefer
12:44:38 sean-k-mooney sorry had to step away for a phone call, im stell reading the options now, i think im leanign twords cyborg creating them but i need to read your content and sylvain's comments
12:44:50 sean-k-mooney /stell/still/
12:46:40 bauzas Yumeng: fwiw, I already provided my thoughts
12:46:52 bauzas and i prefer a solution with cyborg precreating the mdevs
12:47:13 bauzas (and just ask nova to use an existing mdev)
12:48:46 gibi bauzas, Yumeng: I've also just pushed my comments on the vGPU spec
12:49:43 Yumeng bauzas: I am reviewing your comments now. yes, solution 2 in the spec is a cyborg precreating the mdevs. seems that's what you guys like.
12:50:39 Yumeng bauzas: ok.thank you, I will take a look first
12:50:50 Yumeng gibi: ok.thank you, I will take a look first
13:01:07 gibi bauzas: if you want an easy spec: https://review.opendev.org/#/c/755477/ :)
13:11:10 bauzas gibi: nit : s/Sylvian/Sylvain (Sylvian(e) is a woman name ;) )
13:11:24 gibi bauzas: sorry
13:11:54 bauzas gibi: heh no worries ;)
13:12:22 sean-k-mooney gibi: bauzas i dont think we shoudl be treating mdevs and vf similarly unless you are suggesting we start tracking mdevs in teh pci tracker
13:12:47 sean-k-mooney so that we persist them there and have nova precreate them
13:13:02 sean-k-mooney to provide stable names
13:13:09 sean-k-mooney and other things like numa affinity
13:13:29 sean-k-mooney e.g. just add a type_mdev to the list
13:13:37 bauzas why ?
13:13:46 bauzas anyway, I need to look at other specs
13:14:08 gibi sean-k-mooney: I don't suggest to plug mdevs into the pci tracker, especially that cyborgs would like to track them
13:14:21 sean-k-mooney because mdev are not ment to work like vf in that they framework was desigined to have them dynmicaly created at runtime by higher level orcestors
13:14:59 sean-k-mooney gibi: well my point is that without cycborg i dont think its valid to say they should be precreated
13:15:00 bauzas gibi: me too
13:15:13 sean-k-mooney that is just not how they were ment to be used
13:15:20 bauzas gibi: sean-k-mooney: honestly, I would like to stop supporting to create mdevs in nova
13:15:38 bauzas but first, we would need to support it by TripleO
13:15:40 gibi sean-k-mooney: does libvirt handles mdevs differently than pci?
13:15:49 sean-k-mooney right i dont think we shoudl do that not without providing a real alternitive
13:15:56 sean-k-mooney gibi: yes it does
13:16:03 bauzas gibi: mdevs are a bit different
13:16:06 bauzas but,
13:16:19 sean-k-mooney gibi: libvirt alows them to be allcoated dymically ti does not do the same for vfs
13:16:20 bauzas I don't see why we couldn't just tell 'sorry, but please precreate them'
13:16:41 sean-k-mooney bauzas: that would be a major regression in functionality for one
13:16:48 sean-k-mooney and be an upgrade issue
13:16:51 bauzas given we only support one type for GPU, when you tell which type you want to get for a pGPU, then we could just create them
13:17:01 sean-k-mooney but the main reason is most device dont support one type
13:17:04 bauzas anyway, I need to be off for 10 mins
13:17:13 bauzas (someone is around my home)
13:18:24 sean-k-mooney the whole we only support one type per PGPU is a limiatieon in nvidias solution that is not representivie of the mdev framework as a whole
13:18:58 sean-k-mooney if we support generic mdevs in teh future and in the cyborg case in particalar it dose not hold true that all device will only support 1 mdev type
13:22:42 tacco sean-k-mooney: fyi, still no luck. but all in all some more informations. I can see 248available cpus in the vm but everything above id63 are marked as offline.
13:22:57 gibi hm, I more and more like the idea to hide this complexity from nova in cyborg. Then cyborg is free to pre-create or create on the fly the mdev at arq mind. Nova don't have to worry about it (except the recreation case at reboot, see my comment in the spec)
13:23:09 gibi s/mind/bind/
13:23:25 sean-k-mooney tacco: ok so that is pointing to the guest kernel
13:23:43 sean-k-mooney tacco: well most likely the kernel
13:23:53 sean-k-mooney have you tried onlining them via /sys
13:24:18 sean-k-mooney gibi: yep i was noting that in the spec
13:24:37 sean-k-mooney solution 2 id fine if cyborg does the precreate when we bind at teh conductor
13:24:45 sean-k-mooney its not ok if we need to do an api call on the compute
13:25:13 sean-k-mooney they can also do option 3 and precreate them at agent start
13:25:16 gibi sean-k-mooney: yeah, I assumed that cyborg provides the mdev to as in the same way as provides the pci for an fpga
13:25:30 gibi s/to as/ to us/
13:25:37 sean-k-mooney yep in the arq when it completes the binding
13:25:38 tacco sean-k-mooney: yes, but then i got a mem error.
13:25:44 sean-k-mooney whcih we poll for on the compute
13:25:45 gibi sean-k-mooney: exactly
13:25:58 sean-k-mooney so its really just the uuid which we then stick in the xml
13:27:20 gibi sean-k-mooney: and this uuid needs to be stable from nova perspective at reboot, or else nova needs to update the xml
13:27:40 sean-k-mooney well we regenerate teh xml form scratch on reboot so
13:27:52 sean-k-mooney it could change

Earlier   Later