Test (and fix if necessary) upgrade resource against CharmHub

Bug #1915839 reported by Pen Gale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Heather Lanigan

Bug Description

Currently, upgrade resource against CharmHub is untested. We need to test, and make any necessary fixes, for the following scenario:

1) Deploy, via Charmhub, a charm with a resource that was imported from the Charm Store.
2) Upload an updated resource*
3) Verify that we can run upgrade resource.

* Coordinate w/ the CharmHub folks to get APIs that we can poke.

This bug *only* covers getting upgrade resource to work for charms that have been deployed via the Charm Store, or were deployed via Charm Hub, but imported from the old Charm Store. It does not cover fixing Resources for new style charms.

Pen Gale (pengale)
Changed in juju:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 2.9-rc6
Changed in juju:
assignee: nobody → Heather Lanigan (hmlanigan)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Heather Lanigan (hmlanigan) wrote :

Testing of `juju refresh` of a charm with resources has passed. Both the charm and its resource where refreshed during the testing.

During the testing, a regression came to light, related to juju internals around charm origins and how we call the charm hub api. Fixed here: https://github.com/juju/juju/pull/12671

Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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