Openstack Nova Volume service provides EBS-like storage to Openstack instances.
This charm will configure Nova volume on a given unit to serve logical volumes
over iSCSI via the nova-volume service. All communication between nova-volume
and the rest of the Openstack deployment happens over the database and
messaging queue thus the charm has two required relations: mysql:shared-db and
rabbitmq:amqp.
To deploy along side an existing Openstack deployment, simply:
juju deploy --repository=. local:nova-volume
juju add-relation mysql nova-volume
juju add-relation rabbitmq nova-volume
Assuming the rest of the Openstack cloud is functioning properly,
the volume service will come online.
Overview of config options and corresponding defaults:
nova-release: distro
From which installation source to install the required Nova packages.
The default is to install from the Ubuntu archive. You may also specify
one of the following:
- trunk: upstream trunk PPA (ppa:nova-core/trunk)
- milestone: upstream milestone PPA (ppa:nova-core/milestone)
- milestone-proposed: upstream milestone PPA
(ppa:nova-core/milestone-proposed)
- A valid PPA with in LP PPA format: ppa:myaccount/ppaname
- A custom URL formated ala:
'deb http://host/ubuntu oneiric main'
You may append a GPG Key ID to the end of the line after a |,
and the charm will attempt to import it from keyserver.ubuntu.com.
block-device: sdb
Nova Volume requires a volume group be created from which to carve out
logical volumes. This block device will be initialized as the physical volume
that backs this volume group.
You may use either /dev/<block-device>, <block-device>, or
/path/to/file[|size]. In the third format, '|size' is optional, defaulting
to 5G. Example: "/var/lib/nova-volumes/my-vol.img|2G". The size parameter
is passed to 'truncate --size'
volume-group: nova-volumes
The volume group to create and use when creating new volumes.
overwrite: false
By default, LVM2 and the charm will refuse to initialize a block device
that has existing LVM signatures or is mounted. If this is set to true, the
charm will attempt to unmount the block device if is mounted and wipe any
traces of LVM from it, prior to initializing it as a new volume group. *BEWARE*
rabbit-user: nova
Username with which to request access to the messaging queue.
rabbit-vhost: nova
Name of the RabbitMQ virtual host to access. This must be the same across all
Nova components.
db-user: nova
Database user with which to request access to the shared MySQL database.
nova-db: nova
Database to request access to. This must be the same across all Nova
components.
| 2013/04/26 Marco Ceppi Added icon.svg (revno 12) |
| 2012/11/29 Adam Gandelman Merge fixes for handling of deb source URLs. (revno 11) |
| 2012/10/25 Adam Gandelman Add ceph integration, upgrade support, common code. (revno 10) |
| 2012/08/20 Mark Mims maintainer (revno 9) |
| 2012/05/11 Adam Gandelman Allow user-defined nova.conf flags in charm config. Add config-changed hook (revno 8) |
| 2012/02/13 Adam Gandelman Use proper rabbit_userid flag instead of rabbit_user. (revno 7) |
| 2012/02/02 Adam Gandelman Merge loopback device support from lp:~smoser/charms/precise/nova-volume/trunk.lxc (revno 6) |
| 2012/01/30 Adam Gandelman update metadata description (revno 5) |
| 2012/01/30 Adam Gandelman Add README + copyright (revno 4) |