openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Reset allocation pools to [] instead of '' https://review.openstack.org/386218 | 00:27 |
---|---|---|
*** gouthamr has joined #openstack-sdks | 00:52 | |
*** jgriffith_ is now known as jgriffith | 00:53 | |
*** aohuanxuan has joined #openstack-sdks | 01:02 | |
*** hoangcx has joined #openstack-sdks | 01:02 | |
openstackgerrit | Yan Xing an proposed openstack/python-openstackclient: Add option to allow filtering by mac-address on port list https://review.openstack.org/387795 | 01:22 |
*** zhurong has joined #openstack-sdks | 01:23 | |
*** fzdarsky_ has joined #openstack-sdks | 01:30 | |
*** Kevin_Zheng has joined #openstack-sdks | 01:31 | |
*** fzdarsky|afk has quit IRC | 01:33 | |
*** yanyanhu has joined #openstack-sdks | 01:34 | |
*** markvoelker has joined #openstack-sdks | 01:43 | |
*** markvoelker has quit IRC | 01:49 | |
*** chlong has joined #openstack-sdks | 02:16 | |
openstackgerrit | Nguyen Phuong An proposed openstack/python-openstackclient: Add "qos-policy" option to "port create" & "port set" https://review.openstack.org/355306 | 02:21 |
*** singhj has joined #openstack-sdks | 02:23 | |
*** singhj has quit IRC | 02:27 | |
openstackgerrit | Yan Xing an proposed openstack/python-openstacksdk: Add filter mac_address to the network proxy ports() method https://review.openstack.org/388293 | 02:35 |
openstackgerrit | Qiang Tang proposed openstack/python-openstackclient: Warning for empty password set for user create/set https://review.openstack.org/379208 | 02:38 |
openstackgerrit | Qiang Tang proposed openstack/python-openstackclient: Warning for empty password set for user create/set https://review.openstack.org/379208 | 02:40 |
*** yuanying has quit IRC | 02:51 | |
*** yuanying has joined #openstack-sdks | 02:54 | |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Warning for empty password set for user create/set https://review.openstack.org/379208 | 03:07 |
*** singhj has joined #openstack-sdks | 03:09 | |
*** singhj has quit IRC | 03:12 | |
*** gildub_ has joined #openstack-sdks | 03:18 | |
*** gildub has quit IRC | 03:20 | |
*** gildub_ has quit IRC | 03:27 | |
*** gildub has joined #openstack-sdks | 03:28 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-openstacksdk: Updated from global requirements https://review.openstack.org/386870 | 03:33 |
*** gildub_ has joined #openstack-sdks | 03:36 | |
*** gildub has quit IRC | 03:37 | |
openstackgerrit | Yanyan Hu proposed openstack/python-openstacksdk: Fix problem about location header in Zaqar resource2 https://review.openstack.org/388308 | 03:46 |
*** gouthamr has quit IRC | 03:48 | |
*** gildub has joined #openstack-sdks | 03:48 | |
*** gildub_ has quit IRC | 03:48 | |
*** yuanying has quit IRC | 03:49 | |
*** john-davidge has joined #openstack-sdks | 03:57 | |
*** yushiro has joined #openstack-sdks | 03:58 | |
*** john-davidge has quit IRC | 04:01 | |
*** adriant has quit IRC | 04:25 | |
*** amotoki has joined #openstack-sdks | 04:57 | |
*** yuanying has joined #openstack-sdks | 05:02 | |
*** shu-mutou is now known as shu-mutou-AWAY | 05:51 | |
openstackgerrit | Merged openstack/python-openstackclient: Updated from global requirements https://review.openstack.org/388329 | 05:51 |
*** markvoelker has joined #openstack-sdks | 06:14 | |
*** markvoelker has quit IRC | 06:19 | |
*** markvoelker has joined #openstack-sdks | 06:33 | |
*** markvoelker has quit IRC | 06:38 | |
*** e0ne has joined #openstack-sdks | 06:38 | |
*** markvoelker has joined #openstack-sdks | 06:38 | |
openstackgerrit | Yanyan Hu proposed openstack/python-openstacksdk: Support to delete claimed message https://review.openstack.org/388455 | 06:45 |
*** gildub has quit IRC | 06:46 | |
*** liangbo has joined #openstack-sdks | 07:23 | |
*** fzdarsky_ is now known as fzdarsky | 07:37 | |
*** markvoelker has quit IRC | 07:41 | |
*** e0ne has quit IRC | 07:46 | |
openstackgerrit | miaohb proposed openstack/python-openstacksdk: Add filters "policy_type" and "policy_name" for policy binding list https://review.openstack.org/387870 | 07:49 |
*** markvoelker has joined #openstack-sdks | 07:58 | |
*** yanyanhu has quit IRC | 08:00 | |
*** yanyanhu has joined #openstack-sdks | 08:00 | |
*** jpena|off is now known as jpena | 08:02 | |
*** yanyanhu has quit IRC | 08:08 | |
*** yanyanhu has joined #openstack-sdks | 08:09 | |
*** Romanenko_K has joined #openstack-sdks | 08:22 | |
*** yanyanhu has quit IRC | 08:22 | |
*** yanyanhu has joined #openstack-sdks | 08:23 | |
*** yanyanhu has quit IRC | 08:24 | |
*** yanyanhu has joined #openstack-sdks | 08:35 | |
*** yanyanhu has quit IRC | 08:35 | |
*** yanyanhu has joined #openstack-sdks | 08:42 | |
*** yanyanhu has quit IRC | 08:42 | |
*** yanyanhu has joined #openstack-sdks | 08:50 | |
*** yuanying_ has joined #openstack-sdks | 08:50 | |
*** yuanying has quit IRC | 08:52 | |
*** cdent has joined #openstack-sdks | 09:04 | |
*** yuanying has joined #openstack-sdks | 09:05 | |
*** john-davidge has joined #openstack-sdks | 09:07 | |
*** e0ne has joined #openstack-sdks | 09:08 | |
*** yuanying_ has quit IRC | 09:08 | |
*** yanyanhu has quit IRC | 09:19 | |
*** yanyanhu has joined #openstack-sdks | 09:20 | |
openstackgerrit | miaohb proposed openstack/python-openstacksdk: Add filters "policy_type" and "policy_name" for policy binding list https://review.openstack.org/387870 | 09:20 |
*** yanyanhu has quit IRC | 09:21 | |
openstackgerrit | Yan Xing an proposed openstack/python-openstackclient: Add --fixed-ip option to the port list command https://review.openstack.org/388575 | 09:25 |
*** yanyanhu has joined #openstack-sdks | 09:26 | |
openstackgerrit | miaohb proposed openstack/python-openstacksdk: Add filters "policy_type" and "policy_name" for policy binding list https://review.openstack.org/387870 | 09:28 |
*** alex_xu has quit IRC | 09:29 | |
openstackgerrit | Chris Dent proposed openstack/api-wg: Fix list formatting problem in microversion guideline https://review.openstack.org/388576 | 09:29 |
*** alex_xu has joined #openstack-sdks | 09:31 | |
*** liangbo has quit IRC | 09:36 | |
*** markvoelker has quit IRC | 09:36 | |
*** zhurong has quit IRC | 09:38 | |
openstackgerrit | Yan Xing an proposed openstack/python-openstackclient: Add option to allow filtering by mac-address on port list https://review.openstack.org/387795 | 09:51 |
*** yanyanhu has quit IRC | 10:05 | |
*** yuanying_ has joined #openstack-sdks | 10:07 | |
*** yuanying has quit IRC | 10:09 | |
*** hoangcx has quit IRC | 10:23 | |
*** milan has joined #openstack-sdks | 10:33 | |
*** yuanying has joined #openstack-sdks | 10:34 | |
*** yuanying_ has quit IRC | 10:36 | |
*** fzdarsky is now known as fzdarsky|lunch | 10:40 | |
*** yushiro has quit IRC | 10:41 | |
*** sdague has joined #openstack-sdks | 10:48 | |
*** yuanying has quit IRC | 10:58 | |
*** thrash|g0ne is now known as thrash | 11:10 | |
*** edmondsw has joined #openstack-sdks | 11:10 | |
*** thrash has left #openstack-sdks | 11:11 | |
*** markvoelker has joined #openstack-sdks | 11:21 | |
*** lucas-afk is now known as lucas-sick | 11:47 | |
*** zhurong has joined #openstack-sdks | 11:49 | |
*** fzdarsky|lunch is now known as fzdarsky | 11:57 | |
openstackgerrit | liujunpeng proposed openstack/python-openstackclient: update volume and zone commands https://review.openstack.org/388647 | 12:01 |
*** gouthamr has joined #openstack-sdks | 12:08 | |
milan | dear 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 IRC | 12:29 | |
*** kzaitsev_ws has quit IRC | 12:44 | |
*** kzaitsev_ws has joined #openstack-sdks | 12:44 | |
*** jpena is now known as jpena|lunch | 12:48 | |
*** _elmiko is now known as elmiko | 12:59 | |
*** mugsie has joined #openstack-sdks | 13:17 | |
*** amotoki has joined #openstack-sdks | 13:22 | |
*** cleong has joined #openstack-sdks | 13:47 | |
*** jpena|lunch is now known as jpena | 14:02 | |
*** amotoki has quit IRC | 14:03 | |
openstackgerrit | Merged openstack/python-openstacksdk: Add filter mac_address to the network proxy ports() method https://review.openstack.org/388293 | 14:13 |
openstackgerrit | Merged openstack/python-openstacksdk: Updated from global requirements https://review.openstack.org/386870 | 14:18 |
openstackgerrit | Merged openstack/python-openstacksdk: Add dns-domain support to Network object. https://review.openstack.org/387619 | 14:19 |
*** aohuanxuan has quit IRC | 14:20 | |
openstackgerrit | Merged openstack/python-openstacksdk: Fix problem about location header in Zaqar resource2 https://review.openstack.org/388308 | 14:21 |
openstackgerrit | Merged openstack/python-openstackclient: Reset allocation pools to [] instead of '' https://review.openstack.org/386218 | 14:24 |
*** markvoelker has quit IRC | 14:33 | |
*** Kevin_Zheng has quit IRC | 14:39 | |
*** john-davidge has quit IRC | 14:40 | |
*** Kevin_Zheng has joined #openstack-sdks | 14:41 | |
*** annegentle has joined #openstack-sdks | 14:55 | |
*** zhurong has quit IRC | 15:02 | |
*** RuiChen has quit IRC | 15:07 | |
*** RuiChen has joined #openstack-sdks | 15:07 | |
openstackgerrit | melissaml proposed openstack/keystoneauth: TrivialFix: Remove default=None when set value in Config https://review.openstack.org/388762 | 15:25 |
*** e0ne has quit IRC | 15:39 | |
cdent | etoews, elmiko : quickie formatting fix: https://review.openstack.org/#/c/388576/ | 16:13 |
elmiko | cdent: ack, added my +2 | 16:24 |
openstackgerrit | Choe, Cheng-Dae proposed openstack/python-openstacksdk: Display neutron api error message more precisely https://review.openstack.org/386440 | 16:31 |
*** fzdarsky is now known as fzdarsky|afk | 16:38 | |
*** Guest41366 is now known as redrobot | 16:56 | |
*** mugsie has quit IRC | 16:56 | |
*** mugsie has joined #openstack-sdks | 16:58 | |
*** Romanenko_K has quit IRC | 17:02 | |
*** e0ne has joined #openstack-sdks | 17:03 | |
*** elmiko is now known as _elmiko | 17:06 | |
*** e0ne has quit IRC | 17:15 | |
*** e0ne has joined #openstack-sdks | 17:16 | |
*** annegentle has quit IRC | 17:38 | |
*** jpena is now known as jpena|off | 17:42 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/osc-lib: Updated from global requirements https://review.openstack.org/388824 | 17:44 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements https://review.openstack.org/388827 | 17:46 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-openstacksdk: Updated from global requirements https://review.openstack.org/388828 | 17:46 |
openstackgerrit | Jesse Keating proposed openstack/osc-lib: Avoid string actions on non-string objects https://review.openstack.org/388832 | 17:52 |
*** e0ne has quit IRC | 18:04 | |
openstackgerrit | Jesse Keating proposed openstack/osc-lib: Avoid string actions on non-string objects https://review.openstack.org/388832 | 18:10 |
*** fzdarsky|afk is now known as fzdarsky | 18:59 | |
*** markvoelker has joined #openstack-sdks | 19:08 | |
*** charz has quit IRC | 19:08 | |
*** keekz has quit IRC | 19:10 | |
*** keekz has joined #openstack-sdks | 19:12 | |
*** charz has joined #openstack-sdks | 19:12 | |
*** timburke has quit IRC | 19:14 | |
*** charz has quit IRC | 19:17 | |
*** timburke has joined #openstack-sdks | 19:22 | |
*** charz has joined #openstack-sdks | 19:23 | |
*** cdent has quit IRC | 19:35 | |
redrobot | hi sdk friends | 20:04 |
dhellmann | hi, redrobot | 20:04 |
* redrobot thinks he's having deja-vu | 20:05 | |
dhellmann | heh | 20:05 |
redrobot | I have a question about cliff. Is it possible to output binary data? | 20:05 |
dhellmann | hmm | 20:05 |
redrobot | I've found so far that our formatters either want to conver it to UTF-8 | 20:06 |
dhellmann | yeah, you might need a custom formatter, depending on what exactly you're doing | 20:06 |
redrobot | or want to convert to ascii | 20:06 |
dhellmann | do 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 |
redrobot | dhellmann yeah, I'm working on a fix for a barbicanclient bug | 20:07 |
redrobot | the idea is to be able to download a binary encryption key to a file for example | 20:07 |
redrobot | something like | 20:07 |
redrobot | openstack secret get --payload $SECRET_ID -c payload -f binary > outfie | 20:08 |
redrobot | *outfile | 20:08 |
dhellmann | sure, that makes sense | 20:08 |
dhellmann | before we get into cliff internals, do those keys not have standard ascii representations? | 20:09 |
redrobot | dhellmann no, for symmetric encryption keys the bytes could be anything | 20:10 |
redrobot | dhellmann highly likely to not conform to either ascii or utf-8 specs | 20:10 |
dhellmann | ok, so there's no standard way to encode those like uuencode or base64 or whatever, like with a gpg key? | 20:11 |
dhellmann | it would make it simpler, but it's not required | 20:11 |
dhellmann | looking at your barbicanclient/barbican_cli/secrets.py I see a GetSecret class that implements the "secret get" command, is that right? | 20:12 |
redrobot | dhellmann yeah, that's the one | 20:12 |
dhellmann | the problem with implementing a custom formatter is that it's not easy to say "this formatter only works for command X" | 20:12 |
redrobot | dhellmann a quick and dirty fix would be to add --to-file and --from-file args and handle it there. | 20:13 |
dhellmann | so you end up with "binary" looking like a valid option for "openstack server show" or whatever and that's weird | 20:13 |
redrobot | yeah, that would be weird | 20:13 |
dhellmann | you 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 implementation | 20:13 |
dhellmann | that would bypass all of the formatter business | 20:13 |
redrobot | dhellmann yeah, that sounds like a good solution | 20:14 |
dhellmann | you might even find a higher level method to override, let me refresh my memory on that | 20:14 |
dhellmann | the next level method up is run() from cliff/display.py | 20:14 |
dhellmann | so you could override that, too | 20:15 |
dhellmann | although you'd end up needing to repeat some of the work from your existing take_action() so that's less ideal | 20:15 |
dhellmann | yeah, 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 way | 20:16 |
dhellmann | better to be consistent | 20:16 |
stevemar | oh lots to read here | 20:16 |
dhellmann | stevemar : hi! | 20:17 |
stevemar | dhellmann: good suggestion | 20:19 |
stevemar | we haven't run into that before, at least not to my knowledge | 20:19 |
dhellmann | I suppose one wouldn't want to show the binary output of a glance image | 20:21 |
redrobot | dhellmann stevemar cool deal. thanks for the help gentlemen | 20:21 |
stevemar | :) | 20:21 |
dhellmann | redrobot : actually, ^^ makes me wonder, should this be mirrored on whatever command allows someone to download an image? or ssh credentials? | 20:21 |
stevemar | dhellmann: for saving an image we expect a --file argument | 20:23 |
stevemar | ugh (default: stdout) | 20:23 |
stevemar | why | 20:23 |
dhellmann | stevemar : yeah, that might be better than expecting redirect to work | 20:23 |
dhellmann | redrobot: python 3 sets up output encoding on stdout by default, irrc, so managing your own file handle might be safer in the long run | 20:24 |
redrobot | stevemar dhellmann yeah, consistency would be good | 20:25 |
redrobot | I'll work on a patch to add --file to match the image command | 20:25 |
redrobot | instead of --to-file or --from-file | 20:25 |
dhellmann | ++ | 20:25 |
redrobot | thanks again, y'all! | 20:26 |
stevemar | dhellmann: we don't do anything special for key pairs | 20:26 |
stevemar | though thats not nearly as daunting as an image | 20:26 |
stevemar | keypairs are a lot more copy paste friendly | 20:27 |
dhellmann | ok, I was trying to think of other examples of un- or semi-structured data | 20:27 |
dhellmann | stevemar, redrobot : I wonder if it makes sense for us to add a new ShowOrDownloadOne class to cliff to make these easier | 20:29 |
dhellmann | it could even be built into ShowOne and turned on with a class attribute | 20:30 |
* dhellmann stops thinking out loud | 20:30 | |
stevemar | dhellmann: what would be different about it? a file argument always available? | 20:30 |
stevemar | or allowance for more encoding and such? | 20:31 |
dhellmann | stevemar : 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 file | 20:31 |
redrobot | stevemar that makes sense... rsa keys and certs and such work fine, it's just symmetric keys that are giving us problems | 20:31 |
stevemar | redrobot: ahhh | 20:32 |
*** milan has quit IRC | 20:33 | |
*** milan has joined #openstack-sdks | 20:33 | |
*** cleong has quit IRC | 20:46 | |
openstackgerrit | Merged openstack/python-openstackclient: Updated from global requirements https://review.openstack.org/388827 | 20:49 |
milan | dear 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 |
openstackgerrit | Ankur proposed openstack/python-openstacksdk: Network L3 Router Commands https://review.openstack.org/385728 | 20:53 |
*** markvoelker_ has joined #openstack-sdks | 20:57 | |
*** markvoelker has quit IRC | 21:00 | |
openstackgerrit | Monty Taylor proposed openstack/os-client-config: Update ECS image_api_version to 1 https://review.openstack.org/388901 | 21:18 |
openstackgerrit | Monty Taylor proposed openstack/os-client-config: Update ECS image_api_version to 1 https://review.openstack.org/388901 | 21:19 |
openstackgerrit | Merged openstack/osc-lib: Updated from global requirements https://review.openstack.org/388824 | 21:29 |
openstackgerrit | Sindhu Devale proposed openstack/python-openstackclient: [WIP] "floating ip associate/disassociate" for OSC https://review.openstack.org/383025 | 21:41 |
*** gildub has joined #openstack-sdks | 22:04 | |
openstackgerrit | Sindhu Devale proposed openstack/python-openstackclient: [WIP] "floating ip associate/disassociate" for OSC https://review.openstack.org/383025 | 22:14 |
*** sdague has quit IRC | 22:29 | |
openstackgerrit | Jamie Lennox proposed openstack/osc-lib: Allow passing app_name and app_version for useragent https://review.openstack.org/387791 | 23:13 |
*** gouthamr has quit IRC | 23:15 | |
*** gouthamr has joined #openstack-sdks | 23:18 | |
*** dfflanders has joined #openstack-sdks | 23:19 | |
*** yuanying has joined #openstack-sdks | 23:32 | |
*** yushiro has joined #openstack-sdks | 23:42 | |
*** gildub has quit IRC | 23:45 | |
*** erlon has quit IRC | 23:52 | |
openstackgerrit | Corentin Ardeois proposed openstack/js-openstack-lib: Release 0.0.2 https://review.openstack.org/388940 | 23:54 |
*** gouthamr has quit IRC | 23:56 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!