[hopem,r=niedbalski,tinoco,wolsen]
Don't upgrade pacemaker packages. This restriction can be removed once 1382842 is fixed but for the moment we can't allow upgrades due to issues with pacemaker dependencies. Closes-Bug: 1382842
This commit is contained in:
commit
19d7578533
@ -44,7 +44,8 @@ from charmhelpers.core.host import (
|
||||
|
||||
from charmhelpers.fetch import (
|
||||
apt_install,
|
||||
apt_purge
|
||||
apt_purge,
|
||||
filter_installed_packages,
|
||||
)
|
||||
|
||||
from charmhelpers.contrib.hahelpers.cluster import (
|
||||
@ -73,7 +74,9 @@ SUPPORTED_TRANSPORTS = ['udp', 'udpu', 'multicast', 'unicast']
|
||||
|
||||
@hooks.hook()
|
||||
def install():
|
||||
apt_install(PACKAGES, fatal=True)
|
||||
# NOTE(dosaboy): we currently disallow upgrades due to bug #1382842. This
|
||||
# should be removed once the pacemaker package is fixed.
|
||||
apt_install(filter_installed_packages(PACKAGES), fatal=True)
|
||||
# NOTE(adam_g) rbd OCF only included with newer versions of
|
||||
# ceph-resource-agents. Bundle /w charm until we figure out a
|
||||
# better way to install it.
|
||||
|
Loading…
x
Reference in New Issue
Block a user