| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2019-04-05 | |||
| 14:38:14 | mriedem | finucannot: if you're looking for something that needs to be done first but avoid breaking runtime code, fix the functional tests to not rely on nova-net by default https://github.com/openstack/nova/blob/master/nova/tests/functional/integrated_helpers.py#L82 | |
| 14:38:20 | openstackgerrit | Lee Yarwood proposed openstack/nova stable/queens: Delete instance_id_mappings record in instance_destroy https://review.openstack.org/650309 | |
| 14:38:29 | mriedem | https://github.com/openstack/nova/blob/master/nova/tests/functional/integrated_helpers.py#L87 | |
| 14:38:57 | mriedem | and get REQUIRES_LOCKING to default to False (it's True because by default we startup nova-network for functional tests) | |
| 14:39:37 | finucannot | mriedem: Sure, I can take a look at that. It's probably going to come up as I walk through this series fixing tests I've broken along the way | |
| 14:39:41 | finucannot | so. much. coupling. | |
| 14:40:10 | mriedem | finucannot: can you link me? | |
| 14:40:31 | finucannot | mriedem: to? | |
| 14:40:40 | mriedem | you said you had a patch series | |
| 14:40:47 | mriedem | but i don't see it in gerrit | |
| 14:41:07 | fried_rice | finucannot: better upload it before your computer crashes and you lose it. | |
| 14:41:38 | finucannot | mriedem: Nah, local only for now. It's failing from about half way in and I don't want to punish the gate (35 patches) | |
| 14:42:32 | mriedem | jesus | |
| 14:42:44 | finucannot | mriedem: https://github.com/stephenfin/nova/commits/cells-v1-removal | |
| 14:42:44 | mriedem | i really wish you would have brought this up before starting a huge local patch series | |
| 14:43:42 | finucannot | It's only a days work and I'll be folding a lot of that into other patches. If I end up dumping a lot of it, well, I learned stuff about the API | |
| 14:43:51 | finucannot | That's nowhere near final, btw | |
| 14:47:09 | kashyap | fried_rice: Thanks, noted. | |
| 14:47:11 | mriedem | ok so glancing through this you're killing of cells v1 separate from nova-net | |
| 14:47:18 | mriedem | starting with the api and cli entry points | |
| 14:47:22 | mriedem | and then working down | |
| 14:48:22 | finucannot | correct | |
| 14:48:39 | mriedem | if you can get what you have here cleaned up and passing, then i say push that up and let people start to look at it | |
| 14:48:55 | finucannot | Stop people using it so I can slowly break stuff without worrying about screwing up someones deployment | |
| 14:48:59 | finucannot | mriedem: ack | |
| 14:54:32 | mriedem | fried_rice: do we have a runways etherpad setup for stein yet and/or is anyone queueing for runways in stein? | |
| 14:58:58 | melwitt | easy review to fix the SynchronousThreadPoolExecutorFixture https://review.openstack.org/650171 | |
| 15:01:39 | mriedem | looking | |
| 15:02:49 | mriedem | melwitt: https://docs.python.org/3/library/unittest.mock.html#the-mock-class says | |
| 15:02:51 | mriedem | "spec: This can be either a list of strings or an existing object (a class or instance)" | |
| 15:03:12 | mriedem | maybe mock.Mock(spec='futurist.Future') was wrong b/c it wasn't a list? | |
| 15:03:30 | melwitt | oh, hm. I wonder why it doesn't work then. I've seen other examples in our code where a string doesn't work and attributes are not found | |
| 15:03:39 | melwitt | maybe. I can try that | |
| 15:04:09 | mriedem | i'm assuming you hit this while trying to de-eventlet some nova code or something? | |
| 15:04:19 | melwitt | haha yes | |
| 15:04:38 | mriedem | yeah it would be cool if we could use more of the native concurrency stuff... | |
| 15:05:10 | melwitt | yeah, I've got a patch going that I'm about to update again stacked on top of the fixture fix | |
| 15:07:27 | mriedem | looks like spec=[..] doesn't help | |
| 15:09:24 | fried_rice | mriedem: I haven't set anything up yet. I guess we have approved bps, so that should happen. I'll get on it. | |
| 15:10:21 | fried_rice | melwitt, mriedem: doesn't spec=futurist.Future work? | |
| 15:10:28 | mriedem | that's what she did | |
| 15:10:30 | melwitt | it does | |
| 15:10:31 | mriedem | and it does | |
| 15:10:32 | fried_rice | okay. | |
| 15:11:02 | melwitt | it's just the docs say you can use list of strings but it doesn't work when tried | |
| 15:11:10 | melwitt | so I dunno what's up with that | |
| 15:11:30 | mriedem | i see several cases of this as well | |
| 15:11:30 | mriedem | guest = mock.Mock(spec='nova.virt.libvirt.guest.Guest') | |
| 15:11:41 | mriedem | ntrn = mock.Mock(spec='neutronclient.v2_0.client.Client') | |
| 15:12:16 | melwitt | yeah, I have seen it throughout our code. and have forgotten every time to clean them all up to prevent more appearing | |
| 15:12:42 | melwitt | *help prevent | |
| 15:12:56 | openstackgerrit | melanie witt proposed openstack/nova master: Use futurist.GreenThreadPoolExecutor in scatter_gather_cells https://review.openstack.org/650172 | |
| 15:16:31 | fried_rice | claudiub might know more. | |
| 15:18:17 | fried_rice | melwitt, mriedem: IIUC, the list of strings is supposed to be a list of attributes the object is allowed to have. | |
| 15:18:28 | fried_rice | not, like, a list of classes. | |
| 15:18:30 | melwitt | haha, that would explain it | |
| 15:18:48 | fried_rice | so spec='bar' will actually make sure your mock has attributes 'b', 'a', and 'r' :) | |
| 15:18:53 | kashyap | fried_rice: (Thanks for the review here; just noticed: https://review.openstack.org/#/c/639091/ -- Rework 'EBUSY' (SIGKILL) error handling code path) | |
| 15:19:13 | melwitt | I'm reminded of the scene in zoolander when they try to get into the computer | |
| 15:19:36 | fried_rice | kashyap: Sure, fwiw :) | |
| 15:20:10 | kashyap | Yeah, it is one of those fixes that lowers the chance of "death-by-a-thousand-bugs" (which are the kinds of bugs I like to attack) | |
| 15:20:15 | kashyap | Instead of boiling ponds and lakes | |
| 15:20:18 | mriedem | looks like neither the xenproject ci (libvirt+xen) nor the xenapi ci have been running for a long time | |
| 15:20:36 | mriedem | finucannot: are you going to email them and copy the ML on ^? | |
| 15:20:49 | finucannot | mriedem: Yeah, I can do that | |
| 15:21:36 | fried_rice | melwitt, mriedem: Actually, with spec='foo', 'foo' is treated as an instance of str, so the mock gets all the attributes associated with string (index, replace, find, etc.) | |
| 15:22:08 | melwitt | ohhh man | |
| 15:22:35 | melwitt | haha | |
| 15:22:53 | fried_rice | what that *should* mean is that if you have a mock like m = mock.Mock(spec='nova.virt.libvirt.guest.Guest') and you try to reference e.g. m.uuid, it *should* blow up. | |
| 15:24:08 | fried_rice | melwitt: we should write a hacking rule | |
| 15:24:34 | melwitt | yeah, we should actually | |
| 15:24:42 | fried_rice | melwitt: Lemme throw one together right quick... | |
| 15:24:56 | fried_rice | ...but it means someone's gonna have to go through and scrub all of 'em. | |
| 15:25:18 | melwitt | I can do that. I had meant to do it in the past but kept forgetting | |
| 15:26:40 | finucannot | mriedem: Done, I think | |
| 15:26:56 | fried_rice | melwitt: Looks like there's only nine. | |
| 15:26:59 | fried_rice | stand by | |
| 15:28:04 | fried_rice | mriedem, melwitt: wanna merge this one real quick first so we don't have to rebase/renumber? https://review.openstack.org/#/c/649190/ | |
| 15:29:00 | finucannot | mriedem: Related. Could you give your take on this when possible? https://review.openstack.org/#/c/649974/ (ignore the failing pep8 test - I'll fix that shortly) | |
| 15:29:53 | mriedem | finucannot: i'm pretty sure there is already a patch related to that | |
| 15:30:10 | mriedem | which fried_rice is aware of | |
| 15:30:20 | mriedem | the xenapi + openssl warning one | |
| 15:30:51 | fried_rice | finucannot, mriedem: this one https://review.openstack.org/#/c/635533/ ? | |
| 15:31:06 | mriedem | yeah | |
| 15:32:21 | mriedem | maybe those aren't related i guess | |
| 15:32:24 | melwitt | fried_rice: looking | |
| 15:34:08 | finucannot | fried_rice, mriedem: Yeah, that looks like the same thing and is probably a better solution (though the tests are still rubbish, IMO) | |
| 15:34:40 | finucannot | well, similar thing. Solution for that should cover my issue | |
| 15:35:32 | jaypipes | cdent: your expertise needed on https://review.openstack.org/#/c/650172/3/nova/context.py please if you have a mo. | |
| 15:35:49 | jaypipes | thankie | |
| 15:35:55 | openstackgerrit | Stephen Finucane proposed openstack/python-novaclient stable/stein: Revert "Fix crashing console-log" https://review.openstack.org/650363 | |
| 15:36:04 | openstackgerrit | Stephen Finucane proposed openstack/python-novaclient stable/rocky: Revert "Fix crashing console-log" https://review.openstack.org/650364 | |
| 15:36:20 | sean-k-mooney | finucannot: mriedem this patch right https://review.openstack.org/#/c/635533/ | |
| 15:38:47 | finucannot | sean-k-mooney: yup | |
| 15:42:15 | sean-k-mooney | so it was not clear to me if https://bugs.launchpad.net/nova/+bug/1771506 is a release blocking bug for cannoical or not. i twould seam that xen would be broken due to this assueming that ubuntu/debian now shiped openssl 1.1.1 | |
| 15:42:16 | openstack | Launchpad bug 1771506 in OpenStack Compute (nova) "Unit test failure with OpenSSL 1.1.1" [Low,In progress] - Assigned to Corey Bryant (corey.bryant) | |
| 15:43:16 | openstackgerrit | sean mooney proposed openstack/nova master: SR-IOV Live migration indirect port support https://review.openstack.org/620115 | |
| 15:45:34 | sean-k-mooney | its a bit late but i think we should proably land https://review.openstack.org/#/c/635533/ or something similar soon and then figure out how to use the python libs for train | |
| 15:46:59 | sean-k-mooney | the final RC went out last night so this would not be in the GA release anyway right but i think it can be applied ot stable/* once we are happy with it | |
| 15:48:54 | finucannot | jaypipes: Thoughts on https://review.openstack.org/555081 this cycle? | |