units can be created without a service causing cascading failures
Bug #1375918 reported by
Jeff Pihach
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-gui |
Triaged
|
High
|
Jeff Pihach |
Bug Description
It's not clear what causes this issue but from time to time you can end up creating units which do not have their `service` property populated which causes failures in the db `addUnits` method. We should step back through this flow to ensure that the unit could never be created without a service.
Changed in juju-gui: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju-gui: | |
assignee: | nobody → Jeff Pihach (hatch) |
To post a comment you must log in.
Stack trace:
Uncaught TypeError: Cannot read property 'service' of undefined models.js:2239 create. addUnits models.js:2238 ndEcsUnits utils.js:2219 Y.Base. create. _submitScaleUp scale-up.js:156 debug.js: 174 base-debug. js:1333 _notify event-custom- base-debug. js:992 _procSubs event-custom- base-debug. js:1122 fireSimple event-custom- base-debug. js:1088 base-debug. js:1070 base-debug. js:1038 debug.js: 728
(anonymous function) models.js:2239
Y.Base.
utils.addGhostA
ns.ScaleUp.
delegate.notifySub event-delegate-
Y.Subscriber.notify event-custom-
Y.CustomEvent.
Y.CustomEvent.
Y.CustomEvent.
Y.CustomEvent._fire event-custom-
Y.CustomEvent.fire event-custom-
cewrapper.fn event-base-