Monday, 2020-09-14

*** LinPeiWen has joined #openstack-sdks00:30
*** LinPeiWen has quit IRC01:27
*** LinPeiWen has joined #openstack-sdks01:51
*** camelCaser has quit IRC02:25
*** camelCaser has joined #openstack-sdks02:25
openstackgerritwu.shiming proposed openstack/python-openstackclient master: Remove install unnecessary packages  https://review.opendev.org/75163302:38
openstackgerritwu.chunyang proposed openstack/os-client-config master: Replace assertItemsEqual with assertCountEqual  https://review.opendev.org/75163803:27
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-sdks04:33
*** dasp has quit IRC05:48
*** ralonsoh has joined #openstack-sdks06:05
*** slaweq_ has joined #openstack-sdks06:32
*** slaweq_ has quit IRC06:37
*** slaweq_ has joined #openstack-sdks06:50
*** slaweq_ is now known as slaweq06:56
*** slaweq_ has joined #openstack-sdks07:14
*** slaweq has quit IRC07:15
*** gtema has joined #openstack-sdks07:20
*** jpena|off is now known as jpena07:22
*** nightmare_unreal has joined #openstack-sdks07:33
*** jpich has joined #openstack-sdks08:07
*** tosky has joined #openstack-sdks08:27
*** sshnaidm|pto is now known as sshnaidm09:10
*** LinPeiWen10 has joined #openstack-sdks09:12
nightmare_unrealgtema:  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_unrealgtema:  the issue is currently json output is  "security_groups": "name='group1'\nname='group2'"09:13
nightmare_unrealThe correct output should be09:13
nightmare_unreal"security_groups" : [{"name" : "group1"}, {"name" : "group2"}]09:13
gtemait is however doing exactly what you need - ensure proper output formatting depending on the selected output format09:13
nightmare_unrealmaybe I am invoking it wrong then09:14
*** LinPeiWen has quit IRC09:14
gtemawhat is the problem?09:14
nightmare_unrealwhen I use it i am getting this security_groups='name='default'name='anothergrp''09:15
gtemawith "-f json"?09:16
nightmare_unrealyes ,  give me 5 min . I am trying 1 more thing ( hopefully not stupid)09:17
nightmare_unrealbrb09:17
nightmare_unrealgtema:  got it :) . https://usercontent.irccloud-cdn.com/file/LC3kf6md/err_out.png09:21
nightmare_unrealcan you see the image.  It's working with -f json but giving error with table now09:21
gtemaI see the image, but don't see an error in the last invoke09:22
nightmare_unrealsee the top part where I have specified -t table09:22
nightmare_unreal-f table09:22
gtemaaah, got it now09:22
gtemawithout "-f" at all, is it working as desired?09:23
gtemaough, you have a list of dicts, and not a singe dict09:24
gtemayou should be using ListDictColumn and not DictColumn09:24
nightmare_unrealokay09:25
nightmare_unreallet me try09:25
nightmare_unrealbrb 1  min09:25
nightmare_unrealgtema:  it's working  :D .09:26
nightmare_unrealwith both -f json09:26
nightmare_unrealand normal table09:26
gtemagreat09:26
nightmare_unrealI will make changes and submit the patch again . Thanks again09:26
gtemain 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
gtemaunittests might take a bit more time, then the fix itself ;-)09:27
openstackgerritMerged openstack/cliff stable/victoria: Update .gitreview for stable/victoria  https://review.opendev.org/75050809:43
*** nightmare_unreal has quit IRC09:45
openstackgerritMerged openstack/cliff stable/victoria: Update TOX_CONSTRAINTS_FILE for stable/victoria  https://review.opendev.org/75051009:46
*** nightmare_unreal has joined #openstack-sdks09:46
*** holser has joined #openstack-sdks09:47
openstackgerritjayaditya gupta proposed openstack/python-openstackclient master: Output correct json for security groups in 'openstack server show'  https://review.opendev.org/73357309:49
*** jpich has quit IRC10:08
*** jpich has joined #openstack-sdks10:11
*** slaweq_ is now known as slaweq10:12
*** dtantsur|afk is now known as dtantsur10:27
*** jpena is now known as jpena|lunch11:31
*** holser has quit IRC11:47
*** dave-mccowan has joined #openstack-sdks11:48
openstackgerritjayaditya gupta proposed openstack/python-openstackclient master: Output correct json for security groups in 'openstack server show'  https://review.opendev.org/73357311:58
*** holser has joined #openstack-sdks12:04
*** jpena|lunch is now known as jpena12:28
*** slaweq_ has joined #openstack-sdks12:37
*** jpich has quit IRC12:41
*** jpich has joined #openstack-sdks12:42
*** irclogbot_1 has quit IRC13:19
openstackgerritjayaditya gupta proposed openstack/python-openstackclient master: Output correct json for security groups in 'openstack server show'  https://review.opendev.org/73357313:22
*** irclogbot_2 has joined #openstack-sdks13:25
openstackgerritMerged openstack/cliff master: Add Python3 wallaby unit tests  https://review.opendev.org/75051313:29
*** enriquetaso has joined #openstack-sdks13:32
*** artom has joined #openstack-sdks13:33
*** tkajinam has quit IRC13:37
*** slaweq_ has quit IRC13:38
*** ricolin has quit IRC13:52
*** sshnaidm is now known as sshnaidm|afk14:07
*** ricolin has joined #openstack-sdks14:11
*** slaweq_ has joined #openstack-sdks14:40
*** slaweq_ has quit IRC14:55
*** gtema has quit IRC15:07
openstackgerritMerged openstack/keystoneauth stable/victoria: Update .gitreview for stable/victoria  https://review.opendev.org/75105215:14
*** jpich has quit IRC16:04
*** ralonsoh has quit IRC16:27
*** jpena is now known as jpena|off16:31
*** dasp has joined #openstack-sdks16:46
*** dasp has quit IRC16:58
*** dasp has joined #openstack-sdks17:00
*** holser has quit IRC17:18
*** gtema has joined #openstack-sdks17:30
*** gtema has quit IRC17:34
*** dtantsur is now known as dtantsur|afk17:35
*** holser has joined #openstack-sdks17:57
*** Jeffrey4l has quit IRC18:08
*** mgoddard has quit IRC18:34
*** mgoddard has joined #openstack-sdks18:41
*** Jeffrey4l has joined #openstack-sdks18:48
*** Jeffrey4l has quit IRC18:55
*** hyang has joined #openstack-sdks18:56
*** Jeffrey4l has joined #openstack-sdks18:57
*** hyang has quit IRC19:03
*** hyang has joined #openstack-sdks19:03
*** hyang has left #openstack-sdks19:26
*** hyang has joined #openstack-sdks19:26
*** hyang has quit IRC19:34
*** slaweq_ has joined #openstack-sdks19:53
*** slaweq__ has joined #openstack-sdks20:55
*** slaweq has quit IRC20:55
*** slaweq__ has quit IRC21:08
*** slaweq_ has quit IRC21:38
*** slaweq_ has joined #openstack-sdks21:40
*** slaweq_ has quit IRC21:53
*** slaweq has joined #openstack-sdks21:54
*** slaweq has quit IRC22:05
*** slaweq has joined #openstack-sdks22:09
*** slaweq has quit IRC22:21
*** tosky has quit IRC22:33
*** tkajinam has joined #openstack-sdks22:52
*** dtruong has quit IRC22:54
*** dtruong has joined #openstack-sdks22:54
*** artom has quit IRC23:46
*** holser has quit IRC23:55

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!