commit 65d162aff282080397d02a37cdce2d1a670db227
Author: Alex Kavanagh <email address hidden>
Date: Thu Feb 13 16:06:38 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/707704 /git.openstack. org/cgit/ openstack/ charm-nova- compute/ commit/ ?id=65d162aff28 2080397d02a37cd ce2d1a670db227
Committed: https:/
Submitter: Zuul
Branch: master
commit 65d162aff282080 397d02a37cdce2d 1a670db227
Author: Alex Kavanagh <email address hidden>
Date: Thu Feb 13 16:06:38 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: Ic02d4d4d3c3b42 3fa28cd171b126e d4a444fc646
Closes-bug: #1862085