Issues have been disabled for this repository.
Any issues with this cookbook should be raised here:
https://github.com/rcbops/chef-cookbooks/issues
Please title the issue as follows:
[cinder]: <short description of problem>
In the issue description, please include a longer description of the issue, along with any relevant log/command/error output.
If logfiles are extremely long, please place the relevant portion into the issue description, and link to a gist containing the entire logfile
Installs the Openstack volume service (codename: cinder) from packages.
Chef 0.10.0 or higher required (for Chef environment use).
- CentOS >= 6.3
- Ubuntu >= 12.04
The following cookbooks are dependencies:
- apt
- database
- mysql
- keystone
- osops-utils
- yum
- Installs common packages and configs
- Installs the cinder-api, sets up the cinder database, and cinder service/user/endpoints in keystone
- Installs the cinder-scheduler service
- Installs the cinder-volume service and sets up the iscsi helper
cinder["storage"]["provider"]
- storage provider (lvm/netappiscsi, defaults to lvm)- `cinder["storage"]["iscsi"]["ip_address"] - The ip address of the iscsi provider. By default, this will be an ip address on the host.
cinder["storage"]["netapp"]["wsdl_url"]
- NetApp device WSDL URLcinder["storage"]["netapp"]["login"]
- NetApp device logincinder["storage"]["netapp"]["password"]
- NetApp device passwordcinder["storage"]["netapp"]["server_hostname"]
- NetApp device hostnamecinder["storage"]["netapp"]["server_port"]
- NetApp device portcinder["storage"]["netapp"]["storage_service"]
- NetApp storage servicecinder["storage"]["solidfire"]["mvip"]
- Solidfire Storage Service VIPcinder["storage"]["solidfire"]["username"]
- Solidfire Storage Service Admin Usernamecinder["storage"]["solidfire"]["password"]
- Solidfire Storage Service Admin Passwordcinder["storage"]["emc"]["config"]
= "/etc/cinder/cinder_emc_config.xml"cinder["storage"]["emc"]["StorageType"]
- EMC Storage Typecinder["storage"]["emc"]["EcomServerIP"]
- IP Address of EMC ECOMcinder["storage"]["emc"]["EcomServerPort"]
- EMC ECOM Portcinder["storage"]["emc"]["EcomUserName"]
- EMC ECOM Usercinder["storage"]["emc"]["EcomPassword"]
- EMC ECOM Passwordcinder["db"]["name"]
- name of database to create for cindercinder["db"]["username"]
- cinder username for databasecinder["service_tenant_name"]
- name of tenant to use for the cinder service account in keystonecinder["service_user"]
- cinder service user in keystonecinder["service_role"]
- role for the cinder service user in keystonecinder["services"]["volume"]["scheme"]
- http or httpscinder["services"]["volume"]["network"]
network name to place the service oncinder["services"]["volume"]["port"]
cinder api portcinder["services"]["volume"]["path"]
uri to use when using the cinder apicinder["config"]["log_verbosity"]
- Logging verbosity. Valid options are DEBUG, INFO, WARNING, ERROR, CRITICAL. Default is INFOcinder["platform"]
= hash of platform specific package/service names and options
api-paste.ini.erb
- Paste config for cinder API middlewarecinder.conf.erb
- Basic cinder.conf filetargets.conf.erb
- Config file for tgt (iscsi target software)
By default, the 'lvm' provider is chosen. No special configuration is necessary on the chef side, but the cinder volume node must have an lvm volume group named cinder volumes.
To use the cinder EMC driver, the following attributes must be set to appropriate values. See https://wiki.openstack.org/wiki/Cinder/EMCVolumeDriver for more information.
node["cinder"]["storage"]["iscsi"]["ip_address"] = "IPAddressOfStorageProcessor"
node["cinder"]["storage"]["provider"] = "emc"
node["cinder"]["storage"]["emc"]["config"] = "/etc/cinder/cinder_emc_config.xml"
node["cinder"]["storage"]["emc"]["StorageType"] = "Pool X"
node["cinder"]["storage"]["emc"]["EcomServerIP"] = "IPAddressOfEcomServer"
node["cinder"]["storage"]["emc"]["EcomServerPort"] = 5988
node["cinder"]["storage"]["emc"]["EcomUserName"] = "admin"
node["cinder"]["storage"]["emc"]["EcomPassword"] = "password"
To use the solidfire driver, the following attributes must be set to appropriate values.
node["cinder"]["storage"]["provider"] = "solidfire"
node["cinder"]["storage"]["solidfire"]["mvip"] = "Service VIP of SolidFire Device"
node["cinder"]["storage"]["solidfire"]["username"] = "User"
node["cinder"]["storage"]["solidfire"]["password"] = "Password"
Author:: Justin Shepherd (justin.shepherd@rackspace.com)
Author:: Jason Cannavale (jason.cannavale@rackspace.com)
Author:: Ron Pedde (ron.pedde@rackspace.com)
Author:: Joseph Breu (joseph.breu@rackspace.com)
Author:: William Kelly (william.kelly@rackspace.com)
Author:: Darren Birkett (darren.birkett@rackspace.co.uk)
Author:: Evan Callicoat (evan.callicoat@rackspace.com)
Author:: Matt Thompson (matt.thompson@rackspace.co.uk)
Copyright 2012, Rackspace US, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.