commit 8b2e85e43532bb52797fd7f04f8d14db27a14f85
Author: Alex Kavanagh <email address hidden>
Date: Thu Feb 13 16:07:28 2020 +0000
Ensure python3-hvac is installed for charms with encypt option
The referenced bug is essentially: make vault:secrets relation to vault
but keep the 'encrypt' option as False. In this case, the Context
handling code in charm-helpers is expecting python3-hvac to be
available, but it is only installed if the encrypt option is set to
True. Hence the charm crashes. This resolves that crash.
Reviewed: https:/ /review. opendev. org/707705 /git.openstack. org/cgit/ openstack/ charm-ceph- osd/commit/ ?id=8b2e85e4353 2bb52797fd7f04f 8d14db27a14f85
Committed: https:/
Submitter: Zuul
Branch: master
commit 8b2e85e43532bb5 2797fd7f04f8d14 db27a14f85
Author: Alex Kavanagh <email address hidden>
Date: Thu Feb 13 16:07:28 2020 +0000
Ensure python3-hvac is installed for charms with encypt option
The referenced bug is essentially: make vault:secrets relation to vault
but keep the 'encrypt' option as False. In this case, the Context
handling code in charm-helpers is expecting python3-hvac to be
available, but it is only installed if the encrypt option is set to
True. Hence the charm crashes. This resolves that crash.
Note the related charm-helpers fix [1].
[1]: https:/ /github. com/juju/ charm-helpers/ pull/431
Change-Id: I9cb60a9340554c 91668272b46f7c2 dcf9f0ac2d1
Closes-bug: #1862085