[openstack-dev] [OpenStack] Empty tables in client list output

Dolph Mathews dolph.mathews at gmail.com
Mon Apr 22 14:50:06 UTC 2013


>From a user experience perspective, I prefer the empty table over zero
output. If it's intended to be machine parseable (which tables should not
be), then no output would make more sense.


-Dolph


On Sat, Apr 20, 2013 at 3:36 PM, thingee <thingee at gmail.com> wrote:

> Nothing. In previous behavior running a cinder list for example would
> result in an empty output. Now you get an empty table as shown in the
> screenshot.:
>
> http://grab.objects.dreamhost.com/04-20-2013-15-34-46.png
>
>
> -Mike Perez!
>
>
> On Sat, Apr 20, 2013 at 12:22 PM, Endre Karlson <endre.karlson at gmail.com>wrote:
>
>> What should it to instead?
>>
>>
>> 2013/4/20 John Griffith <john.griffith at solidfire.com>
>>
>>> Hey Everyone,
>>>
>>> First off, I apologize as I believe there was some conversation about
>>> this previously that I missed...
>>>
>>> The safe_encode/decode changes in common/strutils.py when pulled in
>>> resulted in the clients (cinder and nova, possibly others) printing out an
>>> empty table on list commands when there are no items present.  I believe
>>> some changes were added to the tests to account for this, but my question
>>> is: Was there some sort of consensus that this was the desired behavior?
>>>
>>> Based on the commit messages for the patch there's nothing indicating
>>> that this was intended so I've been assuming it's a bug.
>>>
>>> John
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130422/a7ee35c6/attachment.html>


More information about the OpenStack-dev mailing list