| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2017-02-16 | |||
| 19:28:56 | dansmith | that makes me sad | |
| 19:28:57 | melwitt | we have the lookup things in there | |
| 19:29:19 | dansmith | right, which I thought we wanted to maybe replace by going back to targeting... | |
| 19:29:26 | dansmith | we added transport back into the context, right? | |
| 19:29:33 | dansmith | ugh, I dunno | |
| 19:29:41 | melwitt | really? I didn't know we wanted to :P | |
| 19:29:56 | melwitt | not yet. I have a patch up that does that but you crapped on it | |
| 19:29:58 | dansmith | didn't we discuss that? I thought we added it back in | |
| 19:30:06 | dansmith | hah, well | |
| 19:30:15 | dansmith | link? | |
| 19:30:28 | melwitt | we don't technically need it, it would just save lookups if we did | |
| 19:30:39 | melwitt | https://review.openstack.org/411543 | |
| 19:30:51 | dansmith | right, I thought that was the plan.. to not have to do that lookup again in the rpc layer and thus go with the targeting keeping things pointed in the right place | |
| 19:31:08 | dansmith | melwitt: oh please.. that's like a small dingleberry | |
| 19:31:19 | dansmith | I didn't even -1 | |
| 19:31:25 | melwitt | I did ^ weirdly because we have tried to not pass cell mapping around so user/pass don't get dumped out in some exception somewhere, potentially | |
| 19:31:40 | melwitt | haha, I know | |
| 19:32:26 | melwitt | okay, well, the original plan was to target everything explicitly but then we thought it would be easier if we just looked it up in there | |
| 19:33:20 | dansmith | so I know I raised it as an issue, but I wonder what kind of things might come up from just having a targeted external context all the time | |
| 19:33:22 | melwitt | another thing is belliott had said the construction of the rpc transport objects is expensive, so there was value in caching them that way instead of creating them on-the-fly each target | |
| 19:33:34 | dansmith | the biggest thing would be going back to the api database again, but that shouldn't be affected I think right? | |
| 19:33:56 | dansmith | melwitt: we can still cache them even if we target them early | |
| 19:34:31 | melwitt | yeah. we'd have to find a place for that, maybe nova.context is not the best place is another thing belliott didn't like about it | |
| 19:34:55 | dansmith | yeah, I don't really get those concerns, but.. | |
| 19:34:56 | melwitt | dansmith: yeah going back to api database isn't affected. those can use the global api db context managers | |
| 19:35:18 | dansmith | yeah, so, maybe I'm just being overly concerned about doing the target hard and early | |
| 19:37:26 | melwitt | yeah, I don't think we've thought a lot about targeting a context and just letting it carry the db/mq connections around | |
| 19:37:42 | melwitt | it might work fine | |
| 19:38:05 | dansmith | let me just do the early full target thing and see what explodes | |
| 19:38:12 | melwitt | sure | |
| 19:43:55 | openstackgerrit | Artom Lifshitz proposed openstack/nova master: API support for tagged device attachment https://review.openstack.org/376021 | |
| 19:43:55 | openstackgerrit | Artom Lifshitz proposed openstack/nova master: Delete disk metadata when detaching volume https://review.openstack.org/435082 | |
| 19:46:09 | mriedem | dansmith: on https://review.openstack.org/#/c/433362/4/nova/api/openstack/compute/servers.py i wonder how much of that pattern is going to be everywhere | |
| 19:46:14 | melwitt | dansmith: I'll play around with making my mq connection patch cache early in the target_cell later | |
| 19:46:43 | dansmith | mriedem: lots of places | |
| 19:46:46 | mriedem | we could put some common code into nova/api/openstack/common, but that doesn't help with all of the target_cell stuff | |
| 19:47:18 | dansmith | mriedem: well, it does if it just targets the context permanently, which is what I'm trying now | |
| 19:47:41 | mriedem | why do this in the REST API handlers rather than the compute API class methods themselves? | |
| 19:48:21 | dansmith | mriedem: they have to look up the instance | |
| 19:48:38 | dansmith | mriedem: and we don't want the rest api looking up the mapping, then making compute/api do it again | |
| 19:48:44 | mriedem | oh yeah | |
| 19:51:08 | mriedem | dansmith: before i read scrollback i was thinking we could pass the mapping to every compute API method, like the context, and then we could put a decorator on the compute API methods to do the target cell thing for us | |
| 19:51:15 | mriedem | but i see melwitt doesn't like that | |
| 19:51:22 | dansmith | mriedem: _I_ don't like that | |
| 19:51:25 | mriedem | oh | |
| 19:51:30 | melwitt | we both don't like it | |
| 19:51:33 | dansmith | I asked so someone could say "fuck no" | |
| 19:51:43 | melwitt | heh | |
| 19:52:21 | mriedem | was that "(1:17:41 PM) dansmith: melwitt: yeah, well, glad we agree on that, I'd like to rule that out right here and now :)" ? | |
| 19:52:29 | dansmith | yeah | |
| 19:52:36 | mriedem | because you were also talking about stashing the mapping in the context or the instance at the same time | |
| 19:52:50 | dansmith | yeah, but I meant the param thing | |
| 19:53:04 | jaypipes | mriedem, dansmith, cdent, edleafe, johnthetubaguy, bauzas, melwitt: https://etherpad.openstack.org/p/decision-finding-shared-inventory | |
| 19:54:26 | jaypipes | mriedem, dansmith, cdent, edleafe, johnthetubaguy, bauzas, melwitt: feel free to vote and leave comments... adding that to the scheduler/placement session discussions at PTG | |
| 19:54:32 | cdent | jaypipes: thank you for writing that up. will digest properly tomorrow morning, unless I'm suddenly overcome with desire to think about it now (which is somewhat likely) | |
| 19:55:56 | mriedem | that bile yellow color hurts my eyes | |
| 19:56:38 | jaypipes | mriedem: then lucky for you you didn't see the shirt I was wearing this morning. cdent is still recovering. | |
| 19:56:45 | cdent | jaypipes: for completeness could you add a bit more info on why that particular question needs to be asked? | |
| 19:56:58 | jaypipes | cdent: yuppers. | |
| 19:56:59 | cdent | yeah, I'm going to have nightmares tonight. the combo is... | |
| 19:57:01 | jaypipes | cdent: will do. | |
| 19:57:07 | mriedem | were the nipples cut out? | |
| 19:57:23 | mriedem | because if so, sign me up | |
| 19:57:30 | jaypipes | mriedem: lol | |
| 19:57:52 | mriedem | dansmith: so it sounds like stashing the targeted context is the plan? | |
| 19:58:19 | dansmith | mriedem: potentially, until I find some reason to hate that more | |
| 19:58:27 | cdent | mriedem: great, thanks. I'm totally broken now. | |
| 20:00:05 | mriedem | i'm trying to think of an operatoin where we could have multiple instances in different cells | |
| 20:00:10 | mriedem | but i don't think that's possible right now | |
| 20:00:20 | dansmith | mriedem: it's not now for sure, | |
| 20:00:39 | dansmith | mriedem: and I was thinking of migrations of some sort, but that'll clearly require some special handling anyway | |
| 20:00:39 | mriedem | what apis take multiple instances anyway? | |
| 20:00:53 | dansmith | well, the events api, which is why I said what I did, but that one is already handles | |
| 20:00:55 | dansmith | *handled | |
| 20:01:03 | mriedem | ok | |
| 20:01:34 | mriedem | maybe we'll revive that spec to expose quiesce in the api for multiple instances, which could all be in different cells | |
| 20:01:36 | mriedem | :) | |
| 20:01:51 | mriedem | haha | |
| 20:06:17 | openstackgerrit | Sean Dague proposed openstack/nova master: Verify project_id when quotas are checked https://review.openstack.org/435010 | |
| 20:11:56 | mriedem | sdague: your spec update https://review.openstack.org/#/c/435016/ looks good to me | |
| 20:12:04 | openstackgerrit | Yuming Ma proposed openstack/nova-specs master: Nova BFV by reserving volume https://review.openstack.org/417541 | |
| 20:12:07 | mriedem | it does clarify the logic | |
| 20:13:54 | sdague | it seems to be working on the happy paths, I'll need to put some other real testing in place to test the rest of the cases | |
| 20:17:55 | openstackgerrit | Yuming Ma proposed openstack/nova-specs master: Nova BFV by reserving volume https://review.openstack.org/417541 | |
| 20:39:08 | openstackgerrit | Yuming Ma proposed openstack/nova-specs master: Nova BFV by reserving volume https://review.openstack.org/417541 | |
| 20:40:21 | mriedem | anyone aware of a way to basically squash a series of changes into a single patch using git format-patch? | |
| 20:40:31 | mriedem | without first doing a git rebase to squash them into a single commit | |
| 20:42:16 | mriedem | nvm thanks google http://stackoverflow.com/questions/616556/how-do-you-squash-commits-into-one-patch-with-git-format-patch | |
| 20:46:33 | cdent | edleafe: you the light blue on jay's etherpad? I think we're running into similar mental blocks :( | |
| 20:46:44 | edleafe | dat's me | |
| 20:51:34 | mriedem | nova meeting in 9 minutes | |
| 20:59:42 | openstackgerrit | Maciej Szankin proposed openstack/nova master: Tests: remove .testrepository/times.dbm in tox.ini https://review.openstack.org/435111 | |
| 21:00:14 | mriedem | it's time | |
| 21:35:52 | cfriesen | mriedem: you had proposed that I send in a stable/newton release note for bug 1644248....what's the process for that given that there won't be an equivalent commit in master or stable/ocata? | |
| 21:35:52 | openstack | bug 1644248 in OpenStack Compute (nova) ocata "Nova incorrectly tracks live migration progress" [High,In progress] https://launchpad.net/bugs/1644248 - Assigned to Matt Riedemann (mriedem) | |
| 21:36:44 | mriedem | cfriesen: just commit a release note to stable/newton with the known issue listed | |
| 21:37:39 | cfriesen | mriedem: okay, can do | |
| 21:42:11 | openstackgerrit | Eric Fried proposed openstack/nova master: PowerVM Driver: spawn/destroy https://review.openstack.org/391288 | |
| 21:59:10 | openstackgerrit | melanie witt proposed openstack/nova master: Count resources to check quota for cells https://review.openstack.org/416521 | |
| 22:00:31 | openstackgerrit | Takashi NATSUME proposed openstack/python-novaclient master: Microversion 2.42 - Fix tag attribute disappearing https://review.openstack.org/429512 | |