deploy does not add relations transactionally

Bug #1072750 reported by William Reade
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
William Reade

Bug Description

If (eg) the connection fails mid-deploy, it is possible for us to add a service which *should* have a peer relation, but doesn't (because the relations are added after the service is created). This will be extremely confusing if it ever happens, and there's no way to rectify it from the UI. It would be much better if AddService were to check possible relations itself, and add all peer relations in the same transaction.

Revision history for this message
William Reade (fwereade) wrote :

(note that this is no longer theoretical: I had a power cut mid-deploy yesterday)

Changed in juju-core:
importance: Undecided → High
status: New → Triaged
William Reade (fwereade)
Changed in juju-core:
assignee: nobody → William Reade (fwereade)
William Reade (fwereade)
Changed in juju-core:
status: Triaged → In Progress
William Reade (fwereade)
Changed in juju-core:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.