summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cinder
Commit message (Collapse)AuthorAgeFilesLines
* cinder-volume: change lvm pv to be configured at runtimeVu Tran2014-03-172-9/+15
| | | | | | | | | By default lvm-iscsi uses loopdev as lvm physical volume. This patch makes it a bit easier to allow other layer to be able configure lvm physical volume. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: enable glusterfs backendVu Tran2014-03-172-1/+15
| | | | | | | | | | | | | | This patch adds glusterfs backend into multi-backend cinder support (total of lvm-iscsi, nfs, and glusterfs). This including changing cinder.conf, creating missing glusterfs_shares config file, and adding glusterfs-client into compute/controller node and gluster-server into controller node. Also meta-filesystems is included to pickup fuse filesytem which is needed by glusterfs. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: enable nfs backendVu Tran2014-03-172-4/+17
| | | | | | | | | | This patch enables multi-backend support (lvm-iscsi and nfs) on cinder-volume. This including changing cinder.conf, creating missing nfs_shares config file, and adding mount.nfs into compute node image. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder-volume: active lvm vg at startupVu Tran2014-03-171-0/+1
| | | | | | | | | It's needed to implicitly activate the lvm logical group at startup. Otherwise, cinder lvm logical volume will not be created. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder-volume: to reuse loop devVu Tran2014-03-171-1/+4
| | | | | | | | | | Every time cinder-volume is restarted with "/etc/init.d/cinder-volume restart" a new loop dev is created for lvm volume backing file instead of reuse the existing loop dev Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: modify run_tests to respect --tools-dirBruce Ashfield2013-12-111-0/+29
| | | | | | | | | | Since the "tools" subdir of cinder is only packaged and installed in /etc/cinder, we need to use --tools-dir to point the test script in the right direction. Unfortunately, run_tests.sh takes this arg and ignores it. So we patch the script to actually respect the directory. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-cinder: Update cinder-volume initscript and postinstallMihai Prica2013-08-281-0/+79
| | | | | | | | | Cinder-volume requires the cinder-volumes volume group created. The backing file for this volume is created in the postinstall with a size of 2G on the first boot and the volume group is created at boot time in the cinder-volume initscript. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-cinder: Fix path errorMihai Prica2013-08-281-1/+1
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-cinder: Configure postgresql credentialsMihai Prica2013-08-281-1/+1
| | | | | | | The user and password for postgresql are defined in the identity class and are loaded by the recipes from this class. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-cinder: Use the identity to get credentialsMihai Prica2013-08-281-62/+0
| | | | | | | The credentials are defined in the identity bbclass and the recipe will set them in the configuration files. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-cinder: Removed old configurationMihai Prica2013-08-281-4/+0
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-cinder: Updated db usernameMihai Prica2013-08-281-1/+1
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-cinder: Changed MQ backend to RabbitMQMihai Prica2013-08-281-3/+7
| | | | Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
* python-cinder: added 2013.1.1Mihai Prica2013-08-283-0/+1322
-Added configuration files with necessary credentials; -Added initscript to start cinder-api and cinder-volume; Signed-off-by: Mihai Prica <prica.mihai@gmail.com>