tripleo-image-elements/elements/cinder
Thom Leggett 908a9f5dfe Adds passthrough config for cinder rootwrap
This patch adds a passthrough.conf to the cinder rootwrap.d directory
which supports passthrough config.

This is useful for folks who want to add custom logging or other conf
to their rootwrap.

ExtraConfig snippet looks like this:
{
  "cinder": {
    "rootwrap_config": [
      {
        "section": "SECTIONNAME",
        "values": [
          {
            "option": "OPTIONNAME",
            "value": "VALUENAME"
          }
        ]
      }
    ]
  }
}
Change-Id: Ifbc49a266c95e7032ec33e2b3cd48b9f551a3efe
blueprint: passthrough-config
2014-07-10 17:42:00 +01:00
..
environment.d Wire in _EXTRA_INSTALL_OPTS... 2014-04-19 08:08:45 -04:00
install.d Wire in _EXTRA_INSTALL_OPTS... 2014-04-19 08:08:45 -04:00
os-apply-config/etc/cinder Adds passthrough config for cinder rootwrap 2014-07-10 17:42:00 +01:00
pre-install.d Updates cinder element 2014-01-14 08:39:37 -05:00
element-deps sort the element-deps to please dib-lint 2014-04-24 15:38:03 +02:00
README.md Adds passthrough config for cinder rootwrap 2014-07-10 17:42:00 +01:00
source-repository-cinder Use openstack git repos when possible 2013-11-15 10:48:11 +02:00

Install cinder service from git.

An appropriate target element (such as cinder-tgt or cinder-lio) must be included in images that use cinder.

Configuration

cinder: verbose: False - Print more verbose output (set logging level to INFO instead of default WARNING level). debug: False - Print debugging output (set logging level to DEBUG instead of default WARNING level). iscsi-helper: tgtadm - Specifies the iSCSI helper to use. Must match the target element included in the image.

Rootwrap Configuration

It is possible to add custom configuration to the rootwrap.conf used by cinder by supplying an ExtraConfig snippet of the following form:

{
  "cinder": {
    "rootwrap_config": [
      {"section": "SECTIONNAME",
       "values": [
          {
            "option": "OPTIONNAME",
            "value": "VALUENAME"
          }
        ]
      }
    ]
  }
}