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

Bug #1386926 reported by JuanJo Ciarlante on 2014-10-28
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju
Medium
Unassigned
juju-core
Medium
Unassigned
nova-compute (Juju Charms Collection)
High
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
message:
  [james-page, r=gnuoy] Optimize hook links
...
-peers:
- 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

JuanJo Ciarlante (jjo) on 2014-10-28
tags: added: canonical-bootstack
Curtis Hovey (sinzui) on 2014-10-29
tags: added: relations upgrade-charm
tags: added: canonical-webops
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
James Page (james-page) wrote :

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

Liam Young (gnuoy) on 2014-10-29
Changed in nova-compute (Juju Charms Collection):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Liam Young (gnuoy)
Liam Young (gnuoy) on 2014-10-30
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) on 2017-02-17
Changed in juju:
milestone: 2.1-rc2 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers