Make the API follow the real relations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tuskar-ui |
Won't Fix
|
High
|
Ladislav Smola |
Bug Description
Right now the api relation is
Resource has one instance
Node has one instance
and resource gets omitted in all places
This is not following how the things really are!! (which is always bad for many reasons)
POSSIBLE REALITY:
resource has (zero,one) instance
resource has (zero,one) node
instance has (zero,one) node
node belongs to instance
node belongs to resource
...
...
CURRENT BUGS
1. there can be a failure that e.g. No available host found, which creates just Nova instance but doesn't associate the Node - doesn't show anything right now
2. when e.g. update fail, only stack resource can be created. We are now not showing a resource which result to created 1/1
but in reality there is only 1 of 2 created
Changed in tuskar-ui: | |
importance: | Undecided → High |
milestone: | none → icehouse-3 |
status: | New → Triaged |
Changed in tuskar-ui: | |
assignee: | nobody → Tzu-Mainn Chen (tzumainn) |
Changed in tuskar-ui: | |
importance: | High → Medium |
Changed in tuskar-ui: | |
importance: | Medium → High |
Changed in tuskar-ui: | |
assignee: | Jordan OMara (jomara) → Ladislav Smola (lsmola) |
Changed in tuskar-ui: | |
status: | Triaged → Won't Fix |
I'm a little confused by this; the API does follow the real relation, as it does follow the resource/ instance/ node chain. The UI just ends up leaving out the resource object because there's no information there we need.