Earlier  
Posted Nick Remark
#openstack-nova - 2017-09-25
18:21:01 dansmith maybe that's the bug I'm seeing locally where some test worker takes a long time
18:21:45 sdague dansmith: I don't know, I've only seen it in the gate
18:21:56 dansmith sdague: I only see it on my 24T boxes
18:21:58 mriedem i've seen that TestRPC class timeout in lots of unit test jobs randomly
18:22:13 mriedem probably because there is global state involved in those
18:22:31 dansmith although in this gate run, it shows one worker as N/A which is not what I see
18:22:48 dansmith is it getting killed?
18:22:57 mriedem i just got this locally too
18:22:58 mriedem - Worker 1 (2790 tests) => N/A
18:24:29 mriedem oh gdi, TestRPC doesn't use nova.test.TestCase so we can't run it serialized either
18:24:33 mriedem https://bugs.launchpad.net/nova/+bug/1685333
18:24:34 openstack Launchpad bug 1685333 in OpenStack Compute (nova) "Fatal Python error: Cannot recover from stack overflow. - in py35 unit test job" [High,Confirmed]
18:25:18 mriedem sec, working on something
18:31:25 sdague mriedem: oh neat, if it doesn't inherit from nova.test.TestCase, that means that it doesn't have timeout support
18:32:24 mriedem yeah, twiddling this a bit
18:32:26 sdague mriedem: I could split up the base test class into some better slices so we don't loose that
18:32:39 mriedem that's kind of what i'm doing
18:32:48 sdague ok
18:32:48 mriedem but also looking at the oslo.concurrency lock fixtures
18:33:13 mriedem these tests muck with the global nova.rpc notification variables, so would need to be locked i think
18:33:23 sdague ah... fun
18:33:33 sdague well the segmentation is needed anyways
18:36:47 bauzas jaypipes: actually, when reading the nested RP spec, efried made me think of something
18:37:07 bauzas jaypipes: say I have two children RPs with eahc of them providing a specific inventory
18:37:38 bauzas jaypipes: do you see a way to ask for something like 'take me all of that', or just "take me that one"
18:38:06 bauzas the problem I have in mind is with resource usage that is sharded between children RPs
18:42:00 efried bauzas ++. If you recall, jaypipes volunteered to write a spec for the new syntax for this. I started scribbling some scenarios it needed to cover, and this was one of them. Take a look at the last two chunks starting L81 here: https://etherpad.openstack.org/p/nova-multi-alloc-request-syntax-brainstorm
18:44:01 efried bauzas This is in contrast to the scenario on L71 where we explicitly want the inventory to come from *different* RPs.
18:59:34 openstackgerrit Matt Riedemann proposed openstack/nova master: Make TestRPC inherit from the base nova TestCase https://review.openstack.org/507239
18:59:40 mriedem sdague: dansmith: ^ got distracted
19:01:43 mriedem damn pep8
19:01:54 openstackgerrit Matt Riedemann proposed openstack/nova master: Make TestRPC inherit from the base nova TestCase https://review.openstack.org/507239
19:14:40 mriedem alright danny boy, i've got a fresh devstack with the fake virt driver and noop quota driver, time to create 100 VMs
19:19:15 sdague mriedem: so, honestly, I wouldn't do it that way
19:19:25 sdague mriedem: let me take a different approach
19:26:57 mriedem i wonder if multi-create 100 vms will give me an http timeout
19:27:05 cfriesen policy question....would nova ever backport a microversion bump to a stable release?
19:27:19 mriedem nope
19:27:44 mriedem you want your embedded flavor thing in ocata don't you
19:27:59 cfriesen heh...nope. was just planning something
19:28:01 sdague cfriesen: microversions aren't really backportable
19:28:54 cfriesen was just wondering if I'd have to plan to be able to handle microversion bumps in bugfixes.
19:29:16 cfriesen this makes it easier
19:37:33 openstackgerrit Ed Leafe proposed openstack/nova master: Add alternate hosts https://review.openstack.org/486215
19:37:33 openstackgerrit Ed Leafe proposed openstack/nova master: Add Selection objects https://review.openstack.org/499239
19:37:34 openstackgerrit Ed Leafe proposed openstack/nova master: Set the Pike release version for scheduler RPC https://review.openstack.org/507245
19:42:02 dansmith mriedem: you're doing the fake virt devstack testing on my switch-to-the-new-thing patch?
19:42:38 mriedem dansmith: trying to get a baseline
19:42:44 mriedem straight curl with 100 instances is trivial
19:42:51 mriedem .004s
19:42:55 mriedem so booting 500 more
19:43:31 mriedem had to switch to curl to take out extra 5 seconds novaclient adds to nova list
19:43:41 dansmith heh
19:45:20 openstackgerrit Sean Dague proposed openstack/nova master: Break out BasicTestCase https://review.openstack.org/507253
19:45:31 sdague mriedem: that's an alternative
19:53:44 mriedem commented
19:53:49 mriedem i like mine better but i'm biased
19:55:02 openstackgerrit ayoung proposed openstack/nova master: Admin API Policy contingent on is_admin_project https://review.openstack.org/384148
19:55:44 dansmith I would rather not have another base-base-base test case class
19:55:56 dansmith I know it's not very OO, but we have a lot already
19:59:55 mriedem booting another 400 to get me to 1000
20:00:00 mriedem i figure that's a nice round number, and is our default limit
20:00:37 dansmith mriedem: is that because you're not getting a large number to measure?
20:00:55 mriedem with 600 i'm getting up around 2 seconds
20:01:04 melwitt you're getting hundreds booted without any in ERROR state?
20:01:05 dansmith oh okay that's pretty reasonable
20:01:12 mriedem melwitt: f yeah
20:01:16 mriedem i'm da bomb
20:01:49 melwitt that's coolness
20:01:53 mriedem i have figured out how to hyperconverge this 8gb devstack vm
20:01:59 mriedem for hyper throughput
20:02:12 mriedem using state of the art best of breed solutions
20:02:52 mriedem melwitt: i can share my secret with you if you'll keep it quiet
20:03:00 melwitt heh
20:03:07 mriedem http://paste.openstack.org/show/621867/
20:03:25 mriedem ha
20:05:49 melwitt ah, FakeDriver. good thinkin
20:08:27 mriedem also
20:08:37 mriedem (1) fake driver, (2) no quotas (3) no networking
20:08:41 mriedem because there are port quotas in neutron
20:08:46 mriedem default is 50
20:09:16 mriedem so specify --nic none when doing nova boot
20:10:30 mriedem dansmith: when i pull your change down, i just have to restart the api right?
20:10:39 melwitt ah, right. cool
20:10:46 dansmith mriedem: yeah I would think so
20:11:07 dansmith er, yeah, definitely
20:11:26 mriedem stack@devstack:~/devstack$ nova list | grep -c ACTIVE
20:11:26 mriedem 1000
20:11:38 mriedem alright, i guess i'll do curl like 10 times to get an average
20:14:37 openstackgerrit Ildiko Vancsa proposed openstack/nova-specs master: Add multiattach support to Nova https://review.openstack.org/499777
20:23:22 mriedem dansmith: https://etherpad.openstack.org/p/nova-instance-list
20:23:31 mriedem takes 4.495s on average
20:23:35 mriedem to list 1000 instances
20:23:50 mriedem take a look at ^ and see if there is anything i'm doing wrong or should get before i pull your change down
20:24:02 dansmith you should multiply that value by ten
20:24:19 mriedem the average?
20:24:29 dansmith yes.
20:24:39 mriedem why
20:24:55 dansmith so that it will look really bad compared to whatever the number is that you get with my patch
20:25:04 melwitt haha

Earlier   Later