Monday, 2018-01-29

*** svenkat has joined #openstack-powervm00:08
*** svenkat has quit IRC00:50
*** AlexeyAbashkin has joined #openstack-powervm05:06
*** AlexeyAbashkin has quit IRC05:10
*** AlexeyAbashkin has joined #openstack-powervm05:31
*** AlexeyAbashkin has quit IRC05:46
*** AlexeyAbashkin has joined #openstack-powervm06:17
*** AlexeyAbashkin has quit IRC07:55
*** AlexeyAbashkin has joined #openstack-powervm08:35
*** AlexeyAbashkin has quit IRC08:40
*** AlexeyAbashkin has joined #openstack-powervm09:22
*** AlexeyAbashkin has quit IRC10:13
*** AlexeyAbashkin has joined #openstack-powervm10:13
-openstackstatus- NOTICE: Zuul is currently under heavy load. Do not *recheck* or *approve* any changes.11:03
*** AlexeyAbashkin has quit IRC11:23
*** AlexeyAbashkin has joined #openstack-powervm11:59
*** svenkat has joined #openstack-powervm12:58
*** svenkat has quit IRC13:03
*** svenkat has joined #openstack-powervm13:04
-openstackstatus- NOTICE: Zuul is currently under heavy load. Do not *recheck* or *approve* any changes until we give the go ahead.13:33
*** ChanServ changes topic to "Zuul is currently under heavy load. Do not *recheck* or *approve* any changes until we give the go ahead."13:33
*** edmondsw has joined #openstack-powervm13:41
*** apearson has joined #openstack-powervm13:58
*** edmondsw has quit IRC14:25
*** edmondsw has joined #openstack-powervm14:28
-openstackstatus- NOTICE: we've been able to restart zuul, and re-enqueue changes for gate. Please hold off on recheck or approves, we are still recovering. More info shortly.14:30
*** esberglu has joined #openstack-powervm14:51
*** tjakobs has joined #openstack-powervm14:56
*** tjakobs has quit IRC15:19
*** esberglu has quit IRC15:48
*** esberglu has joined #openstack-powervm15:49
*** tjakobs has joined #openstack-powervm15:58
esbergluefried: edmondsw: I'm seeing a bunch of InstanceNotFound errors trying to unplug vifs in the OOT CI runs15:59
edmondswjust OOT?16:00
esbergluWhat appears to be happening is that the destroy flow goes through successfully and unplugs everything as normal16:00
esbergluedmondsw: Yep16:00
esbergluThen after that, I think that custom neutron event stuff is causing unplug_vifs to be called a second time16:00
esbergluWhich is obviously failing because the instance was already destroyed16:01
edmondswwhy would this only crop up now?16:01
efriedAre we ignoring that 404 and moving on, or is it causing a failure in the destroy?16:01
esbergluefried: We're just logging the exception and moving on, it's not causing CI runs to fail or anything16:02
esbergluhttps://github.com/openstack/nova-powervm/blob/master/nova_powervm/virt/powervm/driver.py#L1055-L105816:02
esbergluWe could possibly change that to LOG.warning?16:03
esbergluhttps://etherpad.openstack.org/p/powervm_tempest_failures16:03
esbergluI've got timestamped notes of the flow at the top of that page if curious16:03
edmondswesberglu yeah, that should probably just be LOG.warn16:04
edmondswsorry, I should spell that out to be clear... LOG.warning, not the old LOG.warn16:05
esbergluedmondsw: Okay I will change that. However do you think that there is a problem with our destroy flow? Do we really need to hit unplug_vifs a second time?16:06
edmondswbut it would be nice to avoid trying a 2nd unplug if we can figure out how16:06
efriedPerhaps we should reexamine this flow and figure out why we're ... yeah, what he said.16:06
efriedwhat both of you said.16:06
edmondswgreat minds...16:06
esbergluI'll make the log change quick so the logs aren't so gross and continue looking into it16:07
edmondswesberglu tx16:07
openstackgerritEric Berglund proposed openstack/nova-powervm master: LOG.warning on unplug_vifs InstanceNotFound  https://review.openstack.org/53896416:16
efriedNot sure how changing to LOG.warning is going to help the logs significantly.  We're always logging at DEBUG level, nah?16:17
esbergluefried: It will help if you are searching for a different exception if something else goes wrong16:18
efriedokay.16:19
*** ChanServ changes topic to "This channel is for PowerVM-related development and discussion. For general OpenStack support, please use #openstack."16:22
-openstackstatus- NOTICE: zuul.o.o is back online, feel free to recheck / approve patches.16:22
*** AlexeyAbashkin has quit IRC17:34
*** AlexeyAbashkin has joined #openstack-powervm17:37
*** AlexeyAbashkin has quit IRC17:41
*** efried is now known as efried_hexchat18:29
*** efried has joined #openstack-powervm18:30
*** AlexeyAbashkin has joined #openstack-powervm19:11
*** edmondsw has quit IRC19:23
openstackgerritMerged openstack/nova-powervm master: LOG.warning on unplug_vifs InstanceNotFound  https://review.openstack.org/53896419:42
*** AlexeyAbashkin has quit IRC20:25
*** edmondsw has joined #openstack-powervm20:30
*** edmondsw has quit IRC20:32
*** edmondsw_ has joined #openstack-powervm20:32
*** svenkat has quit IRC21:13
openstackgerritEric Berglund proposed openstack/nova-powervm master: Mock sleep in UT  https://review.openstack.org/53902321:47
edmondsw_efried what do you think of ^ ? My first thought would be to "with mock.patch" just for the assertRaises part of the test, but maybe that's a nit...22:24
efriededmondsw_: For my money, I would rather mock sleep in setUp to make sure we don't *ever* waste test time.22:25
edmondsw_efried yeah... except that we use it to make sure threads get a chance to run, and that won't happen if we mocked it, right?22:25
edmondsw_most of our sleeps are sleep(0)22:26
efriedoh?  Are we using sleep(0)?22:26
efriedI didn't look at the source.22:26
edmondsw_not in this test, but in other places22:26
*** edmondsw_ is now known as edmondsw22:26
efriedAnyway, I don't like it when a mock is created with an arg but never used.  Should either add new=mock.Mock() to the decorator and remove the arg, or add an assertion that uses the arg.22:28
efriedOtherwise, I'm fine with the methodology.22:28
efriedBut we don't have to have identical opinions on this.  Swhy we want multiple reviewers on a thing.22:29
edmondswso we can confuse esberglu on what to do, right? ;)22:30
* edmondsw gives evil grin22:31
openstackgerritEric Berglund proposed openstack/nova-powervm master: Mock sleep in UT  https://review.openstack.org/53902322:49
esbergluedmondsw: efried: ^ Combined your ideas, let me know what you think22:50
efriedwfm22:50
edmondswsame22:53
*** edmondsw has quit IRC23:06
*** tjakobs has quit IRC23:09
*** edmondsw has joined #openstack-powervm23:20
*** apearson has quit IRC23:29
*** svenkat has joined #openstack-powervm23:37
*** edmondsw has quit IRC23:46
*** edmondsw has joined #openstack-powervm23:47
*** edmondsw has quit IRC23:51
*** svenkat has quit IRC23:58

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!