| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2021-06-02 | |||
| 12:01:39 | gibi | sean-k-mooney: so right now the client would need to list all the allocation then filter it on the client side by the consumer type / host / project | |
| 12:01:55 | gibi | sean-k-mooney: I don't think it is hard to add those filters to the placement API if one needs it | |
| 12:04:29 | nightmare_unreal | is there a way to find kernel version of hyperviser through openstack command ? | |
| 12:07:02 | gibi | nightmare_unreal: I don't think so | |
| 12:12:22 | sean-k-mooney | gibi: ya i dont think it would be hard to do either | |
| 12:13:51 | sean-k-mooney | gibi: what do you think about the idea of a premtiable consumer type with a prefilter that just looks for and extra spec and changes it | |
| 12:14:18 | sean-k-mooney | again im not planning to work on that this cycle but eventually i think it would be a nice feature to support | |
| 12:14:59 | sean-k-mooney | im partly using this as a tought experiment to reason about addtional usecase fo consumer types | |
| 12:16:57 | gibi | sean-k-mooney: I see that the external service needs to determine which instance can be preempted. I don't get why this needs to be a placement query. It can be a nova query as well. | |
| 12:17:18 | gibi | the external service want to find servers to delete | |
| 12:17:23 | gibi | nova api deals with servers | |
| 12:17:30 | sean-k-mooney | we dont currently have a way to list nova instance by flavor extra spec do we? | |
| 12:17:30 | gibi | so for me it fits nova API better | |
| 12:17:39 | sean-k-mooney | or by server property | |
| 12:17:43 | gibi | sean-k-mooney: I don't think so, that query also needed | |
| 12:19:08 | sean-k-mooney | i mean john and co proved you can do it already with the poc they did so ya you can do it vai nova | |
| 12:20:22 | gibi | if the external service try to preempt any kind of allocation not just servers then I would vote for extending the placement api | |
| 12:21:53 | sean-k-mooney | ya i remember talking to jay an cdent about possible evoltuion of placment to supprot timed allcoation for blazar reservations at one point | |
| 12:22:18 | sean-k-mooney | the concensous at the time was blazar shoudl manage the timing itself at least for now | |
| 12:22:52 | sean-k-mooney | but i have wondered if we ever woudl want to have differnt type fo allcoation in the futrue that had semantic meanign to placemnt | |
| 12:23:19 | sean-k-mooney | consumer types while not an alocation type would provide a way to do that without placment knowing about it | |
| 12:23:24 | gibi | sean-k-mooney: is timed allocation ~= reservation? | |
| 12:23:33 | sean-k-mooney | gibi: yes | |
| 12:23:49 | gibi | yeah that would be an interesting thought experiment | |
| 12:24:13 | gibi | I don't know how alive blazar is these days | |
| 12:24:44 | sean-k-mooney | for now i think im going to leave it there and instead look at your reparenting spec then i need to get back to the smartnic one | |
| 12:26:35 | gibi | there are soo many interesting things to work on :) | |
| 12:26:44 | gibi | thanks for looking at re-parenting | |
| 12:27:07 | sean-k-mooney | gibi: for timed allocation to work i think you would need some kind of web hook callback in placment that could call our external events api to tell us it expired but ye i should focus on thing that people are actully working on for a bit | |
| 12:28:24 | gibi | sean-k-mooney: that would be a bit similar to the external event that neutron sends us when a bound port is deleted. nova then unplugs the vif | |
| 12:28:44 | sean-k-mooney | yep that was exactly what i was thinking of | |
| 12:28:45 | gibi | sean-k-mooney: so basically placement would tell us that the allocation is expired and nova would ~delete~ the instaance | |
| 12:28:57 | sean-k-mooney | yep | |
| 12:29:09 | sean-k-mooney | or tell balzar if that is the endpoint you regestred | |
| 12:29:13 | gibi | the delete would be a bit harsh but maybe shelve offload or snapshot would be ok | |
| 12:29:26 | gibi | snapshot + delete | |
| 12:30:03 | sean-k-mooney | basically i was thinging you would pass a url to call back an a payload to send whne cratign the payload | |
| 12:30:08 | sean-k-mooney | *alloction | |
| 12:31:45 | sean-k-mooney | gibi: not sure if that is a good idea or not but for nova we would make the payload be an extrenal event payload allocation-exired-event possible with an acction or encode the action in a flavor extra spec or image property | |
| 12:32:16 | sean-k-mooney | i had not fully tought though the full semantics but ya that was the general thing i had in mind | |
| 12:33:15 | gibi | sean-k-mooney: yeah these sounds like a workable set of ideas | |
| 12:35:21 | sean-k-mooney | gibi: by the way i hope you dont mind i fast appoved the cyborg admin client spec i notice that you went and fixed the blueprint | |
| 12:36:50 | sean-k-mooney | given the time zone differece i did not think the nits justifed asking them to respin or submit a followup | |
| 12:38:07 | gibi | sean-k-mooney: no problema | |
| 12:38:28 | gibi | sean-k-mooney: I did not notice the missing bp until I tried to approve the bp after I saw the spec merged | |
| 12:40:29 | opendevreview | Stephen Finucane proposed openstack/os-vif stable/ussuri: [Stable Only] Drop lower constraints testing https://review.opendev.org/c/openstack/os-vif/+/794210 | |
| 12:41:23 | opendevreview | Stephen Finucane proposed openstack/os-vif stable/train: [Stable Only] Drop lower constraints testing https://review.opendev.org/c/openstack/os-vif/+/794211 | |
| 12:41:44 | stephenfin | gibi: lyarwood: Would appreciate eyes on those to unblock the other patches in os-vif ^ | |
| 12:41:51 | stephenfin | that's what we agreed last week, iirc | |
| 12:41:55 | stephenfin | also, sean-k-mooney: ^ | |
| 12:42:10 | gibi | on it | |
| 12:42:36 | sean-k-mooney | more or less although i didnt end put trying to fix it beyond victoria | |
| 12:44:22 | gibi | stephenfin: note that I have no +2 rights :) | |
| 12:44:34 | stephenfin | oh, lovely | |
| 12:45:01 | stephenfin | so I guess I need to poke elodilles ? | |
| 12:46:27 | sean-k-mooney | well actully i forgot to bring this up | |
| 12:46:40 | sean-k-mooney | anyone agaisnt me creating an os-vif-release team for stable | |
| 12:47:13 | sean-k-mooney | i would like to be able to do stable review there too | |
| 12:47:29 | sean-k-mooney | i can bring it up on the next nova meeting | |
| 12:47:52 | sean-k-mooney | i ment to do it last week and forgot this week | |
| 12:47:53 | stephenfin | I'd just add core to stable-core, personally. Probably something for the next meeting | |
| 12:48:40 | gibi | I'm not against it, we need agreemet from stable cores though :) | |
| 12:48:42 | sean-k-mooney | i could i wanted to add a new group to not need to add people to nova-stable-maint for os-vif stable | |
| 12:48:50 | lyarwood | yup I'm not against that | |
| 12:50:08 | sean-k-mooney | gibi: im +2 on the reparenting spec too but i did not give +w to allow melwitt and other to review | |
| 12:50:45 | gibi | sean-k-mooney: ack, thanks | |
| 12:56:57 | sean-k-mooney | stephenfin: should you have not cherry picked the stable train patch form stable ussuri | |
| 12:57:48 | stephenfin | no point. It was just merge conflict hell and they're stable only | |
| 12:58:40 | sean-k-mooney | well normally stable only patches would be cherry picked | |
| 12:58:47 | sean-k-mooney | but ok | |
| 12:59:08 | sean-k-mooney | if its generally effectivly a rewrite then ill change the -1 to +1 | |
| 13:29:23 | opendevreview | Lee Yarwood proposed openstack/nova master: libvirt: Do not destroy volume secrets during _hard_reboot https://review.opendev.org/c/openstack/nova/+/793463 | |
| 13:45:15 | sean-k-mooney | oh ok | |
| 13:46:20 | sean-k-mooney | i guess its ok to not destroy the secreat for had reboot | |
| 13:46:24 | sean-k-mooney | *hard | |
| 13:46:41 | sean-k-mooney | soft reboot calls hard reboot also by the way if it does not soft reboot after a time out | |
| 14:47:27 | mdbooth | sean-k-mooney: Incidentally, I've always felt that was a misfeature. Soft and hard reboots are quite different things. If the user asks for a soft reboot and it doesn't work, they should get an error (asynchronously, obvs). | |
| 14:49:24 | sean-k-mooney | mdbooth: i think its configurable in the nova config | |
| 14:49:47 | sean-k-mooney | https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.reboot_timeout | |
| 14:50:00 | sean-k-mooney | so by default we dont | |
| 14:50:38 | sean-k-mooney | but it can be enabled | |
| 14:51:09 | sean-k-mooney | which is config driveen api behavior which is awesome... | |
| 14:51:41 | sean-k-mooney | mdbooth: i would much prefer a reboot --gradual or somehting like that to contol that | |
| 15:19:45 | opendevreview | Lee Yarwood proposed openstack/nova master: libvirt: Do not destroy volume secrets during _hard_reboot https://review.opendev.org/c/openstack/nova/+/793463 | |
| 15:19:45 | opendevreview | Lee Yarwood proposed openstack/nova master: virt: Add destroy_secrets kwarg to destroy and cleanup https://review.opendev.org/c/openstack/nova/+/794252 | |
| 15:21:04 | melwitt | lyarwood: added a comment on the launchpad bug wrt wsgi config | |
| 15:21:14 | lyarwood | melwitt: thanks | |
| 15:32:11 | melwitt | sean-k-mooney: the current proposal is to reflect the allocations indirectly via /usages https://review.opendev.org/c/openstack/placement/+/679441/18/api-ref/source/usages.inc and you can filter by project and user | |
| 15:33:00 | melwitt | gibi: ack, will look | |
| 15:33:12 | gibi | melwitt: thanks | |
| 15:33:19 | sean-k-mooney | melwitt: i see ok | |
| 15:33:22 | opendevreview | Merged openstack/nova master: Honor [neutron]http_retries in the manual client https://review.opendev.org/c/openstack/nova/+/793512 | |
| 15:36:02 | bauzas | sean-k-mooney: gibi: oh, just saw your discussion about reservations | |
| 15:36:13 | bauzas | fwiw, blazar already supports timed reservations | |
| 15:36:42 | bauzas | so, the concern here is that we duplicate allocations into blazar-like reservations | |
| 15:36:56 | bauzas | while an idea could be to add timed allocations in placement | |
| 15:37:07 | bauzas | but that's a massive change | |
| 15:37:14 | sean-k-mooney | yes im aware | |
| 15:37:37 | bauzas | the other issue is with quotas | |
| 15:37:45 | sean-k-mooney | yep | |