diff options
| author | Vu Tran <vu.tran@windriver.com> | 2014-02-28 09:11:12 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-03-17 14:24:31 -0400 |
| commit | 2c14cdfb9c34c541a1b3a180ad2a625514300977 (patch) | |
| tree | c4ff7eed6df633a503b9a1c5a7884ca85f3c4534 /meta-openstack/README.setup | |
| parent | b7527a3c0b5ab0849a0c669cb345c6494628da8f (diff) | |
| download | meta-cloud-services-2c14cdfb9c34c541a1b3a180ad2a625514300977.tar.gz | |
cinder: enable glusterfs backend
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>
Diffstat (limited to 'meta-openstack/README.setup')
| -rw-r--r-- | meta-openstack/README.setup | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta-openstack/README.setup b/meta-openstack/README.setup index 8ad892e..0657c9d 100644 --- a/meta-openstack/README.setup +++ b/meta-openstack/README.setup | |||
| @@ -78,6 +78,7 @@ to the bblayers.conf file: | |||
| 78 | /meta-cloud-services/meta-openstack \ | 78 | /meta-cloud-services/meta-openstack \ |
| 79 | /meta-openembedded/meta-oe \ | 79 | /meta-openembedded/meta-oe \ |
| 80 | /meta-openembedded/meta-networking \ | 80 | /meta-openembedded/meta-networking \ |
| 81 | /meta-openembedded/meta-filesystems | ||
| 81 | 82 | ||
| 82 | Package configurations | 83 | Package configurations |
| 83 | ---------------------- | 84 | ---------------------- |
| @@ -109,7 +110,12 @@ On compute node, by default openstack-image-compute doesn't include | |||
| 109 | initiator iscsi package. If open-iscsi-user recipe exists in layers, | 110 | initiator iscsi package. If open-iscsi-user recipe exists in layers, |
| 110 | the following can be added to local.conf: | 111 | the following can be added to local.conf: |
| 111 | 112 | ||
| 112 | CINDER_EXTRA_FEATURES += "open-iscsi-user" | 113 | CINDER_EXTRA_FEATURES += " open-iscsi-user" |
| 114 | |||
| 115 | If glusterfs recipi exists in layers, the following can be added to | ||
| 116 | local.conf: | ||
| 117 | |||
| 118 | CINDER_EXTRA_FEATURES += " glusterfs" | ||
| 113 | 119 | ||
| 114 | Running an image | 120 | Running an image |
| 115 | ---------------- | 121 | ---------------- |
| @@ -154,7 +160,7 @@ following steps will validate a simple compute node guest launch: | |||
| 154 | 160 | ||
| 155 | * Cinder Multi-backend * | 161 | * Cinder Multi-backend * |
| 156 | 162 | ||
| 157 | Cinder currently is configured to support multi-backend: lvm-iscsi and nfs backends. | 163 | Cinder currently is configured to support multi-backend: lvm-iscsi, nfs, glusterfs backends. |
| 158 | When a Cinder volume is created, it's needed to be specified which backend its belong | 164 | When a Cinder volume is created, it's needed to be specified which backend its belong |
| 159 | to through "--volume_type" option passed in "cinder create" command. | 165 | to through "--volume_type" option passed in "cinder create" command. |
| 160 | 166 | ||
| @@ -165,6 +171,8 @@ The Cinder volume types for lvm-iscsi and nfs can be created as following steps: | |||
| 165 | % cinder type-key lvm_iscsi set volume_backend_name=LVM_iSCSI | 171 | % cinder type-key lvm_iscsi set volume_backend_name=LVM_iSCSI |
| 166 | % cinder type-create nfs | 172 | % cinder type-create nfs |
| 167 | % cinder type-key nfs set volume_backend_name=Generic_NFS | 173 | % cinder type-key nfs set volume_backend_name=Generic_NFS |
| 174 | % cinder type-create glusterfs | ||
| 175 | % cinder type-key glusterfs set volume_backend_name=GlusterFS | ||
| 168 | 176 | ||
| 169 | For example, to create 1G Cinder volume in lvm-iscsi backend: | 177 | For example, to create 1G Cinder volume in lvm-iscsi backend: |
| 170 | 178 | ||
