[cli] In case of errors show not only exception message and but also response from nailgun
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Alexandr Notchenko |
Bug Description
Step to reproduce:
1. create cluster
2. tried to add node
Actual result:
Got an exception
(nailgun)[root@fuel fuelclient]# fuel node set --env 2 --node 1 --role controller
HTTP Error 400: Bad Request
Expected result:
Exception with error message where I can see description of problem (just show response from nailgun in case of such errors)
Example:
(nailgun)[root@fuel fuelclient]# fuel node set --env 2 --node 1 --role controller
HTTP Error 400: Bad Request
(nailgun)[root@fuel fuelclient]# fuel node set --env 2 --node 1 --role controller --debug
GET http://
PUT http://
HTTP Error 400: Bad Request
(nailgun)[root@fuel fuelclient]# curl -X PUT --data '[{"pending_
[127.0.0.1] Invalid ID specified(
Changed in fuel: | |
milestone: | none → 4.0 |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Alexandr Notchenko (anotchenko) |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/61758
Review: https:/