Friday, 2017-04-14

*** gouthamr has quit IRC02:49
*** ioggstream has joined #openstack-shade07:28
*** cdent has joined #openstack-shade08:24
*** Aqsa has joined #openstack-shade08:49
*** Aqsa has quit IRC10:02
*** Aqsa has joined #openstack-shade10:12
*** Aqsa has quit IRC12:02
*** gouthamr has joined #openstack-shade12:26
openstackgerritRosario Di Somma proposed openstack-infra/shade master: WIP: Use REST for the cinder volumes list  https://review.openstack.org/45673613:05
*** ioggstream has quit IRC13:08
*** larainema has quit IRC14:02
*** larainema has joined #openstack-shade14:02
mordredrods: awesome! I shall start looking now14:13
rodsmordred hey, I'm not sure I understand this test https://github.com/openstack-infra/shade/blob/master/shade/tests/unit/test_caching.py#L21314:15
rodsdon't see where the volume creation that should invalidate the cache happens14:15
mordredaha!14:18
mordredrods: I didn't either - but it turns out I lied about what that's testing (oops)14:19
mordredit's testing that a volume with status "creating" causes the volume list to not be cached in the first place14:19
mordred(there is a filter in the caching logic that will not cache the list if any of the volumes are in a known-temporary state)14:20
mordredso I think if you change your first 'available' to 'creating' on line 221 in your patch, it should do the rightthing14:20
mordredso the test should be showing that GET is called twice, since the first GET returned a volume in 'creating' state14:21
* mordred looks at the other test to try to spot what's unhappy there14:22
rodsmordred looks like the other tests is making a call to create_volume, I think I need to patch that before call before I can finish the work on the list_volume14:23
mordrednod. so - in the test_list_volumes test - I think it may need to be restructured a little bit, because of how self.assert_calls() is going to work ... I'll write a comment in the review14:24
rodsmordred great, thanks for looking at it14:28
mordredrods: sweet - comments left - good work so far!14:29
rods:)14:30
*** ioggstream has joined #openstack-shade14:43
*** cdent has quit IRC14:49
*** larainema has quit IRC16:12
*** Aqsa has joined #openstack-shade17:22
*** ioggstream has quit IRC17:30
*** cdent has joined #openstack-shade18:13
*** cdent has quit IRC18:24
*** Aqsa has quit IRC18:45
*** Aqsa has joined #openstack-shade18:54
*** Aqsa has quit IRC20:17
*** gouthamr has quit IRC20:35
*** gouthamr has joined #openstack-shade20:58
*** slaweq has joined #openstack-shade21:56
slaweqhello21:57
slaweqI read mordred's mail about contributing to shade project and I wanted to help on transition from neutronclient to REST api calls21:58
slaweqdo You know maybe if somebody is already doing this?21:58
slaweqor can I work on it?21:58
*** gouthamr has quit IRC22:03
*** gouthamr has joined #openstack-shade23:21

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