Tuesday, 2016-12-06

*** gildub has joined #openstack-sdks00:14
*** shu-mutou has joined #openstack-sdks00:23
openstackgerritsongminglong proposed openstack/python-openstackclient: Add extra filtering options to floating ip list  https://review.openstack.org/39985201:00
*** ctayal has quit IRC01:01
*** zhurong has joined #openstack-sdks01:13
*** john-davidge has joined #openstack-sdks01:20
*** zhurong has quit IRC01:25
*** john-davidge has quit IRC01:25
*** zhurong has joined #openstack-sdks01:26
*** yanyanhu has joined #openstack-sdks01:30
*** annp_ has joined #openstack-sdks01:31
*** annp__ has joined #openstack-sdks01:31
*** kevo has quit IRC01:32
*** zhiyong has joined #openstack-sdks01:51
*** annp_ has quit IRC01:53
*** annp__ has quit IRC01:54
*** annp has joined #openstack-sdks01:55
*** zhiyong has quit IRC02:08
*** zhiyong has joined #openstack-sdks02:09
*** yuanying has quit IRC02:46
openstackgerritAnkur proposed openstack/python-openstackclient: Network L3 Router Commands for OSC  https://review.openstack.org/38572902:53
*** john-davidge has joined #openstack-sdks03:48
openstackgerritJoseph Robinson proposed openstack/python-openstackclient: Add support for clearing router gateway  https://review.openstack.org/40418303:51
*** john-davidge has quit IRC03:52
*** mordred has quit IRC04:26
*** greghaynes has quit IRC04:26
*** Shrews has quit IRC04:27
*** alex_xu has joined #openstack-sdks04:49
*** alex_xu has quit IRC04:49
*** alex_xu has joined #openstack-sdks04:51
*** yuanying has joined #openstack-sdks04:56
openstackgerritSindhu Devale proposed openstack/python-openstackclient: SDK refactor: Prepare network commands  https://review.openstack.org/40732404:56
*** Shrews has joined #openstack-sdks05:03
*** mordred has joined #openstack-sdks05:04
*** greghaynes has joined #openstack-sdks05:04
*** ctayal has joined #openstack-sdks05:07
*** ctayal has quit IRC05:07
*** ctayal has joined #openstack-sdks05:08
*** ctayal has joined #openstack-sdks05:08
*** nandal has joined #openstack-sdks05:09
*** mordred has quit IRC05:18
*** Shrews has quit IRC05:18
*** cardeois has quit IRC05:22
*** cardeois has joined #openstack-sdks05:24
*** yuanying_ has joined #openstack-sdks05:26
*** Shrews has joined #openstack-sdks05:26
*** mordred has joined #openstack-sdks05:26
*** yuanying has quit IRC05:29
*** reedip has quit IRC05:33
*** yuanying has joined #openstack-sdks05:36
*** yuanying_ has quit IRC05:40
*** yuanying_ has joined #openstack-sdks05:41
*** yuanying has quit IRC05:44
*** reedip has joined #openstack-sdks05:46
*** adriant has quit IRC05:53
*** e0ne has joined #openstack-sdks05:56
*** john-davidge has joined #openstack-sdks06:15
*** john-davidge has quit IRC06:19
*** gmann has quit IRC06:30
openstackgerritHa Van Tu proposed openstack/python-openstackclient: Add "qos-policy" option to "port create" & "port set"  https://review.openstack.org/35530606:38
*** reedip has quit IRC06:39
*** reedip has joined #openstack-sdks06:52
*** Kiall has quit IRC06:56
openstackgerritHa Van Tu proposed openstack/python-openstackclient: Add 'allowed address pairs' option to 'port create/set/unset'  https://review.openstack.org/35621907:01
*** reedip has quit IRC07:01
*** reedip has joined #openstack-sdks07:04
*** e0ne has quit IRC07:04
*** gildub_ has joined #openstack-sdks07:07
*** gildub_ has quit IRC07:07
*** e0ne has joined #openstack-sdks07:11
*** yuanying_ has quit IRC07:13
*** e0ne has quit IRC07:13
*** mordred has quit IRC07:25
*** Guest66666 has quit IRC07:27
*** cardeois has quit IRC07:29
openstackgerritZhou Zhihong proposed openstack/python-openstacksdk: Add filters to the network proxy agents() method  https://review.openstack.org/40684307:29
*** Guest66666 has joined #openstack-sdks07:29
*** Shrews has quit IRC07:30
*** mordred has joined #openstack-sdks07:34
*** cardeois has joined #openstack-sdks07:34
*** Shrews has joined #openstack-sdks07:35
*** d0ugal has joined #openstack-sdks07:57
*** d0ugal has quit IRC07:57
*** d0ugal has joined #openstack-sdks07:57
*** yuanying has joined #openstack-sdks08:01
*** nandal has quit IRC08:08
*** ralonsoh has joined #openstack-sdks08:18
*** ctayal has quit IRC08:35
*** gmann has joined #openstack-sdks09:15
*** gildub has quit IRC09:17
openstackgerritAaron Ding proposed openstack/python-openstacksdk: Add user_id in profile resource.  https://review.openstack.org/40741709:19
openstackgerritBadhmapriya Boopalan proposed openstack/python-openstackclient: To display image size in human friendly format  https://review.openstack.org/39812609:29
openstackgerritBadhmapriya Boopalan proposed openstack/python-openstackclient: To display image size in human friendly format  https://review.openstack.org/39812609:31
*** john-davidge has joined #openstack-sdks09:34
*** lucas-afk is now known as lucasagomes09:35
*** yanyanhu has quit IRC09:37
*** yanyanhu has joined #openstack-sdks09:38
*** john-davidge has quit IRC09:39
*** john-davidge has joined #openstack-sdks09:44
*** gmann has quit IRC09:58
*** e0ne has joined #openstack-sdks09:58
*** gmann has joined #openstack-sdks09:59
*** exploreshaifali has joined #openstack-sdks09:59
*** zhurong has quit IRC10:03
*** annp has quit IRC10:05
openstackgerritAaron Ding proposed openstack/python-openstacksdk: Add user_id in profile resource.  https://review.openstack.org/40741710:08
noamaHi all, I have filed a bug https://bugs.launchpad.net/python-openstacksdk/+bug/1625579 I tried to debug and fix it myself but i lack the understanding of whats going on with the resources10:23
openstackLaunchpad bug 1625579 in OpenStack SDK "create port with binding_vnic_type param fail HttpException: Bad Request" [Undecided,New]10:23
noamacan someone help me debug it?10:24
noamaor suggest a fix for it10:24
*** cdent has joined #openstack-sdks10:29
*** shu-mutou is now known as shu-mutou-AWAY10:42
*** e0ne has quit IRC10:45
*** nandal has joined #openstack-sdks10:50
*** yanyanhu has quit IRC11:01
*** sdague has joined #openstack-sdks11:02
*** e0ne has joined #openstack-sdks11:03
*** huanxuan has joined #openstack-sdks11:11
*** e0ne has quit IRC11:15
*** e0ne has joined #openstack-sdks11:43
*** jamielennox is now known as jamielennox|away11:44
*** exploreshaifali has quit IRC12:06
*** exploreshaifali has joined #openstack-sdks12:06
*** exploreshaifali has quit IRC12:06
*** e0ne has quit IRC12:07
*** e0ne has joined #openstack-sdks12:09
*** rtheis has joined #openstack-sdks12:17
*** lucasagomes is now known as lucas-hungry12:30
openstackgerritzhiyong.dai proposed openstack/python-openstackclient: Add "consistency group set" command  https://review.openstack.org/40670012:31
openstackgerritBadhmapriya Boopalan proposed openstack/osc-lib: To display image size in human friendly format  https://review.openstack.org/39998212:45
*** Kevin_Zheng has quit IRC12:46
*** Kevin_Zheng has joined #openstack-sdks12:47
*** exploreshaifali has joined #openstack-sdks12:54
*** RuiChen has quit IRC12:56
*** RuiChen has joined #openstack-sdks12:57
*** huanxuan has quit IRC13:09
*** huanxuan has joined #openstack-sdks13:09
*** gouthamr has joined #openstack-sdks13:10
*** gouthamr has quit IRC13:10
*** gouthamr has joined #openstack-sdks13:12
*** edmondsw_ has joined #openstack-sdks13:13
*** edmondsw_ has quit IRC13:17
briancurtinnoama: apparently binding_vnic_type isn’t accepted by the server for that call13:17
*** lamt has joined #openstack-sdks13:19
briancurtinthe POST to /ports returns "Unrecognized attribute(s) 'binding_vnic_type’”, and looking at the docs, yeah, that doesn’t seem to be accepted13:20
*** exploreshaifali has quit IRC13:26
*** exploreshaifali has joined #openstack-sdks13:30
*** huanxuan has quit IRC13:30
*** fguillot has joined #openstack-sdks13:40
*** lucas-hungry is now known as lucasagomes13:50
*** lamt has quit IRC14:01
*** lamt has joined #openstack-sdks14:02
*** _elmiko is now known as elmiko14:23
*** exploreshaifali has quit IRC14:34
stevemardtroyer: poke for https://review.openstack.org/#/c/406700/614:45
dtroyerstevemar: ya, add/remove commands there14:48
*** nandal has quit IRC15:13
*** erlon-airlong has quit IRC15:20
*** erlon-airlong has joined #openstack-sdks15:20
*** reedip_ has joined #openstack-sdks15:28
openstackgerritMerged openstack/python-openstacksdk: Add filters to the network proxy agents() method  https://review.openstack.org/40684315:34
*** reedip_ has quit IRC15:37
*** exploreshaifali has joined #openstack-sdks15:49
*** reedip_ has joined #openstack-sdks15:49
*** john-davidge has quit IRC15:51
*** john-davidge has joined #openstack-sdks15:51
*** john-davidge has quit IRC15:56
*** HenryG has left #openstack-sdks16:07
*** annegentle has joined #openstack-sdks16:18
*** cdent has quit IRC16:22
*** piet has joined #openstack-sdks16:22
*** exploreshaifali has quit IRC16:22
*** cdent has joined #openstack-sdks16:26
*** ctayal has joined #openstack-sdks16:29
*** fguillot has quit IRC16:33
*** reedip_ has quit IRC16:34
*** ctayal has quit IRC16:37
*** ctayal has joined #openstack-sdks17:00
*** ctayal_ has joined #openstack-sdks17:01
*** ctayal has quit IRC17:05
*** e0ne has quit IRC17:19
*** ctayal has joined #openstack-sdks17:20
*** ctayal_ has quit IRC17:23
openstackgerritAnkur proposed openstack/python-openstacksdk: Network L3 Router Commands  https://review.openstack.org/38572817:24
*** kevo has joined #openstack-sdks17:24
*** annegentle has quit IRC17:25
*** lucasagomes is now known as lucas-afk17:33
*** ctayal has quit IRC17:37
openstackgerritAnkur proposed openstack/python-openstackclient: Network L3 Router Commands for OSC  https://review.openstack.org/38572917:37
*** ctayal has joined #openstack-sdks17:37
*** kevo has quit IRC17:41
*** fguillot has joined #openstack-sdks17:46
*** kevo has joined #openstack-sdks17:51
*** ralonsoh has quit IRC18:06
*** kevo has quit IRC18:32
*** Kiall has joined #openstack-sdks18:41
*** e0ne has joined #openstack-sdks19:07
*** jamielennox|away is now known as jamielennox19:07
*** bapalm_ has quit IRC19:14
*** bapalm has joined #openstack-sdks19:18
*** e0ne has quit IRC19:23
*** annegentle has joined #openstack-sdks19:31
*** ctayal_ has joined #openstack-sdks19:37
*** ctayal has quit IRC19:41
*** kevo has joined #openstack-sdks19:44
*** ctayal_ has quit IRC19:58
*** ctayal has joined #openstack-sdks19:58
*** adriant has joined #openstack-sdks20:25
*** john-davidge has joined #openstack-sdks20:27
*** kevo has quit IRC20:29
*** gouthamr has quit IRC20:39
*** john-davidge has quit IRC20:46
*** fguillot has quit IRC20:47
*** david-lyle has quit IRC20:55
*** piet has quit IRC20:58
*** ctayal has quit IRC21:23
*** kevo has joined #openstack-sdks21:23
*** chlong has joined #openstack-sdks21:43
*** kevo has quit IRC21:52
*** rtheis has quit IRC21:53
*** kevo has joined #openstack-sdks21:54
*** chlong has quit IRC22:06
*** chlong has joined #openstack-sdks22:07
*** chlong has quit IRC22:12
*** gildub has joined #openstack-sdks22:15
*** ctayal has joined #openstack-sdks22:17
*** gildub has quit IRC22:23
*** david-lyle has joined #openstack-sdks22:24
*** gildub has joined #openstack-sdks22:34
*** gildub_ has joined #openstack-sdks22:38
*** gildub has quit IRC22:39
*** elmiko is now known as _elmiko22:39
*** david-lyle has quit IRC22:41
*** cdent has quit IRC22:53
*** jamielennox is now known as jamielennox|away23:05
*** jamielennox|away is now known as jamielennox23:06
*** sdague has quit IRC23:11
mordredjamielennox: when you have a spare sec - http://logs.openstack.org/70/407670/3/check/gate-shade-python35/4080b95/testr_results.html.gz - hit this in migrating a test to requests_mock - mostly sending it your way in case there is an obvious answer - morgan and I can investigate deeply if not23:23
mordredjamielennox: it only fails like this on python3 - and my hunch is that it's realted to passing a file object to the put method23:24
mordredjamielennox: (also, no rush at all - please ignore at will)23:25
jamielennoxmordred: yea, i'll have a look, i don't see anything obvious but i'll have to have a look at how shade sets up the mocker23:26
*** ctayal has quit IRC23:27
mordredjamielennox: thanks! that's here: http://git.openstack.org/cgit/openstack-infra/shade/tree/shade/tests/unit/base.py#n116 using the fixture from the requests_mock.contrib23:27
*** ctayal has joined #openstack-sdks23:27
jamielennoxmordred: as an FYI, adapter.get(*) == adapter.register_uri('GET', *)23:29
mordredjamielennox: ah - cool. that's less typing :)23:30
jamielennoxmordred: https://review.openstack.org/#/c/407670/3..4/shade/tests/unit/test_image.py23:49
jamielennoxi'm not sure why it turned up in delete23:49
jamielennoxmordred: there is actually a check to prevent this TypeError: https://github.com/openstack/requests-mock/blob/master/requests_mock/response.py#L15023:50
jamielennoxunfortunately i seem to have overlooked the empty string case vs the None case23:50
mordredjamielennox: shade will delete a half-uploaded image if there is an exception - this test should not have failed, so should not have triggered the delete codepath23:50
mordredjamielennox: oh! should I just leave text='' blank or set it to none?23:51
jamielennoxah, so it hit the typeerror and therefore tried to delete23:51
mordredI mean - there is no return value23:51
mordredyah23:51
jamielennoxyea, if you left it unset it should default to empty string i think23:51
jamielennoxthis is a requests-ism23:51
mordredcool. lemme try that23:51
jamielennoxresponse.content is bytes and response.text is string23:51
jamielennoxand response.body is a IO23:52
mordredso I should have done u'' if I wanted empty string23:52
jamielennoxjust leave it unset23:52
jamielennoxbut yea, text=u'string' or content=b'bytes'23:52
jamielennoxand don't mix the two23:52
mordredwoot. I have learned something!23:52
jamielennoxand i should fix that check to include the empty string23:53
mordredI hope most of what I'm doing is json={} :)23:53
mordredjamielennox: thanks for the help and the patch!23:55
jamielennoxnp23:57

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