*** LinPeiWen has joined #openstack-sdks | 00:30 | |
*** LinPeiWen has quit IRC | 01:27 | |
*** LinPeiWen has joined #openstack-sdks | 01:51 | |
*** camelCaser has quit IRC | 02:25 | |
*** camelCaser has joined #openstack-sdks | 02:25 | |
openstackgerrit | wu.shiming proposed openstack/python-openstackclient master: Remove install unnecessary packages https://review.opendev.org/751633 | 02:38 |
---|---|---|
openstackgerrit | wu.chunyang proposed openstack/os-client-config master: Replace assertItemsEqual with assertCountEqual https://review.opendev.org/751638 | 03:27 |
*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #openstack-sdks | 04:33 | |
*** dasp has quit IRC | 05:48 | |
*** ralonsoh has joined #openstack-sdks | 06:05 | |
*** slaweq_ has joined #openstack-sdks | 06:32 | |
*** slaweq_ has quit IRC | 06:37 | |
*** slaweq_ has joined #openstack-sdks | 06:50 | |
*** slaweq_ is now known as slaweq | 06:56 | |
*** slaweq_ has joined #openstack-sdks | 07:14 | |
*** slaweq has quit IRC | 07:15 | |
*** gtema has joined #openstack-sdks | 07:20 | |
*** jpena|off is now known as jpena | 07:22 | |
*** nightmare_unreal has joined #openstack-sdks | 07:33 | |
*** jpich has joined #openstack-sdks | 08:07 | |
*** tosky has joined #openstack-sdks | 08:27 | |
*** sshnaidm|pto is now known as sshnaidm | 09:10 | |
*** LinPeiWen10 has joined #openstack-sdks | 09:12 | |
nightmare_unreal | gtema: I saw your comment on this patch : https://review.opendev.org/#/c/733573/ . I am not sure if that function ( format_columns.DictColumn ) is exactly doing what I am looking for. | 09:13 |
nightmare_unreal | gtema: the issue is currently json output is "security_groups": "name='group1'\nname='group2'" | 09:13 |
nightmare_unreal | The correct output should be | 09:13 |
nightmare_unreal | "security_groups" : [{"name" : "group1"}, {"name" : "group2"}] | 09:13 |
gtema | it is however doing exactly what you need - ensure proper output formatting depending on the selected output format | 09:13 |
nightmare_unreal | maybe I am invoking it wrong then | 09:14 |
*** LinPeiWen has quit IRC | 09:14 | |
gtema | what is the problem? | 09:14 |
nightmare_unreal | when I use it i am getting this security_groups='name='default'name='anothergrp'' | 09:15 |
gtema | with "-f json"? | 09:16 |
nightmare_unreal | yes , give me 5 min . I am trying 1 more thing ( hopefully not stupid) | 09:17 |
nightmare_unreal | brb | 09:17 |
nightmare_unreal | gtema: got it :) . https://usercontent.irccloud-cdn.com/file/LC3kf6md/err_out.png | 09:21 |
nightmare_unreal | can you see the image. It's working with -f json but giving error with table now | 09:21 |
gtema | I see the image, but don't see an error in the last invoke | 09:22 |
nightmare_unreal | see the top part where I have specified -t table | 09:22 |
nightmare_unreal | -f table | 09:22 |
gtema | aah, got it now | 09:22 |
gtema | without "-f" at all, is it working as desired? | 09:23 |
gtema | ough, you have a list of dicts, and not a singe dict | 09:24 |
gtema | you should be using ListDictColumn and not DictColumn | 09:24 |
nightmare_unreal | okay | 09:25 |
nightmare_unreal | let me try | 09:25 |
nightmare_unreal | brb 1 min | 09:25 |
nightmare_unreal | gtema: it's working :D . | 09:26 |
nightmare_unreal | with both -f json | 09:26 |
nightmare_unreal | and normal table | 09:26 |
gtema | great | 09:26 |
nightmare_unreal | I will make changes and submit the patch again . Thanks again | 09:26 |
gtema | in the unit tests you would need to replace self.assertEqual with self.assertItemEqual for comparing data (see unit tests for image and compute flavor I referred) | 09:27 |
gtema | unittests might take a bit more time, then the fix itself ;-) | 09:27 |
openstackgerrit | Merged openstack/cliff stable/victoria: Update .gitreview for stable/victoria https://review.opendev.org/750508 | 09:43 |
*** nightmare_unreal has quit IRC | 09:45 | |
openstackgerrit | Merged openstack/cliff stable/victoria: Update TOX_CONSTRAINTS_FILE for stable/victoria https://review.opendev.org/750510 | 09:46 |
*** nightmare_unreal has joined #openstack-sdks | 09:46 | |
*** holser has joined #openstack-sdks | 09:47 | |
openstackgerrit | jayaditya gupta proposed openstack/python-openstackclient master: Output correct json for security groups in 'openstack server show' https://review.opendev.org/733573 | 09:49 |
*** jpich has quit IRC | 10:08 | |
*** jpich has joined #openstack-sdks | 10:11 | |
*** slaweq_ is now known as slaweq | 10:12 | |
*** dtantsur|afk is now known as dtantsur | 10:27 | |
*** jpena is now known as jpena|lunch | 11:31 | |
*** holser has quit IRC | 11:47 | |
*** dave-mccowan has joined #openstack-sdks | 11:48 | |
openstackgerrit | jayaditya gupta proposed openstack/python-openstackclient master: Output correct json for security groups in 'openstack server show' https://review.opendev.org/733573 | 11:58 |
*** holser has joined #openstack-sdks | 12:04 | |
*** jpena|lunch is now known as jpena | 12:28 | |
*** slaweq_ has joined #openstack-sdks | 12:37 | |
*** jpich has quit IRC | 12:41 | |
*** jpich has joined #openstack-sdks | 12:42 | |
*** irclogbot_1 has quit IRC | 13:19 | |
openstackgerrit | jayaditya gupta proposed openstack/python-openstackclient master: Output correct json for security groups in 'openstack server show' https://review.opendev.org/733573 | 13:22 |
*** irclogbot_2 has joined #openstack-sdks | 13:25 | |
openstackgerrit | Merged openstack/cliff master: Add Python3 wallaby unit tests https://review.opendev.org/750513 | 13:29 |
*** enriquetaso has joined #openstack-sdks | 13:32 | |
*** artom has joined #openstack-sdks | 13:33 | |
*** tkajinam has quit IRC | 13:37 | |
*** slaweq_ has quit IRC | 13:38 | |
*** ricolin has quit IRC | 13:52 | |
*** sshnaidm is now known as sshnaidm|afk | 14:07 | |
*** ricolin has joined #openstack-sdks | 14:11 | |
*** slaweq_ has joined #openstack-sdks | 14:40 | |
*** slaweq_ has quit IRC | 14:55 | |
*** gtema has quit IRC | 15:07 | |
openstackgerrit | Merged openstack/keystoneauth stable/victoria: Update .gitreview for stable/victoria https://review.opendev.org/751052 | 15:14 |
*** jpich has quit IRC | 16:04 | |
*** ralonsoh has quit IRC | 16:27 | |
*** jpena is now known as jpena|off | 16:31 | |
*** dasp has joined #openstack-sdks | 16:46 | |
*** dasp has quit IRC | 16:58 | |
*** dasp has joined #openstack-sdks | 17:00 | |
*** holser has quit IRC | 17:18 | |
*** gtema has joined #openstack-sdks | 17:30 | |
*** gtema has quit IRC | 17:34 | |
*** dtantsur is now known as dtantsur|afk | 17:35 | |
*** holser has joined #openstack-sdks | 17:57 | |
*** Jeffrey4l has quit IRC | 18:08 | |
*** mgoddard has quit IRC | 18:34 | |
*** mgoddard has joined #openstack-sdks | 18:41 | |
*** Jeffrey4l has joined #openstack-sdks | 18:48 | |
*** Jeffrey4l has quit IRC | 18:55 | |
*** hyang has joined #openstack-sdks | 18:56 | |
*** Jeffrey4l has joined #openstack-sdks | 18:57 | |
*** hyang has quit IRC | 19:03 | |
*** hyang has joined #openstack-sdks | 19:03 | |
*** hyang has left #openstack-sdks | 19:26 | |
*** hyang has joined #openstack-sdks | 19:26 | |
*** hyang has quit IRC | 19:34 | |
*** slaweq_ has joined #openstack-sdks | 19:53 | |
*** slaweq__ has joined #openstack-sdks | 20:55 | |
*** slaweq has quit IRC | 20:55 | |
*** slaweq__ has quit IRC | 21:08 | |
*** slaweq_ has quit IRC | 21:38 | |
*** slaweq_ has joined #openstack-sdks | 21:40 | |
*** slaweq_ has quit IRC | 21:53 | |
*** slaweq has joined #openstack-sdks | 21:54 | |
*** slaweq has quit IRC | 22:05 | |
*** slaweq has joined #openstack-sdks | 22:09 | |
*** slaweq has quit IRC | 22:21 | |
*** tosky has quit IRC | 22:33 | |
*** tkajinam has joined #openstack-sdks | 22:52 | |
*** dtruong has quit IRC | 22:54 | |
*** dtruong has joined #openstack-sdks | 22:54 | |
*** artom has quit IRC | 23:46 | |
*** holser has quit IRC | 23:55 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!