Cinder Lvm

  • By OpenStack Charmers
  • Cloud
Channel Version Revision Published Runs on
latest/stable 0 0 25 Oct 2021
Ubuntu 21.10 Ubuntu 21.04 Ubuntu 20.10 Ubuntu 20.04 Ubuntu 18.04
latest/edge aabaa3c 20 10 May 2022
Ubuntu 22.04 Ubuntu 20.04
yoga/stable 834c256 22 11 Jul 2022
Ubuntu 22.04 Ubuntu 20.04
xena/stable 92fc7a2 21 05 Aug 2022
Ubuntu 20.04
wallaby/edge ad649e4 11 25 Feb 2022
Ubuntu 20.04
victoria/edge ad649e4 11 25 Feb 2022
Ubuntu 20.04
ussuri/edge 0 0 04 Mar 2022
Ubuntu 21.10 Ubuntu 21.04 Ubuntu 20.10 Ubuntu 20.04 Ubuntu 18.04
train/edge ad649e4 12 25 Feb 2022
Ubuntu 20.04
stein/edge ad649e4 12 25 Feb 2022
Ubuntu 20.04
rocky/edge ad649e4 12 25 Feb 2022
Ubuntu 20.04
queens/edge ad649e4 13 25 Feb 2022
Ubuntu 20.04
juju deploy cinder-lvm
Show information

Platform:

Ubuntu
21.10 21.04 20.10 20.04 18.04

Overview

The cinder-lvm charm provides an LVM backend for Cinder, the core OpenStack block storage (volume) service. It is a subordinate charm that is used in conjunction with the cinder charm.

Note: The cinder-lvm charm is supported starting with OpenStack Queens.

Usage

Configuration

This section covers common and/or important configuration options. See file config.yaml for the full list of options, along with their descriptions and default values. See the [Juju documentation][juju-docs-config-apps] for details on configuring applications.

allocation-type

Refers to volume provisioning type. Values can be 'thin', 'thick', 'auto' (resolves to 'thin' if supported) , and 'default' (resolves to 'thick'). The default value is 'default'.

block-device

Specifies a space-separated list of devices to use for LVM physical volumes. This is a mandatory option. Value types include:

  • block devices (e.g. 'sdb' or '/dev/sdb')
  • a path to a local file with the size appended after a pipe (e.g. '/path/to/file|10G'). The file will be created if necessary and be mapped to a loopback device. This is intended for development and testing purposes. The default size is 5G.

To prevent potential data loss an already formatted device (or one containing LVM metadata) cannot be used unless the overwrite configuration option is set to 'true'.

config-flags

Comma-separated list of key=value config flags. These values will be added to standard options when injecting config into cinder.conf.

overwrite

Permits ('true') the charm to attempt to overwrite storage devices (specified by the block-devices option) if they contain pre-existing filesystems or LVM metadata. The default is 'false'. A device in use on the host will never be overwritten.

Deployment

To deploy, add a relation to the cinder charm:

juju add-relation cinder-lvm:storage-backend cinder:storage-backend

Documentation

The OpenStack Charms project maintains two documentation guides:

Bugs

Please report bugs on Launchpad.