commit | 20d5060bc9dfce077ae885acf42b286d30852318 | [log] [tgz] |
---|---|---|
author | Biser Milanov <biser.milanov@storpool.com> | Tue Aug 09 17:16:36 2022 +0300 |
committer | Biser Milanov <biser.milanov@storpool.com> | Fri Dec 16 15:29:36 2022 +0200 |
tree | 598eb2ad2e21bf53385ab5d4d7f893feef6c2b3f | |
parent | 8bc000bcd4716ee58fcf15fac4920ccf99bdea02 [diff] |
Generate storpool.conf The current storpool code inside cinder relies on reading StorPool's configuration options from /etc/storpool.conf This change makes the charm generate the minimum required /etc/storpool.conf in order for iSCSI to work. The names of the options written to /etc/storpool.conf follow the file's format: UPPERCASE_WITH_UNDERSCORES. A planned future improvement will make storpool read its configuration from /etc/cinder/cinder.conf Change-Id: Ia530ff26506fc13dff72942883e618baf64155f9
This charm provides a StorPool storage backend for use with the Cinder charm.
To use:
juju deploy cinder juju deploy cinder-storpool \ --config storpool_template="my_template" \ --config sp_api_http_host="1.2.3.4" \ --config sp_auth_token=1234567890123456789 juju add-relation cinder-storpool cinder
See config.yaml for details of configuration options.
Options with a blank 'default' field are mandatory and have to be provided by an administrator.