commit 91394ea9d64fba5cddd80614fd97ee891dd1f3e2
Author: Alex Kavanagh <email address hidden>
Date: Thu Feb 13 16:03:43 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/707703 /git.openstack. org/cgit/ openstack/ charm-swift- storage/ commit/ ?id=91394ea9d64 fba5cddd80614fd 97ee891dd1f3e2
Committed: https:/
Submitter: Zuul
Branch: master
commit 91394ea9d64fba5 cddd80614fd97ee 891dd1f3e2
Author: Alex Kavanagh <email address hidden>
Date: Thu Feb 13 16:03:43 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: I92773b7c1f48d4 56091062751e695 81fabe4c5f3
Closes-bug: #1862085