[python-fuelclient] fuel2 node list and node label list sorting doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
In Progress
|
Low
|
Vitalii Kulanov | ||
Mitaka |
Won't Fix
|
Low
|
Vitalii Kulanov | ||
Newton |
In Progress
|
Low
|
Vitalii Kulanov |
Bug Description
fuel2 node list and node label sort command doesn't work for nodes.
How to reproduce node sorting bug:
1. Deploy fuel-master node and fuel-slave nodes from fuel-community-
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 expected result.
How to reproduce node labels sorting bug:
1 Deploy fuel-master node and fuel-slave nodes from fuel-community-
2. In CLI mode (fuel-master):
[root@fuel ~]# fuel2 node label list -s label_name
+------
| node_id | label_name | label_value |
+------
| 9 | office1 | a_12 |
| 10 | home | s13 |
| 11 | DataCenter | up365 |
+------
3. The output (sorting by name) does not correspond to expected result.
Changed in fuel: | |
importance: | Undecided → Low |
milestone: | none → 9.0 |
summary: |
- [python-fuelclient] fuel2 node list sorting doesn't work for nodes + [python-fuelclient] fuel2 node list and node label list sorting doesn't + work |
description: | updated |
description: | updated |
description: | updated |
tags: | added: module-client |
Fix proposed to branch: master /review. openstack. org/279989
Review: https:/