In Juju2, when an application charm supports multiple series (ie. trusty, xenial) and the application is deployed in trusty series, is there any plan to support upgrades to later series (ie. trusty LXD upgrade to xenial)?
I understand there are limitations:
* not any series jump would be supported
* do-release-upgrade needs to be run on container, kvm or baremetal
* in juju-db, db.services needs to be updated (series key), but only after all units of such application are upgraded.
* such container/kvm/baremetal can have other applications running (ie. subordinates, smooshed apps), which should also be upgraded (if supported, in juju-db's db.services)
* new units of the upgraded applications would be deployed under the new series
OTOH, OpenStack charms support "openstack-origin" parameter which could point to trusty updates.
There is a longer term project underway to accomplish this.
I am currently working on a stepping stone piece, where if you have manually updated the series of existing units, you'll be able to let juju know that new units should use this new series. You
would be able to change the series to any supported by the charm, so a 'revert' action would be
possible.
Current thinking is along the lines of:
juju upgrade-charm <application> --series <new series>