[nailgun] Nailgun returns incorrect nodes id during erroneously node assigning procedure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Low
|
Vitalii Kulanov |
Bug Description
Detailed bug description:
While trying to set some already assigned nodes to another environment nailgun returns nodes instance id instead real nodes id.
[root@fuel ~]# fuel --env 2 node set --node 3 --role controller --debug
POST http://
400 Client Error: Bad Request for url: http://
Steps to reproduce:
1. Deploy Fuel (e.g. 1 master + 5 nodes).
2. Create env and add several nodes to it.
3. Create new env and try to add node that already belongs to another environment through the python-fuelclient (REST API)
Expected results:
Error message should contain specific id(s) of node(s) that can not be added.
Actual result:
Error message contains nailgun.
Reproducibility:
Always
Description of the environment:
cat /etc/fuel_build_id:
88
cat /etc/fuel_
88
cat /etc/fuel_release:
10.0
cat /etc/fuel_
newton-10.0
Additional information:
check_if_
Changed in fuel: | |
assignee: | nobody → Vitalii Kulanov (vitaliy-t) |
Changed in fuel: | |
milestone: | none → 10.0 |
Changed in fuel: | |
importance: | Undecided → Low |
Fix proposed to branch: master /review. openstack. org/310801
Review: https:/