← Back to team overview

nagios-charmers team mailing list archive

[Bug 1893434] Re: python-enum34 not installed on charm upgrade

 

** Changed in: charm-nagios
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/1893434

Title:
  python-enum34 not installed on charm upgrade

Status in Nagios Charm:
  In Progress

Bug description:
  Commit b825a12877ce80aad6325f95f2c08948728dabbf updated charmhelpers,
  and added a dependency to python-enum34 (the backport of the Enum
  class for python 2). This packages in installed as part of the
  execution of hooks/install, but not during charm upgrade.

  Upgrading from an earlier nagios charm version to 20.08 will therefore
  fail with

  DEBUG unit.nagios/0.upgrade-charm ImportError: No module named enum 
  ERROR juju.worker.uniter.operation hook "upgrade-charm" failed: exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nagios/+bug/1893434/+subscriptions


References