Wednesday, 2016-10-19

openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Reset allocation pools to [] instead of ''  https://review.openstack.org/38621800:27
*** gouthamr has joined #openstack-sdks00:52
*** jgriffith_ is now known as jgriffith00:53
*** aohuanxuan has joined #openstack-sdks01:02
*** hoangcx has joined #openstack-sdks01:02
openstackgerritYan Xing an proposed openstack/python-openstackclient: Add option to allow filtering by mac-address on port list  https://review.openstack.org/38779501:22
*** zhurong has joined #openstack-sdks01:23
*** fzdarsky_ has joined #openstack-sdks01:30
*** Kevin_Zheng has joined #openstack-sdks01:31
*** fzdarsky|afk has quit IRC01:33
*** yanyanhu has joined #openstack-sdks01:34
*** markvoelker has joined #openstack-sdks01:43
*** markvoelker has quit IRC01:49
*** chlong has joined #openstack-sdks02:16
openstackgerritNguyen Phuong An proposed openstack/python-openstackclient: Add "qos-policy" option to "port create" & "port set"  https://review.openstack.org/35530602:21
*** singhj has joined #openstack-sdks02:23
*** singhj has quit IRC02:27
openstackgerritYan Xing an proposed openstack/python-openstacksdk: Add filter mac_address to the network proxy ports() method  https://review.openstack.org/38829302:35
openstackgerritQiang Tang proposed openstack/python-openstackclient: Warning for empty password set for user create/set  https://review.openstack.org/37920802:38
openstackgerritQiang Tang proposed openstack/python-openstackclient: Warning for empty password set for user create/set  https://review.openstack.org/37920802:40
*** yuanying has quit IRC02:51
*** yuanying has joined #openstack-sdks02:54
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Warning for empty password set for user create/set  https://review.openstack.org/37920803:07
*** singhj has joined #openstack-sdks03:09
*** singhj has quit IRC03:12
*** gildub_ has joined #openstack-sdks03:18
*** gildub has quit IRC03:20
*** gildub_ has quit IRC03:27
*** gildub has joined #openstack-sdks03:28
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstacksdk: Updated from global requirements  https://review.openstack.org/38687003:33
*** gildub_ has joined #openstack-sdks03:36
*** gildub has quit IRC03:37
openstackgerritYanyan Hu proposed openstack/python-openstacksdk: Fix problem about location header in Zaqar resource2  https://review.openstack.org/38830803:46
*** gouthamr has quit IRC03:48
*** gildub has joined #openstack-sdks03:48
*** gildub_ has quit IRC03:48
*** yuanying has quit IRC03:49
*** john-davidge has joined #openstack-sdks03:57
*** yushiro has joined #openstack-sdks03:58
*** john-davidge has quit IRC04:01
*** adriant has quit IRC04:25
*** amotoki has joined #openstack-sdks04:57
*** yuanying has joined #openstack-sdks05:02
*** shu-mutou is now known as shu-mutou-AWAY05:51
openstackgerritMerged openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/38832905:51
*** markvoelker has joined #openstack-sdks06:14
*** markvoelker has quit IRC06:19
*** markvoelker has joined #openstack-sdks06:33
*** markvoelker has quit IRC06:38
*** e0ne has joined #openstack-sdks06:38
*** markvoelker has joined #openstack-sdks06:38
openstackgerritYanyan Hu proposed openstack/python-openstacksdk: Support to delete claimed message  https://review.openstack.org/38845506:45
*** gildub has quit IRC06:46
*** liangbo has joined #openstack-sdks07:23
*** fzdarsky_ is now known as fzdarsky07:37
*** markvoelker has quit IRC07:41
*** e0ne has quit IRC07:46
openstackgerritmiaohb proposed openstack/python-openstacksdk: Add filters "policy_type" and "policy_name" for policy binding list  https://review.openstack.org/38787007:49
*** markvoelker has joined #openstack-sdks07:58
*** yanyanhu has quit IRC08:00
*** yanyanhu has joined #openstack-sdks08:00
*** jpena|off is now known as jpena08:02
*** yanyanhu has quit IRC08:08
*** yanyanhu has joined #openstack-sdks08:09
*** Romanenko_K has joined #openstack-sdks08:22
*** yanyanhu has quit IRC08:22
*** yanyanhu has joined #openstack-sdks08:23
*** yanyanhu has quit IRC08:24
*** yanyanhu has joined #openstack-sdks08:35
*** yanyanhu has quit IRC08:35
*** yanyanhu has joined #openstack-sdks08:42
*** yanyanhu has quit IRC08:42
*** yanyanhu has joined #openstack-sdks08:50
*** yuanying_ has joined #openstack-sdks08:50
*** yuanying has quit IRC08:52
*** cdent has joined #openstack-sdks09:04
*** yuanying has joined #openstack-sdks09:05
*** john-davidge has joined #openstack-sdks09:07
*** e0ne has joined #openstack-sdks09:08
*** yuanying_ has quit IRC09:08
*** yanyanhu has quit IRC09:19
*** yanyanhu has joined #openstack-sdks09:20
openstackgerritmiaohb proposed openstack/python-openstacksdk: Add filters "policy_type" and "policy_name" for policy binding list  https://review.openstack.org/38787009:20
*** yanyanhu has quit IRC09:21
openstackgerritYan Xing an proposed openstack/python-openstackclient: Add --fixed-ip option to the port list command  https://review.openstack.org/38857509:25
*** yanyanhu has joined #openstack-sdks09:26
openstackgerritmiaohb proposed openstack/python-openstacksdk: Add filters "policy_type" and "policy_name" for policy binding list  https://review.openstack.org/38787009:28
*** alex_xu has quit IRC09:29
openstackgerritChris Dent proposed openstack/api-wg: Fix list formatting problem in microversion guideline  https://review.openstack.org/38857609:29
*** alex_xu has joined #openstack-sdks09:31
*** liangbo has quit IRC09:36
*** markvoelker has quit IRC09:36
*** zhurong has quit IRC09:38
openstackgerritYan Xing an proposed openstack/python-openstackclient: Add option to allow filtering by mac-address on port list  https://review.openstack.org/38779509:51
*** yanyanhu has quit IRC10:05
*** yuanying_ has joined #openstack-sdks10:07
*** yuanying has quit IRC10:09
*** hoangcx has quit IRC10:23
*** milan has joined #openstack-sdks10:33
*** yuanying has joined #openstack-sdks10:34
*** yuanying_ has quit IRC10:36
*** fzdarsky is now known as fzdarsky|lunch10:40
*** yushiro has quit IRC10:41
*** sdague has joined #openstack-sdks10:48
*** yuanying has quit IRC10:58
*** thrash|g0ne is now known as thrash11:10
*** edmondsw has joined #openstack-sdks11:10
*** thrash has left #openstack-sdks11:11
*** markvoelker has joined #openstack-sdks11:21
*** lucas-afk is now known as lucas-sick11:47
*** zhurong has joined #openstack-sdks11:49
*** fzdarsky|lunch is now known as fzdarsky11:57
openstackgerritliujunpeng proposed openstack/python-openstackclient: update volume and zone commands  https://review.openstack.org/38864712:01
*** gouthamr has joined #openstack-sdks12:08
milandear API-WG, I'd like to attract your attention to this patch review: https://review.openstack.org/#/c/383862/ so far 2x +1, thanks to the reviewers!12:16
*** amotoki has quit IRC12:29
*** kzaitsev_ws has quit IRC12:44
*** kzaitsev_ws has joined #openstack-sdks12:44
*** jpena is now known as jpena|lunch12:48
*** _elmiko is now known as elmiko12:59
*** mugsie has joined #openstack-sdks13:17
*** amotoki has joined #openstack-sdks13:22
*** cleong has joined #openstack-sdks13:47
*** jpena|lunch is now known as jpena14:02
*** amotoki has quit IRC14:03
openstackgerritMerged openstack/python-openstacksdk: Add filter mac_address to the network proxy ports() method  https://review.openstack.org/38829314:13
openstackgerritMerged openstack/python-openstacksdk: Updated from global requirements  https://review.openstack.org/38687014:18
openstackgerritMerged openstack/python-openstacksdk: Add dns-domain support to Network object.  https://review.openstack.org/38761914:19
*** aohuanxuan has quit IRC14:20
openstackgerritMerged openstack/python-openstacksdk: Fix problem about location header in Zaqar resource2  https://review.openstack.org/38830814:21
openstackgerritMerged openstack/python-openstackclient: Reset allocation pools to [] instead of ''  https://review.openstack.org/38621814:24
*** markvoelker has quit IRC14:33
*** Kevin_Zheng has quit IRC14:39
*** john-davidge has quit IRC14:40
*** Kevin_Zheng has joined #openstack-sdks14:41
*** annegentle has joined #openstack-sdks14:55
*** zhurong has quit IRC15:02
*** RuiChen has quit IRC15:07
*** RuiChen has joined #openstack-sdks15:07
openstackgerritmelissaml proposed openstack/keystoneauth: TrivialFix: Remove default=None when set value in Config  https://review.openstack.org/38876215:25
*** e0ne has quit IRC15:39
cdentetoews, elmiko : quickie formatting fix: https://review.openstack.org/#/c/388576/16:13
elmikocdent: ack, added my +216:24
openstackgerritChoe, Cheng-Dae proposed openstack/python-openstacksdk: Display neutron api error message more precisely  https://review.openstack.org/38644016:31
*** fzdarsky is now known as fzdarsky|afk16:38
*** Guest41366 is now known as redrobot16:56
*** mugsie has quit IRC16:56
*** mugsie has joined #openstack-sdks16:58
*** Romanenko_K has quit IRC17:02
*** e0ne has joined #openstack-sdks17:03
*** elmiko is now known as _elmiko17:06
*** e0ne has quit IRC17:15
*** e0ne has joined #openstack-sdks17:16
*** annegentle has quit IRC17:38
*** jpena is now known as jpena|off17:42
openstackgerritOpenStack Proposal Bot proposed openstack/osc-lib: Updated from global requirements  https://review.openstack.org/38882417:44
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/38882717:46
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstacksdk: Updated from global requirements  https://review.openstack.org/38882817:46
openstackgerritJesse Keating proposed openstack/osc-lib: Avoid string actions on non-string objects  https://review.openstack.org/38883217:52
*** e0ne has quit IRC18:04
openstackgerritJesse Keating proposed openstack/osc-lib: Avoid string actions on non-string objects  https://review.openstack.org/38883218:10
*** fzdarsky|afk is now known as fzdarsky18:59
*** markvoelker has joined #openstack-sdks19:08
*** charz has quit IRC19:08
*** keekz has quit IRC19:10
*** keekz has joined #openstack-sdks19:12
*** charz has joined #openstack-sdks19:12
*** timburke has quit IRC19:14
*** charz has quit IRC19:17
*** timburke has joined #openstack-sdks19:22
*** charz has joined #openstack-sdks19:23
*** cdent has quit IRC19:35
redrobothi sdk friends20:04
dhellmannhi, redrobot20:04
* redrobot thinks he's having deja-vu20:05
dhellmannheh20:05
redrobotI have a question about cliff.  Is it possible to output binary data?20:05
dhellmannhmm20:05
redrobotI've found so far that our formatters either want to conver it to UTF-820:06
dhellmannyeah, you might need a custom formatter, depending on what exactly you're doing20:06
redrobotor want to convert to ascii20:06
dhellmanndo you want an existing command that's giving a list of things to include binary data, for example? or do you want one of the "show" commands to dump a binary blob of some sort?20:06
redrobotdhellmann yeah, I'm working on a fix for a barbicanclient bug20:07
redrobotthe idea is to be able to download a binary encryption key to a file for example20:07
redrobotsomething like20:07
redrobotopenstack secret get --payload $SECRET_ID -c payload -f binary > outfie20:08
redrobot*outfile20:08
dhellmannsure, that makes sense20:08
dhellmannbefore we get into cliff internals, do those keys not have standard ascii representations?20:09
redrobotdhellmann no, for symmetric encryption keys the bytes could be anything20:10
redrobotdhellmann highly likely to not conform to either ascii or utf-8 specs20:10
dhellmannok, so there's no standard way to encode those like uuencode or base64 or whatever, like with a gpg key?20:11
dhellmannit would make it simpler, but it's not required20:11
dhellmannlooking at your barbicanclient/barbican_cli/secrets.py I see a GetSecret class that implements the "secret get" command, is that right?20:12
redrobotdhellmann yeah, that's the one20:12
dhellmannthe problem with implementing a custom formatter is that it's not easy to say "this formatter only works for command X"20:12
redrobotdhellmann a quick and dirty fix would be to add --to-file and --from-file args and handle it there.20:13
dhellmannso you end up with "binary" looking like a valid option for "openstack server show" or whatever and that's weird20:13
redrobotyeah, that would be weird20:13
dhellmannyou could add a --binary flag just to GetSecret, and then override produce_output() to look at that flag and do one thing, otherwise call the base class implementation20:13
dhellmannthat would bypass all of the formatter business20:13
redrobotdhellmann yeah, that sounds like a good solution20:14
dhellmannyou might even find a higher level method to override, let me refresh my memory on that20:14
dhellmannthe next level method up is run() from cliff/display.py20:14
dhellmannso you could override that, too20:15
dhellmannalthough you'd end up needing to repeat some of the work from your existing take_action() so that's less ideal20:15
dhellmannyeah, I think my first suggestion is likely better -- you may want to run it past dtroyer and stevemar though, since they may have already encountered this situation and solved it a different way20:16
dhellmannbetter to be consistent20:16
stevemaroh lots to read here20:16
dhellmannstevemar : hi!20:17
stevemardhellmann: good suggestion20:19
stevemarwe haven't run into that before, at least not to my knowledge20:19
dhellmannI suppose one wouldn't want to show the binary output of a glance image20:21
redrobotdhellmann stevemar cool deal.  thanks for the help gentlemen20:21
stevemar:)20:21
dhellmannredrobot : actually, ^^ makes me wonder, should this be mirrored on whatever command allows someone to download an image? or ssh credentials?20:21
stevemardhellmann: for saving an image we expect a --file argument20:23
stevemarugh (default: stdout)20:23
stevemarwhy20:23
dhellmannstevemar : yeah, that might be better than expecting redirect to work20:23
dhellmannredrobot: python 3 sets up output encoding on stdout by default, irrc, so managing your own file handle might be safer in the long run20:24
redrobotstevemar dhellmann yeah, consistency would be good20:25
redrobotI'll work on a patch to add --file to match the image command20:25
redrobotinstead of --to-file or --from-file20:25
dhellmann++20:25
redrobotthanks again, y'all!20:26
stevemardhellmann: we don't do anything special for key pairs20:26
stevemarthough thats not nearly as daunting as an image20:26
stevemarkeypairs are a lot more copy paste friendly20:27
dhellmannok, I was trying to think of other examples of un- or semi-structured data20:27
dhellmannstevemar, redrobot : I wonder if it makes sense for us to add a new ShowOrDownloadOne class to cliff to make these easier20:29
dhellmannit could even be built into ShowOne and turned on with a class attribute20:30
* dhellmann stops thinking out loud20:30
stevemardhellmann: what would be different about it? a file argument always available?20:30
stevemaror allowance for more encoding and such?20:31
dhellmannstevemar : that and handling the file open/close for you so all you have to do is provide the method to give the data to go into the file20:31
redrobotstevemar that makes sense... rsa keys and certs and such work fine, it's just symmetric keys that are giving us problems20:31
stevemarredrobot: ahhh20:32
*** milan has quit IRC20:33
*** milan has joined #openstack-sdks20:33
*** cleong has quit IRC20:46
openstackgerritMerged openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/38882720:49
milandear API-WG, I'd like to attract your attention to this patch review: https://review.openstack.org/#/c/383862/ so far 3x +1, thanks to the reviewers!20:53
openstackgerritAnkur proposed openstack/python-openstacksdk: Network L3 Router Commands  https://review.openstack.org/38572820:53
*** markvoelker_ has joined #openstack-sdks20:57
*** markvoelker has quit IRC21:00
openstackgerritMonty Taylor proposed openstack/os-client-config: Update ECS image_api_version to 1  https://review.openstack.org/38890121:18
openstackgerritMonty Taylor proposed openstack/os-client-config: Update ECS image_api_version to 1  https://review.openstack.org/38890121:19
openstackgerritMerged openstack/osc-lib: Updated from global requirements  https://review.openstack.org/38882421:29
openstackgerritSindhu Devale proposed openstack/python-openstackclient: [WIP] "floating ip associate/disassociate" for OSC  https://review.openstack.org/38302521:41
*** gildub has joined #openstack-sdks22:04
openstackgerritSindhu Devale proposed openstack/python-openstackclient: [WIP] "floating ip associate/disassociate" for OSC  https://review.openstack.org/38302522:14
*** sdague has quit IRC22:29
openstackgerritJamie Lennox proposed openstack/osc-lib: Allow passing app_name and app_version for useragent  https://review.openstack.org/38779123:13
*** gouthamr has quit IRC23:15
*** gouthamr has joined #openstack-sdks23:18
*** dfflanders has joined #openstack-sdks23:19
*** yuanying has joined #openstack-sdks23:32
*** yushiro has joined #openstack-sdks23:42
*** gildub has quit IRC23:45
*** erlon has quit IRC23:52
openstackgerritCorentin Ardeois proposed openstack/js-openstack-lib: Release 0.0.2  https://review.openstack.org/38894023:54
*** gouthamr has quit IRC23:56

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