*** gildub has joined #openstack-sdks | 00:14 | |
*** shu-mutou has joined #openstack-sdks | 00:23 | |
openstackgerrit | songminglong proposed openstack/python-openstackclient: Add extra filtering options to floating ip list https://review.openstack.org/399852 | 01:00 |
---|---|---|
*** ctayal has quit IRC | 01:01 | |
*** zhurong has joined #openstack-sdks | 01:13 | |
*** john-davidge has joined #openstack-sdks | 01:20 | |
*** zhurong has quit IRC | 01:25 | |
*** john-davidge has quit IRC | 01:25 | |
*** zhurong has joined #openstack-sdks | 01:26 | |
*** yanyanhu has joined #openstack-sdks | 01:30 | |
*** annp_ has joined #openstack-sdks | 01:31 | |
*** annp__ has joined #openstack-sdks | 01:31 | |
*** kevo has quit IRC | 01:32 | |
*** zhiyong has joined #openstack-sdks | 01:51 | |
*** annp_ has quit IRC | 01:53 | |
*** annp__ has quit IRC | 01:54 | |
*** annp has joined #openstack-sdks | 01:55 | |
*** zhiyong has quit IRC | 02:08 | |
*** zhiyong has joined #openstack-sdks | 02:09 | |
*** yuanying has quit IRC | 02:46 | |
openstackgerrit | Ankur proposed openstack/python-openstackclient: Network L3 Router Commands for OSC https://review.openstack.org/385729 | 02:53 |
*** john-davidge has joined #openstack-sdks | 03:48 | |
openstackgerrit | Joseph Robinson proposed openstack/python-openstackclient: Add support for clearing router gateway https://review.openstack.org/404183 | 03:51 |
*** john-davidge has quit IRC | 03:52 | |
*** mordred has quit IRC | 04:26 | |
*** greghaynes has quit IRC | 04:26 | |
*** Shrews has quit IRC | 04:27 | |
*** alex_xu has joined #openstack-sdks | 04:49 | |
*** alex_xu has quit IRC | 04:49 | |
*** alex_xu has joined #openstack-sdks | 04:51 | |
*** yuanying has joined #openstack-sdks | 04:56 | |
openstackgerrit | Sindhu Devale proposed openstack/python-openstackclient: SDK refactor: Prepare network commands https://review.openstack.org/407324 | 04:56 |
*** Shrews has joined #openstack-sdks | 05:03 | |
*** mordred has joined #openstack-sdks | 05:04 | |
*** greghaynes has joined #openstack-sdks | 05:04 | |
*** ctayal has joined #openstack-sdks | 05:07 | |
*** ctayal has quit IRC | 05:07 | |
*** ctayal has joined #openstack-sdks | 05:08 | |
*** ctayal has joined #openstack-sdks | 05:08 | |
*** nandal has joined #openstack-sdks | 05:09 | |
*** mordred has quit IRC | 05:18 | |
*** Shrews has quit IRC | 05:18 | |
*** cardeois has quit IRC | 05:22 | |
*** cardeois has joined #openstack-sdks | 05:24 | |
*** yuanying_ has joined #openstack-sdks | 05:26 | |
*** Shrews has joined #openstack-sdks | 05:26 | |
*** mordred has joined #openstack-sdks | 05:26 | |
*** yuanying has quit IRC | 05:29 | |
*** reedip has quit IRC | 05:33 | |
*** yuanying has joined #openstack-sdks | 05:36 | |
*** yuanying_ has quit IRC | 05:40 | |
*** yuanying_ has joined #openstack-sdks | 05:41 | |
*** yuanying has quit IRC | 05:44 | |
*** reedip has joined #openstack-sdks | 05:46 | |
*** adriant has quit IRC | 05:53 | |
*** e0ne has joined #openstack-sdks | 05:56 | |
*** john-davidge has joined #openstack-sdks | 06:15 | |
*** john-davidge has quit IRC | 06:19 | |
*** gmann has quit IRC | 06:30 | |
openstackgerrit | Ha Van Tu proposed openstack/python-openstackclient: Add "qos-policy" option to "port create" & "port set" https://review.openstack.org/355306 | 06:38 |
*** reedip has quit IRC | 06:39 | |
*** reedip has joined #openstack-sdks | 06:52 | |
*** Kiall has quit IRC | 06:56 | |
openstackgerrit | Ha Van Tu proposed openstack/python-openstackclient: Add 'allowed address pairs' option to 'port create/set/unset' https://review.openstack.org/356219 | 07:01 |
*** reedip has quit IRC | 07:01 | |
*** reedip has joined #openstack-sdks | 07:04 | |
*** e0ne has quit IRC | 07:04 | |
*** gildub_ has joined #openstack-sdks | 07:07 | |
*** gildub_ has quit IRC | 07:07 | |
*** e0ne has joined #openstack-sdks | 07:11 | |
*** yuanying_ has quit IRC | 07:13 | |
*** e0ne has quit IRC | 07:13 | |
*** mordred has quit IRC | 07:25 | |
*** Guest66666 has quit IRC | 07:27 | |
*** cardeois has quit IRC | 07:29 | |
openstackgerrit | Zhou Zhihong proposed openstack/python-openstacksdk: Add filters to the network proxy agents() method https://review.openstack.org/406843 | 07:29 |
*** Guest66666 has joined #openstack-sdks | 07:29 | |
*** Shrews has quit IRC | 07:30 | |
*** mordred has joined #openstack-sdks | 07:34 | |
*** cardeois has joined #openstack-sdks | 07:34 | |
*** Shrews has joined #openstack-sdks | 07:35 | |
*** d0ugal has joined #openstack-sdks | 07:57 | |
*** d0ugal has quit IRC | 07:57 | |
*** d0ugal has joined #openstack-sdks | 07:57 | |
*** yuanying has joined #openstack-sdks | 08:01 | |
*** nandal has quit IRC | 08:08 | |
*** ralonsoh has joined #openstack-sdks | 08:18 | |
*** ctayal has quit IRC | 08:35 | |
*** gmann has joined #openstack-sdks | 09:15 | |
*** gildub has quit IRC | 09:17 | |
openstackgerrit | Aaron Ding proposed openstack/python-openstacksdk: Add user_id in profile resource. https://review.openstack.org/407417 | 09:19 |
openstackgerrit | Badhmapriya Boopalan proposed openstack/python-openstackclient: To display image size in human friendly format https://review.openstack.org/398126 | 09:29 |
openstackgerrit | Badhmapriya Boopalan proposed openstack/python-openstackclient: To display image size in human friendly format https://review.openstack.org/398126 | 09:31 |
*** john-davidge has joined #openstack-sdks | 09:34 | |
*** lucas-afk is now known as lucasagomes | 09:35 | |
*** yanyanhu has quit IRC | 09:37 | |
*** yanyanhu has joined #openstack-sdks | 09:38 | |
*** john-davidge has quit IRC | 09:39 | |
*** john-davidge has joined #openstack-sdks | 09:44 | |
*** gmann has quit IRC | 09:58 | |
*** e0ne has joined #openstack-sdks | 09:58 | |
*** gmann has joined #openstack-sdks | 09:59 | |
*** exploreshaifali has joined #openstack-sdks | 09:59 | |
*** zhurong has quit IRC | 10:03 | |
*** annp has quit IRC | 10:05 | |
openstackgerrit | Aaron Ding proposed openstack/python-openstacksdk: Add user_id in profile resource. https://review.openstack.org/407417 | 10:08 |
noama | Hi 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 resources | 10:23 |
openstack | Launchpad bug 1625579 in OpenStack SDK "create port with binding_vnic_type param fail HttpException: Bad Request" [Undecided,New] | 10:23 |
noama | can someone help me debug it? | 10:24 |
noama | or suggest a fix for it | 10:24 |
*** cdent has joined #openstack-sdks | 10:29 | |
*** shu-mutou is now known as shu-mutou-AWAY | 10:42 | |
*** e0ne has quit IRC | 10:45 | |
*** nandal has joined #openstack-sdks | 10:50 | |
*** yanyanhu has quit IRC | 11:01 | |
*** sdague has joined #openstack-sdks | 11:02 | |
*** e0ne has joined #openstack-sdks | 11:03 | |
*** huanxuan has joined #openstack-sdks | 11:11 | |
*** e0ne has quit IRC | 11:15 | |
*** e0ne has joined #openstack-sdks | 11:43 | |
*** jamielennox is now known as jamielennox|away | 11:44 | |
*** exploreshaifali has quit IRC | 12:06 | |
*** exploreshaifali has joined #openstack-sdks | 12:06 | |
*** exploreshaifali has quit IRC | 12:06 | |
*** e0ne has quit IRC | 12:07 | |
*** e0ne has joined #openstack-sdks | 12:09 | |
*** rtheis has joined #openstack-sdks | 12:17 | |
*** lucasagomes is now known as lucas-hungry | 12:30 | |
openstackgerrit | zhiyong.dai proposed openstack/python-openstackclient: Add "consistency group set" command https://review.openstack.org/406700 | 12:31 |
openstackgerrit | Badhmapriya Boopalan proposed openstack/osc-lib: To display image size in human friendly format https://review.openstack.org/399982 | 12:45 |
*** Kevin_Zheng has quit IRC | 12:46 | |
*** Kevin_Zheng has joined #openstack-sdks | 12:47 | |
*** exploreshaifali has joined #openstack-sdks | 12:54 | |
*** RuiChen has quit IRC | 12:56 | |
*** RuiChen has joined #openstack-sdks | 12:57 | |
*** huanxuan has quit IRC | 13:09 | |
*** huanxuan has joined #openstack-sdks | 13:09 | |
*** gouthamr has joined #openstack-sdks | 13:10 | |
*** gouthamr has quit IRC | 13:10 | |
*** gouthamr has joined #openstack-sdks | 13:12 | |
*** edmondsw_ has joined #openstack-sdks | 13:13 | |
*** edmondsw_ has quit IRC | 13:17 | |
briancurtin | noama: apparently binding_vnic_type isn’t accepted by the server for that call | 13:17 |
*** lamt has joined #openstack-sdks | 13:19 | |
briancurtin | the POST to /ports returns "Unrecognized attribute(s) 'binding_vnic_type’”, and looking at the docs, yeah, that doesn’t seem to be accepted | 13:20 |
*** exploreshaifali has quit IRC | 13:26 | |
*** exploreshaifali has joined #openstack-sdks | 13:30 | |
*** huanxuan has quit IRC | 13:30 | |
*** fguillot has joined #openstack-sdks | 13:40 | |
*** lucas-hungry is now known as lucasagomes | 13:50 | |
*** lamt has quit IRC | 14:01 | |
*** lamt has joined #openstack-sdks | 14:02 | |
*** _elmiko is now known as elmiko | 14:23 | |
*** exploreshaifali has quit IRC | 14:34 | |
stevemar | dtroyer: poke for https://review.openstack.org/#/c/406700/6 | 14:45 |
dtroyer | stevemar: ya, add/remove commands there | 14:48 |
*** nandal has quit IRC | 15:13 | |
*** erlon-airlong has quit IRC | 15:20 | |
*** erlon-airlong has joined #openstack-sdks | 15:20 | |
*** reedip_ has joined #openstack-sdks | 15:28 | |
openstackgerrit | Merged openstack/python-openstacksdk: Add filters to the network proxy agents() method https://review.openstack.org/406843 | 15:34 |
*** reedip_ has quit IRC | 15:37 | |
*** exploreshaifali has joined #openstack-sdks | 15:49 | |
*** reedip_ has joined #openstack-sdks | 15:49 | |
*** john-davidge has quit IRC | 15:51 | |
*** john-davidge has joined #openstack-sdks | 15:51 | |
*** john-davidge has quit IRC | 15:56 | |
*** HenryG has left #openstack-sdks | 16:07 | |
*** annegentle has joined #openstack-sdks | 16:18 | |
*** cdent has quit IRC | 16:22 | |
*** piet has joined #openstack-sdks | 16:22 | |
*** exploreshaifali has quit IRC | 16:22 | |
*** cdent has joined #openstack-sdks | 16:26 | |
*** ctayal has joined #openstack-sdks | 16:29 | |
*** fguillot has quit IRC | 16:33 | |
*** reedip_ has quit IRC | 16:34 | |
*** ctayal has quit IRC | 16:37 | |
*** ctayal has joined #openstack-sdks | 17:00 | |
*** ctayal_ has joined #openstack-sdks | 17:01 | |
*** ctayal has quit IRC | 17:05 | |
*** e0ne has quit IRC | 17:19 | |
*** ctayal has joined #openstack-sdks | 17:20 | |
*** ctayal_ has quit IRC | 17:23 | |
openstackgerrit | Ankur proposed openstack/python-openstacksdk: Network L3 Router Commands https://review.openstack.org/385728 | 17:24 |
*** kevo has joined #openstack-sdks | 17:24 | |
*** annegentle has quit IRC | 17:25 | |
*** lucasagomes is now known as lucas-afk | 17:33 | |
*** ctayal has quit IRC | 17:37 | |
openstackgerrit | Ankur proposed openstack/python-openstackclient: Network L3 Router Commands for OSC https://review.openstack.org/385729 | 17:37 |
*** ctayal has joined #openstack-sdks | 17:37 | |
*** kevo has quit IRC | 17:41 | |
*** fguillot has joined #openstack-sdks | 17:46 | |
*** kevo has joined #openstack-sdks | 17:51 | |
*** ralonsoh has quit IRC | 18:06 | |
*** kevo has quit IRC | 18:32 | |
*** Kiall has joined #openstack-sdks | 18:41 | |
*** e0ne has joined #openstack-sdks | 19:07 | |
*** jamielennox|away is now known as jamielennox | 19:07 | |
*** bapalm_ has quit IRC | 19:14 | |
*** bapalm has joined #openstack-sdks | 19:18 | |
*** e0ne has quit IRC | 19:23 | |
*** annegentle has joined #openstack-sdks | 19:31 | |
*** ctayal_ has joined #openstack-sdks | 19:37 | |
*** ctayal has quit IRC | 19:41 | |
*** kevo has joined #openstack-sdks | 19:44 | |
*** ctayal_ has quit IRC | 19:58 | |
*** ctayal has joined #openstack-sdks | 19:58 | |
*** adriant has joined #openstack-sdks | 20:25 | |
*** john-davidge has joined #openstack-sdks | 20:27 | |
*** kevo has quit IRC | 20:29 | |
*** gouthamr has quit IRC | 20:39 | |
*** john-davidge has quit IRC | 20:46 | |
*** fguillot has quit IRC | 20:47 | |
*** david-lyle has quit IRC | 20:55 | |
*** piet has quit IRC | 20:58 | |
*** ctayal has quit IRC | 21:23 | |
*** kevo has joined #openstack-sdks | 21:23 | |
*** chlong has joined #openstack-sdks | 21:43 | |
*** kevo has quit IRC | 21:52 | |
*** rtheis has quit IRC | 21:53 | |
*** kevo has joined #openstack-sdks | 21:54 | |
*** chlong has quit IRC | 22:06 | |
*** chlong has joined #openstack-sdks | 22:07 | |
*** chlong has quit IRC | 22:12 | |
*** gildub has joined #openstack-sdks | 22:15 | |
*** ctayal has joined #openstack-sdks | 22:17 | |
*** gildub has quit IRC | 22:23 | |
*** david-lyle has joined #openstack-sdks | 22:24 | |
*** gildub has joined #openstack-sdks | 22:34 | |
*** gildub_ has joined #openstack-sdks | 22:38 | |
*** gildub has quit IRC | 22:39 | |
*** elmiko is now known as _elmiko | 22:39 | |
*** david-lyle has quit IRC | 22:41 | |
*** cdent has quit IRC | 22:53 | |
*** jamielennox is now known as jamielennox|away | 23:05 | |
*** jamielennox|away is now known as jamielennox | 23:06 | |
*** sdague has quit IRC | 23:11 | |
mordred | jamielennox: 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 not | 23:23 |
mordred | jamielennox: it only fails like this on python3 - and my hunch is that it's realted to passing a file object to the put method | 23:24 |
mordred | jamielennox: (also, no rush at all - please ignore at will) | 23:25 |
jamielennox | mordred: 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 mocker | 23:26 |
*** ctayal has quit IRC | 23:27 | |
mordred | jamielennox: 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.contrib | 23:27 |
*** ctayal has joined #openstack-sdks | 23:27 | |
jamielennox | mordred: as an FYI, adapter.get(*) == adapter.register_uri('GET', *) | 23:29 |
mordred | jamielennox: ah - cool. that's less typing :) | 23:30 |
jamielennox | mordred: https://review.openstack.org/#/c/407670/3..4/shade/tests/unit/test_image.py | 23:49 |
jamielennox | i'm not sure why it turned up in delete | 23:49 |
jamielennox | mordred: there is actually a check to prevent this TypeError: https://github.com/openstack/requests-mock/blob/master/requests_mock/response.py#L150 | 23:50 |
jamielennox | unfortunately i seem to have overlooked the empty string case vs the None case | 23:50 |
mordred | jamielennox: 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 codepath | 23:50 |
mordred | jamielennox: oh! should I just leave text='' blank or set it to none? | 23:51 |
jamielennox | ah, so it hit the typeerror and therefore tried to delete | 23:51 |
mordred | I mean - there is no return value | 23:51 |
mordred | yah | 23:51 |
jamielennox | yea, if you left it unset it should default to empty string i think | 23:51 |
jamielennox | this is a requests-ism | 23:51 |
mordred | cool. lemme try that | 23:51 |
jamielennox | response.content is bytes and response.text is string | 23:51 |
jamielennox | and response.body is a IO | 23:52 |
mordred | so I should have done u'' if I wanted empty string | 23:52 |
jamielennox | just leave it unset | 23:52 |
jamielennox | but yea, text=u'string' or content=b'bytes' | 23:52 |
jamielennox | and don't mix the two | 23:52 |
mordred | woot. I have learned something! | 23:52 |
jamielennox | and i should fix that check to include the empty string | 23:53 |
mordred | I hope most of what I'm doing is json={} :) | 23:53 |
mordred | jamielennox: thanks for the help and the patch! | 23:55 |
jamielennox | np | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!