Deal with py2-py3 payload switch during upgrade-charm

Switch to using the default upgrade-charm handler as provided
by charms.openstack and associated layers.

This ensures that the payload execution switch from py2->py3
at OpenStack Rocky is implemented during the charm upgrade
process.

Change-Id: Id2ab577f65c1937bcbbc06a704a8385655de3c57
Closes-Bug: 1803451
This commit is contained in:
James Page 2018-11-15 11:13:42 +00:00
parent 645603a7ea
commit 0b301410e6
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ charm.use_defaults(
'identity-service.connected',
'identity-service.available', # enables SSL support
'config.changed',
'update-status')
'update-status',
'upgrade-charm',
)
# Note that because of the way reactive.when works, (which is to 'find' the