| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2019-06-12 | |||
| 10:26:57 | cdent | I mean with efried in particular. It's a bizarre form of stimulating | |
| 10:27:16 | cdent | with grammar you can't win, but philosophy, something else happens | |
| 10:48:10 | sean-k-mooney | cdent: actully that useage book basicly explains why many of the rules we use are no longer followed in common usage and advies that you use common sense when deciding if a rule should be followed or ignored | |
| 10:48:41 | sean-k-mooney | cdent: which is why is said asettle will either love it or hate it :) | |
| 10:49:10 | cdent | in truth, neither you, nor I, are in much of a position to be discussing usage :) | |
| 10:49:38 | sean-k-mooney | the second half of the book i belive tries to explain why some of the rule exist and actully teaches you why some of the rule exisit | |
| 10:51:36 | sean-k-mooney | cdent: that is very true that said i at least can ligitamtly point to the fact i speak a different dialect of english which has idioms from irish carried over :) | |
| 10:52:11 | cdent | hmm. born UK, raised US, now in UK? not really good enough | |
| 10:52:34 | sean-k-mooney | oh i didnt know you grew up in the US what part? | |
| 10:53:39 | cdent | indiana, kentucky, ohio | |
| 10:54:03 | sean-k-mooney | do you ever miss it? | |
| 10:55:55 | sean-k-mooney | efried: did your hacking change merge last night? | |
| 10:58:09 | cdent | For 4 years before I moved to the UK I lived in Seattle. I sometimes miss the pacific northwest, but don't really miss the other parts. | |
| 10:58:32 | kashyap | sean-k-mooney: I think it did | |
| 10:59:16 | cdent | it did, saw the launchpad update | |
| 10:59:39 | sean-k-mooney | cool so i just need to rebase on top of master rather then that specific patch | |
| 11:34:03 | openstackgerrit | Adam Spiers proposed openstack/nova master: Provide HW_CPU_X86_AMD_SEV trait when SEV is supported https://review.opendev.org/638680 | |
| 11:34:04 | openstackgerrit | Adam Spiers proposed openstack/nova master: Track inventory for new MEM_ENCRYPTION_CONTEXT resource class https://review.opendev.org/662105 | |
| 11:34:04 | openstackgerrit | Adam Spiers proposed openstack/nova master: Add extra spec parameter and image property for memory encryption https://review.opendev.org/664420 | |
| 11:34:05 | openstackgerrit | Adam Spiers proposed openstack/nova master: Use fake flavor instead of empty dict in test https://review.opendev.org/662555 | |
| 11:34:06 | openstackgerrit | Adam Spiers proposed openstack/nova master: Pass extra_specs to flavor in vif tests https://review.opendev.org/662556 | |
| 11:34:06 | openstackgerrit | Adam Spiers proposed openstack/nova master: Extract SEV-specific bits on host detection https://review.opendev.org/636334 | |
| 11:34:07 | openstackgerrit | Adam Spiers proposed openstack/nova master: Add |
|
| 11:34:07 | openstackgerrit | Adam Spiers proposed openstack/nova master: Allow guest devices to include |
|
| 11:34:08 | openstackgerrit | Adam Spiers proposed openstack/nova master: WIP: Detect that SEV is required and enable iommu for devices https://review.opendev.org/644565 | |
| 11:34:08 | openstackgerrit | Adam Spiers proposed openstack/nova master: Use |
|
| 11:34:09 | openstackgerrit | Adam Spiers proposed openstack/nova master: Enable memory locking if SEV is requested https://review.opendev.org/662558 | |
| 11:39:28 | aspiers | efried: all SEV stuff now in a single series ^^^ The top 3 can be ignored for now however, since the 3rd from top is still WIP. | |
| 12:25:23 | openstackgerrit | Artom Lifshitz proposed openstack/nova master: Revert resize: wait for events according to hybrid plug https://review.opendev.org/644881 | |
| 12:25:24 | openstackgerrit | Artom Lifshitz proposed openstack/nova master: WIP: Include direct-physical in compute manager events check https://review.opendev.org/664431 | |
| 12:25:24 | openstackgerrit | Artom Lifshitz proposed openstack/nova master: [DNM] testing bug/1813789 revert resize events https://review.opendev.org/664442 | |
| 12:29:01 | alex_xu | efried: sean-k-mooney bauzas do you have any idea how can I process when the user specify both the hw:pmem and resources extraspec https://review.opendev.org/#/c/601596/14/specs/train/approved/virtual-persistent-memory.rst@261 | |
| 12:29:28 | sean-k-mooney | im reading that spec at the moment | |
| 12:29:44 | alex_xu | I thought we should have similar problem when we have numa on placement. how to deal with hw:numa_* stuff and resources | |
| 12:30:33 | sean-k-mooney | well at present the resouces:* extra spec are merged with teh auto calluated set | |
| 12:31:08 | sean-k-mooney | so we caluate teh vcpu and ram form the flavor and then you can override that using resouces:MEMORY_MB=X | |
| 12:31:31 | sean-k-mooney | but ideally i think we would prefer people not to ues resouces: directly | |
| 12:32:07 | alex_xu | +1 on not use resources directly | |
| 12:32:32 | sean-k-mooney | if they use hw:pmem that give us the flexablity adapt to placment modeling changes without needing to modify flavors | |
| 12:33:15 | alex_xu | sean-k-mooney: the problem is we have instance.vpmems field, and we extra the vpmem from extra spec, and put them in instance.vpmems. if the user uses resources directly, then we should parse resources, and put them back to the instance.vpmems? | |
| 12:33:16 | sean-k-mooney | usign resouces:* directly works but its a leaky abstraction | |
| 12:33:35 | alex_xu | also agree with that | |
| 12:34:30 | alex_xu | I thought we will have same problem for instance.numa_topology. if the user use the resources directly, how can we parse the guest numa topo from resources extra spec, and put them back to isntance.numa_topology | |
| 12:35:00 | sean-k-mooney | well today we dont model numa in placmenet | |
| 12:35:20 | sean-k-mooney | if we did then it would be a proablem we would have to sovle yes | |
| 12:35:41 | alex_xu | it is a problem for pmem now :) | |
| 12:35:43 | sean-k-mooney | the hw:* extrapecs are the ahtoritive ones for how the guest is virtualised | |
| 12:36:07 | sean-k-mooney | the resouces:* are authritive for resouce usage | |
| 12:36:19 | sean-k-mooney | if there is a conflcit wew could rais an exception | |
| 12:36:37 | sean-k-mooney | i need to finish re reading the spec but are we adding a request prefilter for this | |
| 12:36:57 | sean-k-mooney | i.e. to convert form hw:pmem to the placement requests? | |
| 12:37:15 | alex_xu | do we need? or just parse the hw:pmem in the ResourceRequest.from_extra_specs ? | |
| 12:37:18 | sean-k-mooney | if so then i would have it validate them and raise an exception if there is a conflict | |
| 12:37:31 | aspiers | sean-k-mooney, alex_xu: I just did something very similar for SEV | |
| 12:37:40 | aspiers | https://review.opendev.org/#/c/664420/4 | |
| 12:37:49 | sean-k-mooney | alex_xu: am we could just parse it there yes | |
| 12:37:51 | alex_xu | aspiers: nice | |
| 12:38:04 | alex_xu | sean-k-mooney: yea | |
| 12:38:14 | sean-k-mooney | aspiers: your using a request prefilter | |
| 12:38:26 | aspiers | yes | |
| 12:39:16 | alex_xu | at least request prefilter is better than mixing everything ResourceRequest.from_extra_specs | |
| 12:39:54 | sean-k-mooney | right the ohter option is to do it here https://github.com/openstack/nova/blob/master/nova/scheduler/utils.py#L387 | |
| 12:40:08 | sean-k-mooney | and in resources_from_request_spec | |
| 12:40:19 | sean-k-mooney | but the prefilter i think are cleaner | |
| 12:40:33 | sean-k-mooney | both would work | |
| 12:40:40 | alex_xu | yes, agree | |
| 12:40:47 | alex_xu | we can add that for pmem | |
| 12:41:48 | sean-k-mooney | alex_xu: as aspiers has done you can do your validation like this https://review.opendev.org/#/c/664420/4/nova/scheduler/request_filter.py@197 | |
| 12:42:05 | sean-k-mooney | to ensure there is no conflict | |
| 12:42:27 | aspiers | right | |
| 12:42:29 | alex_xu | sean-k-mooney: then the instance is going to error status? | |
| 12:42:52 | sean-k-mooney | yes i think so | |
| 12:42:57 | alex_xu | I guess people hate the instance is going to error status.... | |
| 12:43:02 | sean-k-mooney | we will refuse to sechdule | |
| 12:43:34 | sean-k-mooney | well if we did not validate it would still go into error | |
| 12:43:41 | sean-k-mooney | but it woudl be a no valid host error | |
| 12:43:46 | alex_xu | we can validate that in the API layer | |
| 12:43:54 | sean-k-mooney | as teh livbrt driver would presuably fail to swapn it | |
| 12:44:01 | alex_xu | the request prefilter is only do the placement translation | |
| 12:44:23 | sean-k-mooney | where in the api laryer? | |
| 12:44:44 | sean-k-mooney | on flavor setting properties on teh flaovr or on instance spawn | |
| 12:45:07 | alex_xu | like somewhere we validate the hw:numa_* extra specs | |
| 12:45:14 | sean-k-mooney | we dont | |
| 12:45:27 | sean-k-mooney | well the first validation happens in the numa toplogy filter | |
| 12:46:07 | sean-k-mooney | but its not really validation we try to use the values to filter a host and that either work or it doesnt | |
| 12:46:34 | sean-k-mooney | so i think doing it in the prefilter which is even earlier in scheduling is fine | |
| 12:46:51 | alex_xu | wo do, let me find the link | |
| 12:47:28 | alex_xu | https://github.com/openstack/nova/blob/master/nova/compute/api.py#L659 | |
| 12:48:37 | sean-k-mooney | oh ok i really never knew that was there | |
| 12:48:47 | sean-k-mooney | in that case sure you can add the same validate for pmem | |
| 12:48:49 | alex_xu | so we can resolve the conflict of hw:pmem and resource:* somewhere like that | |
| 12:49:00 | alex_xu | \o/ finally find something sean-k-mooney doesn't know | |
| 12:49:58 | alex_xu | so I can override resources:* when hw:pmem present. | |
| 12:49:59 | sean-k-mooney | hehe :) there are plenty of things i dont know like how to use a mac without breaking it or how to spell litrally everything | |
| 12:50:06 | aspiers | XD | |
| 12:50:12 | alex_xu | hah | |
| 12:50:46 | aspiers | sean-k-mooney: maybe not, but I bet you can help me with this problem | |
| 12:50:53 | alex_xu | the last question is what should I do for the user only specify the resources:*. so I can prase the resources:* and put them into instance.vpmems. | |
| 12:50:55 | aspiers | https://review.opendev.org/#/c/644565/5/nova/virt/libvirt/driver.py@1625 | |
| 12:51:26 | aspiers | I need to change _sev_required() so that it checks the resource allocations for the instance (the MEMORY_ENCRYPTION_CONTEXT class) | |