Comment 0 for bug 1545460

Revision history for this message
Vitalii Kulanov (vitaliy-t) wrote : [python-fuelclient] fuel2 node list sorting doesn't work for nodes

fuel2 node list sort command doesn't work for nodes.

How to reproduce:

1. Deploy fuel-master node and fuel-slave nodes from fuel-community-9.0-3837-2016-02-13_04-58-54 (13 Feb 2016 05:28:22)
2. In CLI mode (fuel-master):
    [root@fuel ~]# fuel2 node list -s name
+----+------+----------+-------------+-------+-----------+-------------------+---------+---------------+--------+
| id | name | status | os_platform | roles | ip | mac | cluster | platform_name | online |
+----+------+----------+-------------+-------+-----------+-------------------+---------+---------------+--------+
| 7 | abc | discover | ubuntu | - | 10.20.0.5 | 08:00:27:4d:97:e3 | None | None | True |
| 4 | _abc | error | ubuntu | - | 10.20.0.3 | 08:00:27:73:3a:d5 | None | None | True |
| 8 | def | discover | ubuntu | - | 10.20.0.4 | 08:00:27:4b:04:ea | None | None | True |
+----+------+----------+-------------+-------+-----------+-------------------+---------+---------------+--------+
3. The output (sorting by name) does not correspond to a desired result.