[nailgun] Roles assignment validation doesn't work on server-side
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Triaged
|
Medium
|
Vladimir Sharshov | ||
Mitaka |
Won't Fix
|
Medium
|
Vladimir Sharshov | ||
Newton |
Triaged
|
Medium
|
Vladimir Sharshov |
Bug Description
Roles assignment validation works only on Web UI. E.g. You aren't able to assign Compute+Controller roles to a one node, only one Controller could be added on simple mode (multinode mode).
UI adds nodes to a cluster using NodeCollectionH
Steps to reproduce:
1. Create cluster in multinode mode.
2. Add 3 controllers using REST API or by hacking UI in firebug, etc
3. Start deployment.
Actual results:
Deployment started.
Expected results:
You shouldn't be able to add 3 controllers in simple mode or deployment should not start.
Tested on latest master (ISO & Fake UI)
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
milestone: | none → 5.0 |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Alexander Kislitsky (akislitsky) |
Changed in fuel: | |
assignee: | Alexander Kislitsky (akislitsky) → Fuel Python Team (fuel-python) |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Kamil Sambor (ksambor) |
Changed in fuel: | |
milestone: | 5.0 → 5.1 |
Changed in fuel: | |
assignee: | Kamil Sambor (ksambor) → nobody |
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
status: | In Progress → Confirmed |
tags: | added: low-hanging-fruit |
summary: |
- Roles assignment validation doesn't work on server-side + [nailgun] Roles assignment validation doesn't work on server-side |
tags: | added: feature |
Changed in fuel: | |
milestone: | 5.1 → 6.0 |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Nikolay Markov (nmarkov) |
Changed in fuel: | |
milestone: | 6.0 → 6.1 |
tags: | added: feature-validation |
Changed in fuel: | |
milestone: | 6.1 → 7.0 |
tags: | added: qa-agree-7.0 |
Changed in fuel: | |
milestone: | 7.0 → 8.0 |
no longer affects: | fuel/8.0.x |
tags: | added: area-python |
Changed in fuel: | |
milestone: | 8.0 → 9.0 |
Additional research is required, my opinion is we shouldn't set cluster and roles via '/api/nodes/' handler.