Tuesday, 2016-08-09

*** kylek3h has joined #openstack-powervm00:02
*** apearson has joined #openstack-powervm00:39
*** jwcroppe has joined #openstack-powervm00:46
*** seroyer has joined #openstack-powervm00:50
*** jwcroppe has quit IRC00:51
*** seroyer has quit IRC00:52
*** tjakobs has joined #openstack-powervm00:54
*** tjakobs has quit IRC00:59
openstackgerritDrew Thorstensen proposed openstack/nova-powervm: WIP: Pre-allocate trunk adapter on target host  https://review.openstack.org/35023101:02
*** thorst has quit IRC01:02
*** thorst has joined #openstack-powervm01:03
*** edmondsw has quit IRC01:04
*** thorst has quit IRC01:12
*** kriskend_ has quit IRC01:13
*** kriskend has quit IRC01:14
*** kylek3h has quit IRC01:42
*** tjakobs has joined #openstack-powervm01:48
*** tjakobs has quit IRC01:53
*** esberglu has joined #openstack-powervm02:07
*** smatzek has joined #openstack-powervm02:12
*** smatzek has quit IRC02:35
*** jwcroppe has joined #openstack-powervm02:48
*** esberglu has quit IRC02:52
*** jwcroppe has quit IRC02:53
*** apearson has quit IRC03:17
*** tjakobs has joined #openstack-powervm03:51
*** jwcroppe has joined #openstack-powervm04:33
*** jwcroppe has quit IRC04:33
*** jwcroppe has joined #openstack-powervm04:33
*** kotra03 has joined #openstack-powervm04:51
*** kotra03 has quit IRC05:32
*** jwcroppe has quit IRC05:42
*** jwcroppe has joined #openstack-powervm05:42
*** jwcroppe has quit IRC05:47
*** arunman has joined #openstack-powervm06:00
*** kotra03 has joined #openstack-powervm06:13
*** kotra03 has quit IRC06:18
*** jwcroppe has joined #openstack-powervm06:43
*** jwcroppe has quit IRC06:48
*** kairo has joined #openstack-powervm07:21
*** kairo has quit IRC07:22
*** kairo has joined #openstack-powervm07:22
*** kotra03 has joined #openstack-powervm07:28
*** jwcroppe has joined #openstack-powervm07:44
*** jwcroppe has quit IRC07:49
*** k0da has joined #openstack-powervm07:58
*** kotra03 has quit IRC08:16
*** kotra03 has joined #openstack-powervm08:22
*** jwcroppe has joined #openstack-powervm08:45
*** jwcroppe has quit IRC08:49
*** jwcroppe has joined #openstack-powervm09:46
*** jwcroppe has quit IRC09:50
*** kotra03 has quit IRC10:08
*** kotra03_ has joined #openstack-powervm10:12
*** kotra03_ is now known as kotra0310:13
*** jwcroppe has joined #openstack-powervm10:47
openstackgerritArun Mani proposed openstack/nova-powervm: Deploy of a VM occasionally fails due to invalid keystone token  https://review.openstack.org/35127010:47
*** smatzek has joined #openstack-powervm10:51
*** jwcroppe has quit IRC10:52
*** tjakobs has quit IRC11:10
*** jwcroppe has joined #openstack-powervm11:47
*** jwcroppe has quit IRC11:52
*** thorst_ has joined #openstack-powervm11:54
arunmanthorst_:  https://review.openstack.org/351270, fixed your comments and updated patchset. Please check11:59
thorst_arunman: in the comments you say that you updated the test to make sure its been called exactly once with the exception12:01
thorst_but I don't actually see that.12:01
thorst_arunman: also, can you verify that it has been live tested?12:03
arunmanMy change is like this, the first time around it gets called with the failure result object. Then goes for a retry.. this time around I use the valid result object with 'success' set to true and succeeds12:03
thorst_I was expecting to see something like 'call_count' or 'assert_called_once_with'12:04
arunmanthis ensures it's retried once after a failure during the first time12:04
arunmanI did try with assert_called_once_with, but its actually called more than once for a retry and hence went with this implementation12:04
thorst_could you do call_count == 2?12:04
thorst_self.assertEqual(mock_run.call_count, 2)12:05
thorst_that just makes sure both calls get consumed.12:05
thorst_both side effects that is12:05
arunmanyeah.. I guess I did check that. But, what I noticed was it gets called a couple of times in the beginning of test_underscore_store, before it hits this place and the total count here happens to be 412:10
thorst_need to do a reset_mock() before your second pass.12:10
thorst_mock_run.reset_mock()12:11
thorst_and if its hitting it more times...then I question if the code is doing what we expect.12:11
arunmanit's the actual tests that's doing this before... one for a success case, one for a unsuccessful upload, and two times with my changes12:13
thorst_then the reset_mock will reset that call count12:13
arunmanyep.. added that. Uploading it for review12:13
thorst_thx12:15
thorst_I'll give  +1 for now and then once it gets past CI we'll get it +2'd12:15
thorst_since I know you need this in mitaka12:15
thorst_go to the review, hit the 'cherry-pick' button12:16
thorst_and type in stable/mitaka12:16
thorst_then add efried and myself as reviewers12:16
openstackgerritArun Mani proposed openstack/nova-powervm: Deploy of a VM occasionally fails due to invalid keystone token  https://review.openstack.org/35127012:18
arunmanSure thing.. I've updated the UT as well12:18
*** k0da has quit IRC12:26
*** k0da has joined #openstack-powervm12:30
arunmanadded this to 'cherry-pick' in stable/mitaka12:30
*** mdrabe has joined #openstack-powervm12:30
*** burgerk has joined #openstack-powervm12:32
thorst_arunman: thx for making those changes.  Hoping this all gets through CI and we can merge this in today12:33
openstackgerritRavi Kumar Kota proposed openstack/nova-powervm: WIP: PowerVM: Implement get_instance_diagnostics  https://review.openstack.org/35052512:34
thorst_kotra03: I think you're ready to remove the 'WIP' from that commit message?12:34
kotra03thorst_, I will remove that after live testing12:35
thorst_ahh, still waiting on that12:35
thorst_got it12:35
arunmanthorst_:  thnx to you too for your time and review on this12:36
thorst_:-)  No problem.  More changes to nova-powervm will only make it better12:36
thorst_lets do all the changes we can there and in pypowervm12:36
*** arunman has quit IRC12:45
*** catintheroof has joined #openstack-powervm12:46
*** kylek3h has joined #openstack-powervm12:55
*** kylek3h has quit IRC12:58
*** apearson has joined #openstack-powervm12:59
*** jwcroppe has joined #openstack-powervm13:00
*** tblakes has joined #openstack-powervm13:02
*** kylek3h has joined #openstack-powervm13:14
*** kylek3h has quit IRC13:14
*** kylek3h has joined #openstack-powervm13:15
*** edmondsw has joined #openstack-powervm13:19
*** esberglu has joined #openstack-powervm13:23
*** seroyer has joined #openstack-powervm13:25
*** dwayne has joined #openstack-powervm13:28
*** thorst_ has quit IRC13:31
*** seroyer has quit IRC13:38
*** kotra03 has quit IRC13:41
openstackgerritTyler Blakeslee proposed openstack/nova-powervm: Added revert to delete LPAR from destination host on failed rebuild  https://review.openstack.org/35077313:45
*** kriskend_ has joined #openstack-powervm13:53
*** kriskend has joined #openstack-powervm13:53
*** jwcroppe_ has joined #openstack-powervm13:53
*** jwcroppe has quit IRC13:55
*** lmtaylor1 has joined #openstack-powervm14:01
*** tblakes has quit IRC14:07
*** burgerk has quit IRC14:10
*** smatzek has quit IRC14:13
*** tblakes has joined #openstack-powervm14:15
*** jwcroppe_ has quit IRC14:20
*** jwcroppe has joined #openstack-powervm14:21
*** thorst_ has joined #openstack-powervm14:26
*** seroyer has joined #openstack-powervm14:26
*** arunman has joined #openstack-powervm14:28
*** arunman has quit IRC14:35
*** smatzek has joined #openstack-powervm14:36
*** thorst_ has quit IRC14:38
*** catintheroof has quit IRC14:47
*** burgerk has joined #openstack-powervm14:48
*** catintheroof has joined #openstack-powervm14:48
*** k0da has quit IRC14:52
*** catintheroof has quit IRC14:53
*** svenkat has joined #openstack-powervm15:00
efriedsvenkat: https://review.openstack.org/#/c/343423/14/networking_powervm/plugins/ml2/drivers/mech_pvm_sriov.py@5115:00
efriedWhere did the 'agent' arg come from?15:00
svenkatlet me look15:01
svenkatthere was a try_to_bind method that invoked _get_vif_details, that had agent in it… now i dont see the try_to_bind… method in mechanism driver15:02
svenkatlook at patchset 1115:02
*** kotra03 has joined #openstack-powervm15:03
efriedI understand how it's being used by the mech driver.  (That call is now in mech_pvm_base.py)  But _get_vif_details is called by base neutron code, neh?15:04
efriedIt looks like in PS8, you added the 'agent' param to _get_vif_details.15:04
efriedI know *why* you did it.  It makes sense.  We want to be able to convey information from the agent through to the nova side.15:04
*** thorst_ has joined #openstack-powervm15:04
svenkatwhere is get_vif_details is called now?15:05
svenkatwherever it is called, it should have agent15:05
efriedneutron/plugins/ml2/driver_context.py:100:            self._original_vif_details = self._plugin._get_vif_details(binding)15:05
efriedneutron/plugins/ml2/driver_context.py:230:        return self._plugin._get_vif_details(self._binding)15:05
efriedneutron/plugins/ml2/plugin.py:538:            port[portbindings.VIF_DETAILS] = self._get_vif_details(binding)15:05
efriedneutron/plugins/ml2/plugin.py:540:    def _get_vif_details(self, binding):15:05
efriedneutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py:152:                            self._get_vif_details(segment),15:05
efriedneutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py:191:    def _get_vif_details(self, segment):15:05
efriedThe places *we're* calling it - we can control.  The places *neutron* calls it - we can't.15:06
svenkatpreviously we had our own try_to_bind_segment_for_agent, can we continue to overwrite it15:07
efriedYes, we still do - that's in mech_pvm_base now.15:07
efriedBut the question is: is it okay for us to funnel information like phys port mappings through *sometimes* but not all the time?15:08
svenkati think we should overwrite try_to_bind_segment_for_agent and name _get_vif_details to something else and invoke it.15:12
*** thorst_ has quit IRC15:12
svenkati am looking at older patchsets when we did not have _get_vif_details15:12
svenkatbut with _get_vif_details(segement, agent), and invoked by overwritten try_to_bind_segment_for_agent, anything is getting broken? or is it just an observation?15:14
efriedI don't know.15:15
efriedOh, you're asking whether it's okay to leave the _get_vif_details signature changed?15:15
svenkatyes15:15
efriedI seriously doubt it.  But I don't know how to get to the code paths that would cause it to break.15:15
svenkatwhy not put try_to_bind_segment_for_agent back? that invokes local _get_vif_details15:16
*** thorst_ has joined #openstack-powervm15:16
*** arunman has joined #openstack-powervm15:18
svenkator rename  _get_vif_details as something else and invoke it in overwritten try_to_bind_segement_for_agent method15:19
efriedsvenkat, try_to_bind_segment_for_agent is still there - it's just in the base class, mech_pvm_base.  That way we can use it for both drivers, since thorst_ was setting that up anyway.15:20
efriedSo yes, I can change the code in try_to_bind_segment_for_agent to set the extra stuff (phys port locs, redundancy level) in the vif details.15:20
svenkatsicne we need data from agent configuration to vif, we need to overwrite it for our own sriov mechnaism driver…15:20
efriedAnd leave the signature of _get_vif_details alone.15:21
svenkatok… good idea. we can do all in try_to_bind_segment_for_agent without invokig _get_vif_details15:21
efriedBut that means _get_vif_details will *not* be populating those extra pieces of information (phys port locs, redundancy level) whenever it's called from these nebulous, mysterious places within neutron itself.15:21
*** thorst_ has quit IRC15:21
efriedand I don't know if that's okay.15:22
efriedI guess... we try it.15:22
svenkatsure.15:22
efriedMeanwhile, I can't stack.  On your system or mine.  I am cursed.15:23
svenkaton controller side?15:25
*** catintheroof has joined #openstack-powervm15:25
svenkat9.47.83.108 should be fine.. are you using that one? this jupiter instance got renewed for another month15:26
*** apearson has quit IRC15:26
efriedI tried to hook up to it yesterday and couldn't ssh/telnet.15:28
efriedSo I tried making .149 an all-in-one.15:28
efriedFail.15:28
svenkatlet me ssh into .10815:28
*** thorst_ has joined #openstack-powervm15:29
svenkati can ssh into 9.47.83.108  stack / svenkat12315:29
*** apearson has joined #openstack-powervm15:30
*** thorst_ has quit IRC15:31
*** tjakobs has joined #openstack-powervm15:41
openstackgerritEric Fried proposed openstack/nova-powervm: WIP: VIF driver implementation for SR-IOV  https://review.openstack.org/34341915:48
*** thorst_ has joined #openstack-powervm15:53
*** apearson has quit IRC15:57
*** apearson has joined #openstack-powervm15:59
*** thorst_ has quit IRC16:00
*** antonym has joined #openstack-powervm16:29
*** kairo has quit IRC16:53
*** dwayne has quit IRC17:05
*** arunman has quit IRC17:07
*** dwayne has joined #openstack-powervm17:18
*** arunman has joined #openstack-powervm17:19
*** apearson has quit IRC17:40
*** arunman has quit IRC17:42
*** arunman has joined #openstack-powervm17:44
*** thorst_ has joined #openstack-powervm18:05
*** arunman has quit IRC18:21
*** kotra03 has quit IRC18:22
*** thorst_ has quit IRC18:41
tblakesDoes anyone know the comment you need to post to rerun Jenkins in Gerrit?18:43
adreznecrecheck18:56
adreznectblakes: ^^18:56
tblakesadreznec: Thanks!18:56
*** catintheroof has quit IRC19:12
*** thorst_ has joined #openstack-powervm19:21
*** thorst_ has quit IRC19:26
tblakesI submitted a review at https://review.openstack.org/#/c/350773/ and Jenkins still hasn't completed it's tests. I let it run for 2 hours the first time, and it's run for 30 minutes this time without returning anything. Is there anything I should do to check it's status?19:35
mdrabetblakes: Sometimes it just takes a while19:50
mdrabeCan always run the tests locally as well19:50
tblakesHow do I run them locally?19:51
*** kylek3h has quit IRC19:53
*** apearson has joined #openstack-powervm19:54
*** thorst_ has joined #openstack-powervm20:08
*** apearson has quit IRC20:09
*** apearson has joined #openstack-powervm20:10
*** thorst_ has quit IRC20:12
mdrabetblakes: tox -e py2720:13
mdrabethat'll run all the py27 tests20:13
mdrabetox -e pep8 #will run all the pep8 checks20:14
tblakesOh I already did that. I thought there were more tests that were run20:14
tblakesThanks20:14
openstackgerritTyler Blakeslee proposed openstack/nova-powervm: Added revert to delete LPAR from destination host on failed rebuild  https://review.openstack.org/35077320:21
*** apearson has quit IRC20:29
*** apearson has joined #openstack-powervm20:29
*** thorst_ has joined #openstack-powervm20:40
*** smatzek has quit IRC20:48
*** apearson has quit IRC20:50
*** thorst_ has quit IRC20:53
*** svenkat has quit IRC21:11
*** lmtaylor1 has left #openstack-powervm21:29
*** tblakes has quit IRC21:41
*** chmod6661rg has quit IRC21:50
*** chmod666org has joined #openstack-powervm21:51
*** apearson has joined #openstack-powervm21:54
*** esberglu has quit IRC21:55
*** burgerk has quit IRC22:01
*** seroyer has quit IRC22:02
*** tjakobs has quit IRC22:08
*** apearson has quit IRC22:14
*** kriskend_ has quit IRC22:15
*** kriskend has quit IRC22:15
*** efried has quit IRC22:18
*** mdrabe has quit IRC22:23
*** edmondsw has quit IRC22:36
*** apearson has joined #openstack-powervm22:39
*** tblakes has joined #openstack-powervm22:53
*** apearson has quit IRC22:54
*** apearson has joined #openstack-powervm23:04
*** dwayne has quit IRC23:20
openstackgerritHenry Gessau proposed openstack/networking-powervm: Enable DeprecationWarning in test environments  https://review.openstack.org/35316423:35
*** apearson has quit IRC23:39
*** dwayne has joined #openstack-powervm23:42
*** dwayne has quit IRC23:52
*** esberglu has joined #openstack-powervm23:56
*** esberglu has quit IRC23:57

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