Earlier  
Posted Nick Remark
#openstack-nova - 2017-03-09
03:25:53 mriedem dansmith: yup
03:26:18 dansmith awesome
03:27:27 melwitt mriedem, dansmith: right. so 1) we're missing quota cleanup 2) when we add quota cleanup, it cleans the wrong db because the context was targeted to cell0 early on
03:27:28 dansmith for ocata
03:27:28 mriedem the set_target_cell one for master only,
03:27:28 dansmith yeah, so we probably need a hacky thing to just go find the cell a thing is in (which will only ever be two places to check) right?
03:27:28 mriedem so we need 2 fixes
03:27:28 openstackgerrit Tony Breeds proposed openstack/os-vif master: Add Constraints support https://review.openstack.org/413325
03:27:28 mriedem but we can't backprot that to ocata
03:27:28 melwitt dansmith: yeah. but we need a backportable fix
03:27:28 dansmith okay good
03:27:28 mriedem yes
03:27:28 dansmith has melwitt pointed out that counting fixes all this nonsense?
03:27:31 mriedem and then https://review.openstack.org/#/c/443395/ or the other patch for ocata
03:27:43 mriedem we know what cell it's in already
03:27:52 mriedem and we delete the instance, that's all fine
03:27:58 mriedem we just never decrement quota in that path, which https://review.openstack.org/#/c/443395/ does
03:28:06 mriedem it just doesn't work on master b/c of set_target_cell
03:28:12 dansmith okay
03:28:15 dansmith yeah
03:28:27 mriedem was there a reason we needed https://github.com/openstack/nova/blob/fa2b4a82648101826566da68dd56d204e269853f/nova/compute/api.py#L2294 ?
03:28:35 melwitt mriedem: yeah, I was thinking consider taking the first patch for ocata https://review.openstack.org/#/c/443003
03:28:41 mriedem like, can't we just do the context manager there?
03:28:53 dansmith mriedem: correct,
03:29:07 dansmith mriedem: because the caller will need to do things, like later it might need to lazy-load fault for example
03:29:10 dansmith which happens deep in the view
03:29:22 dansmith long after we've returned from here and have lost all cell scope
03:29:48 dansmith or instance_info_cache sometimes
03:30:14 mriedem ok, so i guess we have to hacky the quota decrement in the delete path
03:30:18 mriedem such that it's untargeted
03:30:31 dansmith and get is used to look up a thing which is later passed to something else that will make an rpc call, etc
03:30:34 dansmith anyway
03:30:36 dansmith yeah,
03:30:46 dansmith I have a hard stop now, but happy to work on that thing tomorrow
03:31:00 mriedem i'll roll something on top of the original fix and he can see if it works
03:31:04 mriedem because i want to stop too
03:31:53 dansmith melwitt: this is a reason to unblock your bottom two patches right?
03:32:16 melwitt dansmith: yes, I think so
03:32:21 melwitt well, no
03:32:37 melwitt dansmith: my patches don't move the usages and reservations tables. just leaves them out
03:32:43 dansmith oh right
03:32:46 melwitt dansmith: sorry, doesn't move the data
03:33:00 dansmith okay, anyway .. tomorrow
03:33:51 melwitt it might still work because we have the tables and the usage might be addressed by the quota resyncing stuff
03:35:59 melwitt like, data migration was not supposed to be needed for the usages. have to read over the original spec again
03:45:56 melwitt yeah, nevermind. that wouldn't work at all bc no methods added to read/write usages and reservations in api db
03:48:28 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Temporarily untarget context when deleting from cell0 https://review.openstack.org/443403
03:48:28 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Decrement quota when deleting an instance in cell0 https://review.openstack.org/443395
03:48:29 mriedem Kevin_Zheng: melwitt: ^ this is pretty ugly, but it's what i'm thinking before going to bed
03:50:20 Kevin_Zheng mriedem: Thanks I will test it :)
03:50:30 Kevin_Zheng mriedem: have a nice sleep
03:50:46 mriedem o/
03:52:06 melwitt mriedem_away: okay, looking
03:57:19 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Start removing _lookup_instance https://review.openstack.org/443405
03:57:20 mriedem_away melwitt: one last thing that i thought of while looking through all of this ^
03:57:37 mriedem_away we can start unwinding the super complicated spaghetti code that was there for the transition
03:57:55 melwitt okay, cool
03:58:17 mriedem_away now i'm really leaving
03:58:20 mriedem_away o/
03:58:36 melwitt gnight o/
05:21:42 openstackgerrit ChangBo Guo(gcb) proposed openstack/nova master: Enable more virt.xenapi tests on Python 3 https://review.openstack.org/414421
05:45:46 openstackgerrit Edu Alcaniz proposed openstack/nova master: follow-up https://review.openstack.org/443424
05:46:16 openstackgerrit jichenjc proposed openstack/nova master: Trivial Fix https://review.openstack.org/442310
06:06:25 openstackgerrit jichenjc proposed openstack/nova master: Add description for Image location in snapshot https://review.openstack.org/440379
06:14:01 openstackgerrit jichenjc proposed openstack/nova master: check hw:mem_page_size when change extra_spec https://review.openstack.org/408610
06:14:32 openstackgerrit jichenjc proposed openstack/nova master: no instance info cache update if instance deleted https://review.openstack.org/363585
06:53:46 openstackgerrit ChangBo Guo(gcb) proposed openstack/nova master: Add volume status check when deleting instances https://review.openstack.org/260339
07:49:00 arne_r markus_z: Hi, care to give this https://review.openstack.org/#/c/436868/ your blessing?
07:50:23 markus_z arne_r: I'm going to check it within the next hours
07:52:45 arne_r thanks =)
08:26:36 Kevin_Zheng melwitt, mriedem maybe it is good to add tempest test for this: create instance -> error -> delete -> check quota after this fixed, to avoid same thing happen again
08:26:39 Kevin_Zheng ?
08:33:22 markus_z arne_r: It needs a small change, IMO
08:41:32 openstackgerrit melanie witt proposed openstack/nova master: Make Quotas object favor the API database https://review.openstack.org/410945
08:41:32 openstackgerrit melanie witt proposed openstack/nova master: Count resources to check quota for cells https://review.openstack.org/416521
08:41:33 openstackgerrit melanie witt proposed openstack/nova master: Add online migration to move quotas to API database https://review.openstack.org/410946
08:52:01 openstackgerrit Qiming Teng proposed openstack/nova master: Fix API doc about server attributes (2.3 API) https://review.openstack.org/443000
08:59:48 openstackgerrit Dave Chen proposed openstack/nova master: WIP - Recover instance's task state after exception https://review.openstack.org/443509
09:22:17 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Don't delete neutron port when attach failed https://review.openstack.org/403568
09:57:50 openstackgerrit Stephen Finucane proposed openstack/nova-specs master: Reserve NUMA nodes with PCI devices attached https://review.openstack.org/364468
10:04:42 asettle johnthetubaguy: morning! You around yet? :)
10:07:02 johnthetubaguy asettle: yup
10:07:09 johnthetubaguy asettle: hows things?
10:07:36 asettle johnthetubaguy: less than awesome rn. I've just had to move up one of our nova-related bugs to critical. I will be sending out to the ML the details but I was just going to see if you could help me get all hands on deck.
10:08:56 johnthetubaguy asettle: you got a link?
10:08:58 asettle We need to branch, but we can't because the guide is broken at the moment as a result of this.
10:08:58 asettle It still doesn't work.
10:08:58 asettle Relevant patch: https://review.openstack.org/#/c/438328/
10:08:58 openstack Launchpad bug 1663485 in openstack-manuals "Document Nova v2 Cells and Placement API" [Critical,In progress] - Assigned to Brian Moss (bmoss)
10:08:58 asettle https://bugs.launchpad.net/openstack-manuals/+bug/1663485
10:10:05 johnthetubaguy asettle: doesn't work after you try with https://review.openstack.org/#/c/438328/ added?
10:10:42 asettle johnthetubaguy: My understanding is that it does not.
10:11:33 johnthetubaguy ah, I see the comment from bmoss now
10:11:44 bauzas asettle: see the comment from Dimitry
10:11:51 bauzas oops
10:11:54 johnthetubaguy asettle: the people you want for this are melwitt and dansmith really, both west coast
10:11:59 bauzas s/Dimitry/Georgios
10:12:13 bauzas I can try to help
10:12:18 johnthetubaguy bauzas: cool
10:12:29 johnthetubaguy it is RDO related

Earlier   Later