provide a way to upgrade-charm when there are removed peer relations

Bug #1386926 reported by JuanJo Ciarlante
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Won't Fix
nova-compute (Juju Charms Collection)
Fix Released
Liam Young

Bug Description

It's currently (1.20.9) not possible to upgrade-charm to a revision which
has removed peer relations, eg:

$ bzr log -p charms/trusty/nova-compute/ -r85
revno: 85 [merge]
committer: Liam Young <email address hidden>
branch nick: nova-compute-238859
timestamp: Mon 2014-10-20 12:05:37 +0100
  [james-page, r=gnuoy] Optimize hook links
- compute-peer:
- interface: nova

$ juju upgrade-charm nova-compute
Added charm "local:trusty/nova-compute-139" to the environment.
ERROR cannot upgrade service "nova-compute" to charm "local:trusty/nova-compute-139": would break relation "nova-compute:compute-peer"
$ juju remove-relation nova-compute:compute-peer nova-compute:compute-peer
ERROR no relations found

Related branches

JuanJo Ciarlante (jjo)
tags: added: canonical-bootstack
Curtis Hovey (sinzui)
tags: added: relations upgrade-charm
tags: added: canonical-webops
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
James Page (james-page) wrote :

For the time being, we will ressurect the no-op peer relation

Liam Young (gnuoy)
Changed in nova-compute (Juju Charms Collection):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Liam Young (gnuoy)
Liam Young (gnuoy)
Changed in nova-compute (Juju Charms Collection):
status: Triaged → Fix Released
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.1.0
Changed in juju-core:
status: Triaged → Won't Fix
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.1-rc2 → none
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