Trent Lloyd b3a5d3b358 Fix image-volume-cache configuration defaults
The image_volume_cache_max_count and image_volume_cache_max_size_gb
options were incorrectly being written to cinder.conf with a value of
"None" when not configured.

This occurred because config.get returns None for values with a null
default, this value was being placed into a dictionary and sent over
relation data to charm-cinder which renders it directly from a list of
key-value pairs.

Fix the handling of these options not to include them in the dictionary
if they are None.

Closes-Bug: #1976465
Change-Id: I61781fa5d837d0ed5191d8a92cc8e0bdf600c08a
2022-06-01 16:20:42 +08:00
2019-09-06 12:53:09 +00:00
2021-12-15 10:48:53 +00:00
2022-02-01 19:53:08 +00:00
2022-02-01 19:53:08 +00:00
2021-09-23 10:38:47 +01:00
2021-07-07 15:42:37 +05:30
2021-09-23 10:38:47 +01:00
2022-02-01 19:53:08 +00:00
2022-02-01 19:53:08 +00:00

Overview

This is a "source" charm, which is intended to be strictly the top layer of a built charm. This structure declares that any included layer assets are not intended to be consumed as a layer from a functional or design standpoint.

Test and Build

Building, pushing and publishing to the charm store is automated by CI to ensure consistent flow. Manually building is useful for development and testing, however.

tox -e pep8
tox -e py35  # or py36
tox -e build

Contact Information

OFTC IRC: #openstack-charms

Description
Juju Charm - Cinder Purestorage backend
Readme 8.3 MiB
Languages
Python 96.4%
Shell 2.5%
Jinja 1.1%