[octane] Key error on parse fuelclient output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Anastasia Balobashina | ||
Mitaka |
Fix Released
|
High
|
Anastasia Balobashina |
Bug Description
Octane raises KeyError on line [0], because of an incorrect output of fuelclient.
It's possible that fuelclient may have different output on different servers:
the first one
[root@fuel ~]# fuel2 env show 1 -f json -v
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
Making authentication request to http://
Making authentication request to http://
{
"status": "operational",
"is_customized": false,
"release_id": 2,
"name": "7env",
"fuel_version": "7.0",
"changes": [],
"id": 1
}
the second one
[root@fuel ~]# fuel2 env show 1 -f json -v
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
found extension EntryPoint.
Making authentication request to http://
Making authentication request to http://
[{"Field": "id", "Value": 1}, {"Field": "status", "Value": "operational"}, {"Field": "fuel_version", "Value": "8.0"}, {"Field": "name", "Value": "test"}, {"Field": "release_id", "Value": 2}, {"Field": "is_customized", "Value": false}, {"Field": "changes", "Value": []}]
It happens due to extensions arbitrary order.
Changed in fuel: | |
assignee: | nobody → Fuel Octane (fuel-octane-team) |
Changed in fuel: | |
status: | New → Confirmed |
milestone: | none → 9.1 |
Changed in fuel: | |
importance: | Undecided → High |
no longer affects: | fuel/newton |
Changed in fuel: | |
milestone: | 9.1 → 10.0 |
Changed in fuel: | |
assignee: | Fuel Octane (fuel-octane-team) → Anastasiya (atolochkova) |
Fix proposed to branch: master /review. openstack. org/347822
Review: https:/