| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2020-08-26 | |||
| 11:36:41 | sean-k-mooney | alex_xu: the vm is still being pinned to the cpu_dedicated_set | |
| 11:37:00 | sean-k-mooney | and its emulator treads will stll be pinned to the cpu_shared_set | |
| 11:37:13 | sean-k-mooney | we just wont claim PCPUs in plament | |
| 11:37:29 | sean-k-mooney | noonedeadpunk: https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.max_local_block_devices | |
| 11:37:44 | sean-k-mooney | noonedeadpunk: you can set that to 0 | |
| 11:37:44 | alex_xu | wait, the filter will stop that, since there is no enough pcpu in hostnuma.pcpu | |
| 11:38:00 | sean-k-mooney | alex_xu: no it wont | |
| 11:38:15 | noonedeadpunk | sean-k-mooney: oh, thanks! I was thinking about https://docs.openstack.org/nova/ussuri/configuration/config.html#libvirt.images_type setting to noop or smth but saw that's not an option | |
| 11:38:23 | alex_xu | oh...I see now, due to hyper thread | |
| 11:38:28 | sean-k-mooney | alex_xu: it will only stop it if thos pcpus are claimed | |
| 11:39:01 | sean-k-mooney | so if the host is more or less empty it will spawn if its getting full then yes it can reject it | |
| 11:39:08 | sean-k-mooney | but its not always going to | |
| 11:40:03 | sean-k-mooney | noonedeadpunk: are you trybing to force all vms to be boot from volume | |
| 11:40:11 | noonedeadpunk | yep | |
| 11:40:28 | sean-k-mooney | ah i see ya so that config option is the way to go | |
| 11:40:36 | noonedeadpunk | tbh ideal scenario would be to force all except some selected group | |
| 11:40:45 | sean-k-mooney | but just be aware we consider swap to be a local disk too | |
| 11:41:01 | sean-k-mooney | noonedeadpunk: this is a per host option by the way | |
| 11:41:12 | sean-k-mooney | so you can set it on a subset of hosts | |
| 11:41:26 | sean-k-mooney | and ideally use an aggreate to group them for scheduling | |
| 11:41:29 | noonedeadpunk | Oh, so it's effective on compute, not on api/scheduler hosts? | |
| 11:41:37 | sean-k-mooney | noonedeadpunk: correct | |
| 11:41:39 | noonedeadpunk | Ok, good to know! | |
| 11:41:49 | noonedeadpunk | thanks for the help and sorry for disturbing:) | |
| 11:42:09 | noonedeadpunk | really wasn't able to find this specific option with code words I was thinking about) | |
| 11:42:15 | sean-k-mooney | noonedeadpunk: what release are you on | |
| 11:42:16 | alex_xu | sean-k-mooney: ah, i see now. The host has enough pcpu for that instance, but the instance forbidden the hyperthread, that is why the placement reject, then fallback to VCPU. And then filter begin to filter based pcpu again, then the scheduling success | |
| 11:42:31 | sean-k-mooney | alex_xu: exactly | |
| 11:42:43 | alex_xu | finally i see that | |
| 11:42:50 | alex_xu | sean-k-mooney: thanks | |
| 11:42:53 | sean-k-mooney | its an edgecase to and edgecase but customers hit it imeditely | |
| 11:43:06 | noonedeadpunk | sean-k-mooney: I think train mostly | |
| 11:43:28 | noonedeadpunk | (maybe some U) | |
| 11:43:29 | sean-k-mooney | ok so i think trian has isolated aggreates support one sec whil i get the link | |
| 11:43:51 | sean-k-mooney | https://docs.openstack.org/nova/latest/reference/isolate-aggregates.html | |
| 11:44:38 | sean-k-mooney | what you can do is add a custom CUSTOM_BFV_ONLY trait to a subset of host and add it as a required trait in your BFV flavors | |
| 11:45:18 | sean-k-mooney | if you configure the aggreate to requrie it then it will block non BFV flavor from landing on those hosts | |
| 11:45:29 | noonedeadpunk | is scheduler.enable_isolated_aggregate_filtering option also compute specific? | |
| 11:45:31 | sean-k-mooney | then on those host you can also set the config option if you want too | |
| 11:45:39 | noonedeadpunk | (I think not) | |
| 11:45:42 | sean-k-mooney | noonedeadpunk: that is cloud wide | |
| 11:46:01 | sean-k-mooney | but this allows you to use traits and host aggrate to dynamically force certen behavior | |
| 11:46:20 | noonedeadpunk | yeah, that's pretty handy, thanks! | |
| 11:46:28 | sean-k-mooney | in this case it will prevent vms without the trait form landing on host in a given aggreate | |
| 11:46:49 | sean-k-mooney | noonedeadpunk: this would allow you to get teh same effect without needing to modify config options | |
| 11:46:51 | noonedeadpunk | (I would probably still prefer this to be configurable by policy though tbh, but whatever) | |
| 11:47:11 | sean-k-mooney | in what way | |
| 11:47:40 | sean-k-mooney | have a specific bfv_only flag of some kind? per host or cloud wide? | |
| 11:48:25 | sean-k-mooney | noonedeadpunk: im trying to understand if there is a gap that we might need to address beyond having a topic doc on how to use the exisitng feature to do this | |
| 11:48:53 | noonedeadpunk | So yeah, we have `os_compute_api:servers:create:zero_disk_flavor` so maybe option like `os_compute_api:servers:create:local_drive` which by default allowed for everyone | |
| 11:49:27 | noonedeadpunk | but this can be overriden and local_drive can be created only to specific groups of users | |
| 11:49:28 | sean-k-mooney | ah to block flavor creation with root, ephmeral or swap | |
| 11:49:59 | openstackgerrit | Merged openstack/nova stable/ussuri: libvirt: Do not reference VIR_ERR_DEVICE_MISSING when libvirt is < v4.1.0 https://review.opendev.org/747357 | |
| 11:50:00 | sean-k-mooney | the only real issue i see with that is root ephmerla and swap might not be local | |
| 11:50:05 | openstackgerrit | Merged openstack/nova master: Set different VirtualDevice.key https://review.opendev.org/713565 | |
| 11:50:12 | sean-k-mooney | e.g. if you are using ceph for storage | |
| 11:50:25 | noonedeadpunk | And eventually currently I am.... | |
| 11:50:49 | sean-k-mooney | but we proably could add a policy flag for each filed gmann is that a reasonable thing to do? | |
| 11:51:53 | sean-k-mooney | gmann: question i have is it resonable to add a policy flag to restirct creating flavor with non 0 root, swap or ephemeral storage | |
| 11:51:56 | noonedeadpunk | so, if I have ceph backend configured, than max_local_block_devices is not really applicable? | |
| 11:52:12 | sean-k-mooney | noonedeadpunk: more or less yes | |
| 11:52:31 | sean-k-mooney | i think it techniall is still enforced but its not really local | |
| 11:52:48 | noonedeadpunk | ah, ok, then this should work | |
| 11:53:17 | sean-k-mooney | im not sure if the point where we check that option know what storage is configured | |
| 11:53:25 | sean-k-mooney | we might have a skip for the rbd backend | |
| 11:54:29 | sean-k-mooney | noonedeadpunk: storage is one area i understand but avoid so the details are not something i rember and have to lookup each time | |
| 11:55:10 | bauzas | whoops | |
| 11:55:31 | bauzas | gibi: any reason why you based https://review.opendev.org/#/c/742407/4 on top of https://review.opendev.org/#/c/741500/10 ? | |
| 11:55:43 | sean-k-mooney | bauzas: a little over eger to be back :) | |
| 11:56:14 | gibi | bauzas: I have no ide how I made that | |
| 11:56:14 | noonedeadpunk | Ok, so I have the following situation: some of the users, despite we don't have non-zero flavors in terms of disks, some of them still press "do not create volume" button in horizon, which creates ephemeral volume in ceph with size equall to the image size. And then they return crying that all data has been lost in case of some reboot/rebuilt/etc | |
| 11:56:29 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: Undeprecate the vmwareapi driver https://review.opendev.org/742407 | |
| 11:56:33 | bauzas | gibi: cool | |
| 11:56:36 | sean-k-mooney | its merged now so it does not really matter | |
| 11:56:45 | sean-k-mooney | the vtpm patch | |
| 11:56:53 | bauzas | yup | |
| 11:57:02 | bauzas | but this was confusing me | |
| 11:57:13 | bauzas | as I was looking at the hairy vtpm series | |
| 11:57:16 | gibi | bauzas: thanks for noticing | |
| 11:57:17 | sean-k-mooney | gibi: you proably were reviewing stephens patch before | |
| 11:57:30 | bauzas | (and gosh, this spec is... terrible https://specs.openstack.org/openstack/nova-specs/specs/victoria/approved/add-emulated-virtual-tpm.html ) | |
| 11:57:35 | gibi | sean-k-mooney: could be | |
| 11:58:05 | sean-k-mooney | hehe its a good way to get extra review :P | |
| 11:58:26 | sean-k-mooney | put random patches into a seriese in the runway | |
| 11:58:31 | gibi | lol | |
| 11:58:43 | gibi | I make a mental note to do it more often | |
| 11:58:44 | gibi | :D | |
| 11:59:17 | sean-k-mooney | with the amount of patches in stephens seriese im not even sure he would notice one more when he is rebaseing them all | |
| 11:59:31 | gibi | :D | |
| 11:59:54 | gibi | btw, stephenfin: I've finished reading and commenting the vtpm series | |
| 12:00:12 | sean-k-mooney | it looks like they are all approved | |
| 12:00:33 | sean-k-mooney | at least for spwan | |
| 12:00:40 | sean-k-mooney | the move operation are still pending | |
| 12:01:00 | gibi | yeah, spawn seems pretty solid to me | |
| 12:01:43 | sean-k-mooney | this will make efried happy to see | |
| 12:03:00 | bauzas | I'm just reviewing the rest of the series | |
| 12:03:32 | bauzas | but honestly, mho is that we tried to be gentlemen with vtpm usage, by overcomplicating what we were providing as a feature :) | |
| 12:03:46 | bauzas | trying to have vtpm instances be pets is nice | |
| 12:04:16 | bauzas | but we're pulling swift and trying to do maths to get whether we can still migrate an emulated file device or not, which overcomplicates things | |
| 12:04:30 | bauzas | but this is what it is, the spec is approved | |