The upgrade-charm hook installs any new packages required for the
new charm version however this needs to be filtered against previously
installed packages to ensure that pending package updates don't get
applied to the system as a side effect of upgrading the charm.
Reviewed: https:/ /review. openstack. org/632784 /git.openstack. org/cgit/ openstack/ charm-nova- compute/ commit/ ?id=e9ecd8284fc 1d1fc5c64496de7 893d179f8315b5
Committed: https:/
Submitter: Zuul
Branch: master
commit e9ecd8284fc1d1f c5c64496de7893d 179f8315b5
Author: James Page <email address hidden>
Date: Wed Jan 23 17:09:15 2019 +0000
upgrade-charm: filter previously installed packages
The upgrade-charm hook installs any new packages required for the
new charm version however this needs to be filtered against previously
installed packages to ensure that pending package updates don't get
applied to the system as a side effect of upgrading the charm.
Change-Id: I6c490f9af2312d c42f2b56e0b7ce8 c802e3aac1d
Closes-Bug: 1812982