Wednesday, 2017-06-07

*** markvoelker has quit IRC00:07
*** adriant has joined #openstack-sdks00:19
*** hoangcx has joined #openstack-sdks00:51
*** dave-mccowan has joined #openstack-sdks00:57
*** dave-mccowan has quit IRC01:02
*** markvoelker has joined #openstack-sdks01:03
*** fzdarsky_ has joined #openstack-sdks01:30
*** fzdarsky has quit IRC01:33
*** chlong has quit IRC01:50
*** salv-orlando has joined #openstack-sdks02:05
*** salv-orl_ has quit IRC02:08
*** Shrews has quit IRC02:20
*** Shrews has joined #openstack-sdks02:23
*** marst has joined #openstack-sdks02:27
*** annp has joined #openstack-sdks02:36
openstackgerritVu Cong Tuan proposed openstack/python-openstacksdk master: Remove support for py34  https://review.openstack.org/47157103:39
reedipstevemar : o/03:40
*** marst has quit IRC03:49
openstackgerritReedip proposed openstack/python-openstackclient master: Add default-quota to subnet pool commands  https://review.openstack.org/43736704:03
*** adriant has quit IRC04:35
*** adriant has joined #openstack-sdks04:39
*** adriant has quit IRC04:40
*** dims has quit IRC05:09
stevemarhey reedip05:11
*** gildub_ has quit IRC05:27
*** dims has joined #openstack-sdks05:41
*** gildub has joined #openstack-sdks06:10
*** salv-orlando has quit IRC06:25
*** gildub has quit IRC06:46
*** salv-orlando has joined #openstack-sdks07:09
*** salv-orl_ has joined #openstack-sdks07:32
*** salv-orlando has quit IRC07:37
*** jpich has joined #openstack-sdks07:53
*** jamielennox is now known as jamielennox|away08:50
*** cdent has joined #openstack-sdks09:08
openstackgerritMerged openstack/keystoneauth master: Fix html_last_updated_fmt for Python3  https://review.openstack.org/47066309:08
*** jamielennox|away is now known as jamielennox09:10
*** sdague has joined #openstack-sdks09:31
*** e0ne has joined #openstack-sdks09:31
*** ralonsoh has joined #openstack-sdks09:55
openstackgerritRui Chen proposed openstack/python-openstackclient master: Clean up the changes of os.environ in functional tests  https://review.openstack.org/47134109:56
*** fzdarsky_ is now known as fzdarsky|lunch09:58
*** cdent has quit IRC10:01
*** annp has quit IRC10:06
*** hoangcx has quit IRC10:40
*** hoangcx has joined #openstack-sdks10:43
*** cdent has joined #openstack-sdks10:44
*** hoangcx has quit IRC10:44
*** e0ne has quit IRC11:04
*** rate has joined #openstack-sdks11:05
*** rate is now known as chenyb4_11:08
*** jkilpatr has joined #openstack-sdks11:10
*** chenyb4_ has quit IRC11:21
*** chenyb4_ has joined #openstack-sdks11:23
openstackgerritAkihiro Motoki proposed openstack/cliff master: sphinxext: Add 'application' option to the autoprogram directive  https://review.openstack.org/46972611:31
*** fzdarsky|lunch is now known as fzdarsky11:38
*** chenyb4_ has quit IRC11:50
*** chlong has joined #openstack-sdks12:02
openstackgerritDinesh Bhor proposed openstack/python-openstacksdk master: Fix update_image unsupported media type  https://review.openstack.org/31905412:24
openstackgerritMerged openstack/python-openstacksdk master: Remove support for py34  https://review.openstack.org/47157112:26
*** 21WAACJDQ has joined #openstack-sdks12:30
Dinesh_Bhorbriancurtin, Qiming: thanks for review. Addressed the review comments: https://review.openstack.org/#/c/319054/512:35
briancurtinDinesh_Bhor: my question was more about why line 162 in _proxy.py is even needed. is it?12:36
Dinesh_Bhorbriancurtin: yes, otherwise how can I get the image to update12:37
briancurtinDinesh_Bhor: in all cases in all other update calls across all other services around the whole SDK, there is an assumption that if you’re calling update on something, you’re calling it with either a resource instance that you obtained in some other way or you have the ID of a resource you obtained in some other way12:39
briancurtinyou would have done `x = get_blah(…); update_blah(x, name=“foo”)`12:39
briancurtinso update doing an extra get on that line is what I’m wondering about. i guess it could be necessary if there’s something i don’t understand about it, but that’s what i’d like to know12:40
*** 21WAACJDQ has quit IRC12:40
*** chenyb4_ has joined #openstack-sdks12:40
*** chenyb4_ has quit IRC12:41
*** salv-orl_ has quit IRC12:49
*** salv-orlando has joined #openstack-sdks12:50
Dinesh_Bhorbriancurtin: sorry but right now I am not able to visualize what you are trying to say. I will check this part.12:52
briancurtinDinesh_Bhor: for example, update_server just updates a server. it doesn’t do a get. same with anything in there named update_*  — https://github.com/openstack/python-openstacksdk/blob/master/openstack/compute/v2/_proxy.py#L41412:53
briancurtinDinesh_Bhor: actually, i think i know what you’re trying to do now. 1 sec12:54
*** salv-orlando has quit IRC12:54
briancurtinDinesh_Bhor: you should do something like https://github.com/openstack/python-openstacksdk/blob/master/openstack/compute/v2/_proxy.py#L343 — so `img = self._get_resource(_image.Image, image); img.update_image(self._session, img, **attrs)12:55
briancurtinthe way you have it would be doing an extra HTTP GET call, when we can just use the internal method self._get_resource to construct a resource instance from a string ID if that’s what we have (or it just returns the resource instance if it was given an instance), which avoids the extra roundtrip12:57
Dinesh_Bhorbriancurtin: ohh, now I got your point.12:58
briancurtinDinesh_Bhor: you might want to change the update_image name in image/v2/image.py to just update(…). that way we don’t have the proxy update_image calling into image.update_image. it gets a bit wordy that way13:00
Dinesh_Bhorbriancurtin: yeah, I will change that13:01
briancurtinDinesh_Bhor: otherwise i think this is good. i’ll take a look again after your next changes13:01
Dinesh_Bhorbriancurtin: yes, thanks. I will update the patch soon13:02
*** e0ne has joined #openstack-sdks13:06
*** bobh has joined #openstack-sdks13:14
openstackgerritRui Chen proposed openstack/python-openstackclient master: Clean up the changes of os.environ in functional tests  https://review.openstack.org/47134113:17
*** e0ne has quit IRC13:26
*** e0ne has joined #openstack-sdks13:28
*** dave-mccowan has joined #openstack-sdks13:37
*** dave-mccowan has quit IRC13:41
*** chlong has quit IRC13:43
*** dave-mccowan has joined #openstack-sdks13:45
openstackgerritDinesh Bhor proposed openstack/python-openstacksdk master: Fix update_image unsupported media type  https://review.openstack.org/31905413:46
Dinesh_Bhorbriancurtin: ^^ Please take a look at it when you get time14:04
briancurtinDinesh_Bhor: that looks good! i assume the tests will pass but will wait for them to show up and then it’s a +214:11
*** dave-mccowan has quit IRC14:12
*** hongbin has joined #openstack-sdks14:50
*** marst has joined #openstack-sdks14:57
*** ralonsoh_ has joined #openstack-sdks15:04
*** ralonsoh has quit IRC15:07
*** ralonsoh_ is now known as ralonsoh15:07
*** dave-mccowan has joined #openstack-sdks15:21
*** salv-orlando has joined #openstack-sdks15:22
*** chlong has joined #openstack-sdks15:27
*** reedip_ has joined #openstack-sdks15:39
*** fzdarsky is now known as fzdarsky|afk16:01
*** dave-mccowan has quit IRC16:05
openstackgerritAkihiro Motoki proposed openstack/cliff master: sphinxext: Add 'application' option to the autoprogram directive  https://review.openstack.org/46972616:12
openstackgerritReedip proposed openstack/python-openstackclient master: Add default-quota to subnet pool commands  https://review.openstack.org/43736716:22
*** reedip_ has quit IRC16:30
*** jpich has quit IRC16:36
*** jkilpatr has quit IRC16:36
*** jkilpatr has joined #openstack-sdks16:40
*** dave-mccowan has joined #openstack-sdks16:42
*** ediardo has quit IRC16:45
*** salv-orlando has quit IRC16:51
*** e0ne has quit IRC16:57
openstackgerritMerged openstack/python-openstacksdk master: Fix update_image unsupported media type  https://review.openstack.org/31905417:00
*** ralonsoh has quit IRC17:06
*** salv-orlando has joined #openstack-sdks17:14
*** cdent has quit IRC17:25
*** e0ne has joined #openstack-sdks17:39
*** dtantsur is now known as dtantsur|afk17:50
*** e0ne has quit IRC18:02
*** dave-mccowan has quit IRC18:12
*** e0ne has joined #openstack-sdks18:19
*** salv-orlando has quit IRC18:21
*** salv-orlando has joined #openstack-sdks18:21
*** salv-orlando has quit IRC18:25
*** dave-mccowan has joined #openstack-sdks19:23
*** salv-orlando has joined #openstack-sdks19:26
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is being restarted now to clear some excessive connection counts while we debug the intermittent request failures reported over the past few minutes20:06
dhellmanndtroyer, stevemar : do the cliff tests pass for you on master? I'm seeing a failure with the smart help formatter20:15
dtroyerdhellmann: I'll check20:18
dhellmanndtroyer : oh, it fails for me because I have a wide terminal20:18
dhellmannand it's not forcing the width20:19
*** e0ne_ has joined #openstack-sdks20:19
dhellmannthe test, that is20:19
*** marst_ has joined #openstack-sdks20:20
*** e0ne has quit IRC20:22
*** marst has quit IRC20:23
*** e0ne has joined #openstack-sdks20:40
*** e0ne has quit IRC20:42
*** e0ne_ has quit IRC20:42
*** salv-orl_ has joined #openstack-sdks20:43
*** e0ne has joined #openstack-sdks20:44
*** salv-orlando has quit IRC20:46
openstackgerritDoug Hellmann proposed openstack/cliff master: make smart help formatter test deterministic  https://review.openstack.org/47191621:06
openstackgerritDoug Hellmann proposed openstack/cliff master: add --fit-width option to table formatter  https://review.openstack.org/47191721:06
*** sdague has quit IRC21:16
*** e0ne has quit IRC21:19
*** frickler_ has joined #openstack-sdks21:26
*** Hazelesque_ has joined #openstack-sdks21:26
*** RuiChen has quit IRC21:29
*** frickler has quit IRC21:29
*** Hazelesque has quit IRC21:29
*** jgriffith has quit IRC21:29
*** Kevin_Zheng has quit IRC21:29
*** jgriffith_ has joined #openstack-sdks21:29
*** hongbin has quit IRC21:47
*** hongbin has joined #openstack-sdks21:51
*** bobh has quit IRC22:02
*** chlong has quit IRC22:32
*** jkilpatr has quit IRC22:34
*** salv-orl_ has quit IRC22:37
*** salv-orlando has joined #openstack-sdks22:37
*** salv-orlando has quit IRC22:41
*** marst_ has quit IRC22:52
*** bobh has joined #openstack-sdks23:10
*** openstack has joined #openstack-sdks23:15
*** RuiChen has joined #openstack-sdks23:21
*** Kevin_Zheng has joined #openstack-sdks23:21

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