Earlier  
Posted Nick Remark
#openstack-nova - 2017-11-02
15:08:13 tssurya mriedem : ack
15:10:34 openstackgerrit Matt Riedemann proposed openstack/nova master: Remove instance.keypairs migration code https://review.openstack.org/517158
15:13:16 edleafe mriedem: The legacy_find_hosts fix you have is something I fixed in a later patch in my series. https://review.openstack.org/#/c/510159/22/nova/scheduler/filter_scheduler.py@365
15:13:37 edleafe mriedem: how about I move that fix earlier in the series, so that your fix isn't needed?
15:15:56 edleafe the problem is that the drivers shouldn't be messing with the return type. That should be done by the manager at the RPC boundary
15:24:24 mriedem edleafe: i think it should be fixed outside of your series
15:24:36 mriedem because it's busted for anyone picking this up today from master
15:25:02 mriedem this isn't something that hits the manager either, it's an IndexError within the FilterScheduler itself
15:27:01 edleafe mriedem: yeah, I know the problem. So you want me to rebase on top of your fix?
15:27:13 mriedem edleafe: sure
15:28:30 edleafe ok, then how about I update your fix with the simpler version I added later?
15:29:14 openstackgerrit Balazs Gibizer proposed openstack/nova master: Document the real behavior of notify_on_state_change https://review.openstack.org/516264
15:29:28 edleafe _get_alternate_hosts() won't add alternates, but will make the right structure, if return_alternates is False
15:29:33 mriedem edleafe: i don't think that's necessary - my fix is contained to that one method, you can still refactor this to remove the include_alternatives parameter later in your series
15:29:56 mriedem assuming you're talking about this https://review.openstack.org/#/c/510159/22/nova/scheduler/filter_scheduler.py@176
15:30:21 mriedem how about just rebase on top of my fix and resolve the merge conflict, which should be tiny
15:31:42 edleafe mriedem: sure. Just seemed odd to fix the same thing twice
15:34:51 openstackgerrit Matt Riedemann proposed openstack/nova master: Implement power_off/power_on for the FakeDriver https://review.openstack.org/509935
15:39:42 mriedem gcb_: replied in https://bugs.launchpad.net/oslo.log/+bug/1729475 and https://review.openstack.org/#/c/478285/1/oslo_log/formatters.py
15:39:43 openstack Launchpad bug 1729475 in oslo.log "Exception traces are logged when warning() is used even if exc_info=False is specified" [Undecided,New]
15:39:51 mriedem gcb_: is this exception summary stuff all new since ocata?
15:40:12 mriedem if the caller is passing exc_info=False, it seems oslo.log should respect that regardless of the warning() log level and not dump a trace
15:41:15 mriedem otherwise i guess we have to change all of these warnings to info log level
15:45:00 jaypipes ggVGd
15:45:09 jaypipes oh ffs, vim fail
15:46:11 efried jaypipes You gonna rebase the nrp series to pick up https://review.openstack.org/516662 ?
15:46:23 edleafe too bad 'ffs' isn't a vim command
15:46:33 jaypipes edleafe: indeed :)
15:46:59 jaypipes efried: as soon as I finish the refactor thing in about 3 mins
15:47:44 openstackgerrit Jianghua Wang proposed openstack/nova master: XenAPI: get vGPU stats from hypervisor https://review.openstack.org/512965
15:50:26 openstackgerrit Jay Pipes proposed openstack/nova master: begin refactor AllocCandidates._get_by_filters() https://review.openstack.org/516778
15:50:26 openstackgerrit Jay Pipes proposed openstack/nova master: build ProviderSummary objects in sep function https://review.openstack.org/516779
15:50:27 openstackgerrit Jay Pipes proposed openstack/nova master: build alloc request resources for shared resources https://review.openstack.org/516780
15:50:27 openstackgerrit Jay Pipes proposed openstack/nova master: create allocation request for single provider https://review.openstack.org/516781
15:50:28 openstackgerrit Jay Pipes proposed openstack/nova master: finish refactor AllocCandidates._get_by_filters() https://review.openstack.org/516782
15:50:28 openstackgerrit Jay Pipes proposed openstack/nova master: required traits for no sharing providers https://review.openstack.org/517027
15:50:29 openstackgerrit Jay Pipes proposed openstack/nova master: WIP: handle traits with sharing providers https://review.openstack.org/517119
15:50:47 jaypipes efried: ^^ addressed all of your comments (I think)
15:50:53 efried jaypipes Cool man.
15:51:10 jaypipes efried: reduced the complexity of the sharing code with itertools.product()...
15:51:14 jaypipes efried: see inline.
15:51:54 jaypipes efried: the only comment I didn't respond to was the request for "lots more permutations" of functional tests. I'm not going to try and add every test permutation in a single patch.
15:51:57 efried jaypipes Instead of zip? That's good. Might even fix that one bug alex_xu was looking at.
15:52:35 efried jaypipes I was thinking to write a bunch of tests over the next week or so.
15:52:51 jaypipes efried: that would be great.
15:53:03 efried Because whereas this stuff is pretty tough to code, it's fairly straightforward to reason about how the API should respond.
15:53:15 efried ...in most cases :)
15:53:18 jaypipes efried: it's just I added a shit-load of new tests in the traits patches and would rather add separate patches for ever-more-complicated test scenarios.
15:54:52 kashyap mdbooth: A question - During an instance boot, Glance image is copied to the local host image cache. Then, Nova creates a qcow2 overlay with this copied image as a backing file. Now, does anything modify this backing file?
15:55:18 kashyap (Over the course of an instance life cycle, i.e.)
15:56:14 openstackgerrit Jianghua Wang proposed openstack/nova master: XenAPI: provide vGPU inventory in compute node https://review.openstack.org/516217
15:56:31 mdbooth kashyap: It can be deleted, but apart from that it is immutable.
15:57:35 kashyap mdbooth: Thank you. DanPB is proposing something interesting on qemu-devel list in context of OpenStack, you might want to read it if you're bored on your plane :-) https://lists.nongnu.org/archive/html/qemu-devel/2017-11/msg00165.html
16:03:02 mdbooth kashyap: I've been thinking of that exact architecture for a while myself, but I didn't know what the intermediate qemu-nbd bit would consist of. Sounds extremely interesting.
16:03:38 kashyap mdbooth: Yeah, very interesting
16:04:07 kashyap Last week, I also saw something intersting: globally distributed qcow2 chains
16:04:59 kashyap mdbooth: I'm about to ask Dan on that thread, in relation to his second ascii diagram, why does he say: "The problem is that many VMs are wanting to use cache-disk1.qcow2 as
16:05:03 kashyap their disk's backing file"
16:05:12 kashyap And a couple of other questions
16:05:22 mdbooth kashyap: What's the question?
16:06:07 kashyap mdbooth: From that second "diagram", all those VMs wanting to use 'cache-disk1.qcow2' as their backing file _aren't_ trying to modify the backing file, are they?
16:06:22 kashyap If yes, what _are_ they trying to write into it?
16:06:24 mdbooth kashyap: Yes, they are
16:06:41 kashyap Please explain
16:06:42 mdbooth The intermediate backing file is essentially a COR disk
16:07:17 mdbooth So every time the upper layer makes a read request, the intermediate layer also makes a read request to the bottom layer, then *writes* it to itself.
16:07:29 mdbooth If all VMs are doing this, that's multiple writers.
16:07:32 kashyap mdbooth: Hang on, just to ensure we're talking about the same section, I'll get a pastebin of what I'm referring to:
16:07:51 kashyap I'm referring to this section: http://paste.openstack.org/show/625365/
16:08:13 mdbooth Yes
16:08:30 mdbooth The cache disk is a cache, but it's being continuously updated from its own backing store
16:08:35 mdbooth The remote backing store in glance
16:08:37 kashyap mdbooth: I'll Cc you on that thread, and you can respond there, for clarity's sake
16:08:43 kashyap Is it okay?
16:08:56 mdbooth Sure.
16:09:39 mdbooth Anyway, if your backing store is COR, it means you write to it every time you make a read request for something it hasn't got locally.
16:09:59 mdbooth It has to fetch it and store it, and the store is a write operation.
16:10:04 kashyap Yeah, I realize COR -- everytime you read a cluster from the backing file, you write that locally, to avoid reading it again
16:10:14 kashyap Ah, right.
16:10:30 mdbooth Yep, but in this model the backing file itself is COR, not just the upper layer.
16:10:52 mdbooth So although the backing file may be presented to the upper layer as RO, it's actually still being updated by qemu.
16:12:13 kashyap mdbooth: Hang on, _is_ there an upper layer, in this scenario? There's only two images here: "cache-disk1.qcow2" is the local backing file (copied from 'master-disk1.qcow2' from Glance)
16:12:22 kashyap And 'vm-a-disk1.qcow2' is the Nova instance disk.
16:12:51 openstackgerrit Eric Fried proposed openstack/nova master: RequestGroup class for placement & consumers https://review.openstack.org/517364
16:12:58 efried jaypipes ^
16:13:16 efried jaypipes If you could take a quick look to make sure no huge changes are needed, I'll rebase everything else on top.
16:13:38 jaypipes efried: soon as I am done with n-r-p rebase/fixes. should be five mins
16:13:45 efried rgr
16:13:56 efried mriedem also ^
16:15:37 mriedem on my day before leaving for sydney, i'm not going to start tackling the granular request stuff
16:16:33 openstackgerrit Ed Leafe proposed openstack/nova master: Fix return type in FilterScheduler._legacy_find_hosts https://review.openstack.org/517134
16:16:33 openstackgerrit Ed Leafe proposed openstack/nova master: Add Selection objects https://review.openstack.org/499239
16:16:34 openstackgerrit Ed Leafe proposed openstack/nova master: Return Selection objects from the scheduler driver https://review.openstack.org/495854
16:16:34 openstackgerrit Ed Leafe proposed openstack/nova master: Modify select_destinations() to return objects and alts https://review.openstack.org/510159
16:16:35 openstackgerrit Ed Leafe proposed openstack/nova master: Change RPC for select_destinations() https://review.openstack.org/516707
16:16:35 openstackgerrit Ed Leafe proposed openstack/nova master: Move the claim_resources method to scheduler utils https://review.openstack.org/511357
16:16:36 openstackgerrit Ed Leafe proposed openstack/nova master: Make conductor pass and use host_lists https://review.openstack.org/511358
16:16:53 edleafe mriedem: ^^ your fix got rebased
16:19:11 kashyap mdbooth: I see what you mean; disregard my question. You're talking in context of this new model that Dan was proposing.
16:19:37 mdbooth kashyap: Ah, yes

Earlier   Later