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

Bug #1386926 reported by JuanJo Ciarlante
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned
juju-core
Won't Fix
Medium
Unassigned
nova-compute (Juju Charms Collection)
Fix Released
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

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
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
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.