| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2022-06-15 | |||
| 06:27:18 | gibi | we still heard the term last week | |
| 06:27:45 | sean-k-mooney[m] | right but they just accept it and create lots of flavors | |
| 06:28:56 | gibi | OK, so if we say no for a long time to hw:bfv=True then they will accept that too :) and stop asking for more orchestrations | |
| 06:29:14 | sean-k-mooney[m] | like some of the telco provideders litrally create seperate flavors for every application in a multi app vnf automaticaly via heat | |
| 06:29:37 | sean-k-mooney[m] | well the latter will never happen | |
| 06:29:43 | gibi | :) | |
| 06:29:51 | sean-k-mooney[m] | but the flavor may not be the right place | |
| 06:30:13 | sean-k-mooney[m] | i dont thing its unreasonable to have a way to say always uses cinder volumes | |
| 06:30:32 | sean-k-mooney[m] | or always to it on these set of hosts by default | |
| 06:30:37 | gibi | if it is _always_ then this can be a config option | |
| 06:30:54 | sean-k-mooney[m] | not it cant be | |
| 06:31:05 | sean-k-mooney[m] | that would be config driven api behavior | |
| 06:31:20 | gibi | or even the admin can define the nova instance dir to be in a place with close to 0 disk space to force it | |
| 06:31:20 | sean-k-mooney[m] | which is one of the reasons we didnt like having a cinder images type | |
| 06:32:02 | sean-k-mooney[m] | well they can force it differntly via config options to day but its not somethign you can discover without trying to boot a vm | |
| 06:32:50 | sean-k-mooney[m] | they are stilll raising it as a pain point so obviouls they still want a way to do this | |
| 06:33:34 | sean-k-mooney[m] | i tried to adress this issue differntly in the past by proposing the idea of vm porfiles to have a semi composable flavor | |
| 06:35:11 | sean-k-mooney[m] | the profiles would only have extra specs that did not change resouce usage so therefor did not change billing | |
| 06:35:37 | gibi | extra spec can reqeust pinning that might be billed differently. | |
| 06:35:56 | sean-k-mooney[m] | as a use you can request that in your image | |
| 06:35:56 | gibi | but I feel I'm too negative today. sorry | |
| 06:36:21 | sean-k-mooney[m] | so if the falvor has not explictly disabled it you can always do that | |
| 06:36:30 | gibi | still dedicated cpus are billed differently in public clouds afaik | |
| 06:36:45 | sean-k-mooney[m] | right but that trivial to adress | |
| 06:36:57 | sean-k-mooney[m] | just put hw:cpu_policy=shared in the base flavors | |
| 06:37:42 | sean-k-mooney[m] | today if you do not do that you can just put hw_cpu_policy=deicated in the image | |
| 06:38:01 | sean-k-mooney[m] | i assumed you were going to bring up resouce: | |
| 06:38:17 | gibi | so in my mind this is similar to network connectivity. if you need it pass a pre-created port to nova. so I would move the whole disk question out from the flavor too. If you need disk (:D) then pass either a pre-created local-disk or a pre-created volume to the boot command. | |
| 06:38:21 | sean-k-mooney[m] | which is why i said extra specs that dont affect resouce useage | |
| 06:39:01 | sean-k-mooney[m] | fair so we should not add delete on terminate for port in the future right :P | |
| 06:39:40 | gibi | honestly. It is different what I would like to have and what we will do. I accept that | |
| 06:39:43 | gibi | :P | |
| 06:40:17 | sean-k-mooney[m] | hehe well we are both to busy to work on this in the near term | |
| 06:40:18 | gibi | I would remove the whole --nic net-id if I could | |
| 06:40:18 | bauzas | hola | |
| 06:40:23 | sean-k-mooney[m] | so just brainstorming | |
| 06:40:28 | bauzas | not sure I have the whole context | |
| 06:40:35 | gibi | yepp, it is just brainstorming | |
| 06:40:39 | gibi | bauzas: morning | |
| 06:40:46 | gibi | bauzas: take a seat, grab a coffee | |
| 06:40:47 | bauzas | morning folks | |
| 06:40:52 | sean-k-mooney[m] | bauzas o/ | |
| 06:40:55 | bauzas | gibi: been there, done that :) | |
| 06:41:00 | bauzas | literrally | |
| 06:41:15 | bauzas | we're a Wednesday, I'm happy to work earlier | |
| 06:41:20 | gibi | I did not drink coffee since left Berlin | |
| 06:41:35 | bauzas | OMG | |
| 06:41:41 | gibi | I miss the taste | |
| 06:41:48 | sean-k-mooney[m] | i dont drink it on weekends which people find odd | |
| 06:42:16 | bauzas | as I have kids at home, I love those breaks just after lunch with my wife | |
| 06:42:44 | bauzas | I ask my children to go up to their bedrooms and we take 10 mins with a coffee :) | |
| 06:42:59 | sean-k-mooney[m] | thats a nice ritual | |
| 06:43:09 | bauzas | as I wasn't having a coffee, man... | |
| 06:43:15 | gibi | no kids, wife works non-remote so I have a lot of quite moments :D | |
| 06:43:16 | bauzas | how could I break :p | |
| 06:43:41 | bauzas | that said, I also had beers | |
| 06:43:53 | gibi | no beer for me since Berlin too :) | |
| 06:43:55 | sean-k-mooney[m] | i like to play with fryea {emma’s 8 month old puppy) when i grab a cup | |
| 06:43:55 | sean-k-mooney[m] | i like to play with fryea {emma’s 8 month old puppy) when i grab a cup | |
| 06:44:08 | gibi | yeah I need a cat | |
| 06:45:00 | gibi | so going back to hw:bfv=True | |
| 06:45:03 | sean-k-mooney[m] | bauzas: we were just chatting about the request form operator to have a way to have vms use boot form volume by default without a config option | |
| 06:45:31 | sean-k-mooney[m] | i was wondering how terrible it would be to have an extra spec | |
| 06:45:34 | gibi | I would disaggregate disk from flavor as I dream big | |
| 06:46:01 | sean-k-mooney[m] | gibi you mean like port count | |
| 06:46:15 | gibi | count? | |
| 06:46:36 | sean-k-mooney[m] | well you dont ask for 5 ports in a flavor | |
| 06:46:55 | sean-k-mooney[m] | ports are entirly seperate | |
| 06:47:06 | gibi | yepp like that | |
| 06:47:08 | sean-k-mooney[m] | so you would prefer if disk was also seperate | |
| 06:47:14 | gibi | yepp | |
| 06:47:36 | sean-k-mooney[m] | there sort of in a weird middel ground today | |
| 06:48:20 | sean-k-mooney[m] | cause they can be seperate and in the case of flavor.ephmeral you can subdevide that into multiple disks | |
| 06:48:22 | bauzas | sean-k-mooney: what is the usecase ? | |
| 06:48:39 | bauzas | why they don't want to ask for a volume or other way ? | |
| 06:48:53 | gibi | $ openstack disk create --type [boot|ephemeral|swap] --backend [local-disk|volume] --size | |
| 06:48:56 | gibi | $ openstack server create ... --disk <disk-uuid> | |
| 06:49:23 | sean-k-mooney[m] | i belive they want to have diskless compute or low disk compute and have there tenants always use cinder storage | |
| 06:50:04 | sean-k-mooney[m] | but they didint want there users to have to rememebr to do that, wasnt in the room :) | |
| 06:50:19 | sean-k-mooney[m] | its the last line on the meet and greet doc | |
| 06:50:51 | sean-k-mooney[m] | gibi that is an intersting idea | |
| 06:50:57 | gibi | or even | |
| 06:50:58 | gibi | $ openstack disk profile create --type [boot|ephemeral|swap] --backend [local-disk|volume] --size | |
| 06:50:58 | gibi | # admin | |
| 06:51:01 | gibi | # user | |
| 06:51:04 | gibi | $ openstack disk create --profile <profile-uuid> | |
| 06:51:28 | gibi | to have the way the admin limit the sizes and types | |
| 06:51:37 | sean-k-mooney[m] | right i prefer the latter but that is getting into composable flavors | |
| 06:51:45 | gibi | exactly | |
| 06:51:52 | gibi | so it solves both problems :D | |
| 06:51:57 | gibi | (no it does not ) | |
| 06:52:04 | bauzas | sean-k-mooney: then maybe they should provide flavors with DISK_GB=0 | |
| 06:52:06 | sean-k-mooney[m] | right if we did that i would prefer to do that for all resouces | |
| 06:52:25 | sean-k-mooney[m] | bauzas they can yes | |
| 06:52:42 | sean-k-mooney[m] | with our default policy that would for bfv usage | |
| 06:52:59 | bauzas | if you create a flavor with some disk value, then it would create an ephemeral volue | |
| 06:53:00 | sean-k-mooney[m] | *force | |
| 06:53:20 | bauzas | so if you have diskless computes, don't create those flavors | |
| 06:53:20 | sean-k-mooney[m] | no not always | |
| 06:53:50 | sean-k-mooney[m] | people pushed back when i suggested we should not allow you do do boot form volume with flavor wiht disk!=0 | |