Commit Graph

63 Commits

Author SHA1 Message Date
Mark Vanderwiel 3d566f0146 Initial kilo updates
Change-Id: Idf43a4af9c5a2d666fd3938a63fb8e7f5c74a5be
Partial-Bug: #1426424
2015-02-27 14:46:22 -06:00
Jin Hui 996254f21c Configure iscsi target service for RHEL7
In RHEL7, tgtd is replaced by LIO, and target deamon service and
targetcli package is used to manage iscsi target.

This fix also set iscsi_helper to lioadm for RHEL7

Change-Id: I5a5b1faec6a6aed9b9f3d5632e704a59e2d5c7b7
closes-bug: #1409619
2015-02-11 10:32:33 +08:00
lqslan 6ef4275296 Install qemu-img package for cinder-volume node
Currently the qemu-img package is not installed by default
for a cinder-volume node. This causes cinder to fail when
trying to create images using the qemu-img command.

This patch will change the 'cinder_volume_packages' attribute
to also install the qemu-img package for cinder-volume nodes.

Change-Id: Idb923f3edfa39720178e498433d94e4e37a76f7d
Closes-bug: #1413088
2015-02-09 09:53:02 +08:00
Ken Thomas b25e15d32d Use new common specific_endpoint routines
Now that admin_endpoint, public_endpoint, and internal_endpoint
in the common library are working, these are the changes to use
them in the openstack-block-storge recipes.

Change-Id: Ief4b9d011f55236270a4dc18f2b1f3f769d0a493
Partial-Bug: 1412919
2015-02-06 14:37:15 +00:00
Elliott Davis f75d819c2f Add dependency on upstream ceph cookbook for better key management
The upstream ceph cookbook already hooks into chef for environment information.
This patch utilizes the client LWRP to create or add ceph keys for RBD support.
This patch also changes some default attribute names for more sane organization

Partial-Bug: #1409943

Change-Id: Ibba6c568d4e4d00153061458b71593cd28714e60
2015-02-05 09:11:12 -06:00
Yi Ming Yin dad180e458 Disable configuration of tgtd on RHEL 7
- This is a stage I fix for bug #1400958. First disable the related
resources for tgtd.
- Bump version to 10.1.0 to indicate this is a start point of new
platform support

Change-Id: Id3757f7847ba0620d4bf4492160921389e3ef475
Partial-bug: #1400958
2015-01-13 09:17:33 +08:00
Mark Vanderwiel e6d89d0689 Allow storwize private key without san_login and san_password
Using The san_private_key by itself is a common use case. The
current code requires the san_login and password to be set.
This patch allows the key to be used without the login and password.
Also removed some clutter comments from the conf template.

Change-Id: Iea84c8310eec39481c115587219cdac35c9b3589
Closes-Bug: #1398469
2014-12-02 12:55:30 -06:00
Sachi King e23f8bdc1f Add glance_api_version to cinder config
This allows the administrator of the cloud the ability to specify
the glance API version.  This is required for features such as
Copy on Write (CoW) as Glance's v1 API does not expose enough
information to allow Cinder to CoW the image.

Change-Id: I3ba80207c22916629d210a23aad94bd143d2b00e
Co-Authored-By: Craige McWhirter <craige.mcwhirter@anchor.com.au>
Closes-bug: #1390345
2014-11-20 09:25:36 +11:00
Mark Vanderwiel 6d909ff139 Allow san_password attribute for svc driver
* add san_password= for storwize
* remove unused san_password attributes, get_password method is used
* add tests for password both storewize and solidfire

Change-Id: I4afde431332ca914d078bc3e30362ef22961016f
Closes-Bug: #1384085
2014-11-14 09:06:16 -06:00
ZHU ZHU 87865791ea Register cinder v2 service and endpoint to support recent nova changes
Recently nova merged commit https://review.openstack.org/#/c/124468/
have switch to use cinder v2. Block-storage cookbook need to be updated
for this change.

Compute cookbook already updated to adopt v2 from commit:
https://review.openstack.org/#/c/133908/

This commit will depends on common cookbook:
https://review.openstack.org/#/c/134275/

Change-Id: I096b4015f637d2df811cf9abb4d7233f706ce8d1
2014-11-13 18:28:42 -06:00
Sasikanth cf9ec63b94 Update gpfs volume driver path
* Change of driver path from "drivers.gpfs.GPFSDriver" to
  "drivers.ibm.gpfs.GPFSDriver"
* Fix issue of assigning "gpfs_images_share_mode=copy_on_write"
  even if the parent attribute "gpfs_images_dir" is not defined

Change-Id: Ica00f00901502857d5d21ef7ce7ae3b68e4ca9b7
Closes-Bug: #1389955
2014-11-07 15:04:50 +05:30
Sachi King 5b2b60b319 Add default_volume_type to cinder config
This allows the administrator of a cloud with multiple backends to
define which volume is the default when a user creats a volume without
specifying a volume type.

Change-Id: I1bb94dc1283e50645e4aece600acc52ae17db56b
Co-Authored-By: Craige McWhirter <craige.mcwhirter@anchor.com.au>
Closes-Bug: #1389292
2014-11-04 17:16:31 +01:00
jun xie f11cea4608 Add glance_ca_certificates_file
This commit adds glance_ca_certificates_file into cinder.conf.
It is used for glance client requests.

Change-Id: I4449ce8ec67af70463fd2107749a555c634767d8
Closes-Bug: #1389071
2014-11-04 11:53:29 +08:00
xijiax d4678e8a47 Add package sysfsutils for cinder SVC driver.
Change-Id: I4e2c997dc29e4c23b3d5cd006d81504cde840e09
Closes-Bug: #1386062
2014-10-28 14:17:21 +00:00
chenxiao 5ebe4b2756 Configure glance_api_insecure and glance_api_servers
This change adds some attributes into the cookbook so
that they are configurable. They are mainly to configure
for glance_api_insecure and make glance_api_servers to be
prefixed with scheme(http or https).

Change-Id: I79e04b47918fe1ec0b45472bd2cec9afa73d5897
Closes-Bug: #1383619
2014-10-22 15:55:21 +08:00
Mark Vanderwiel 0adf0c18dc Cleanup cookbook contact info
* Consistent email across cookbooks
* Add Contributor.md to help out new folks
* Fix file modes
* Fix broken link in Testing.md
* Readme tweaks

Change-Id: I7df0fe015328b675baceecc9d0ec30860cf829f6
Partial-Bug: #1342735
2014-10-14 09:40:31 -05:00
Jenkins 8c42b6bd4c Merge "Add attributes for cinder quotas" 2014-10-09 21:23:28 +00:00
Jenkins 85007635ab Merge "Fix WARNING keystoneclient.middleware.auth_token is deprecated" 2014-10-09 20:11:18 +00:00
Jenkins 2dadfdc864 Merge "Bump Chef gem to 11.16" 2014-10-09 16:52:14 +00:00
Mark Vanderwiel 6705377ff5 Bump Chef gem to 11.16
blueprint bump-chef-to-11-16

Change-Id: I56495e05041eeb82a197ce5a354eb487d57bb9f2
2014-09-29 11:48:50 -05:00
Mark Vanderwiel 5d0aac6578 Add attributes for cinder quotas
Add a few more quota attributes
* quota_snapshots
* no_snapshot_gb_quota
* use_default_quota_class

Change-Id: Ib621218b5ac67dca536ce18d587fc70e3068faf3
Closes-Bug: #1367403
2014-09-29 10:27:15 -05:00
Mark Vanderwiel 6587198c3f Fix WARNING keystoneclient.middleware.auth_token is deprecated
* update api-paste.ini

Change-Id: I4c7ef9bc891ba7e36ceeb7590a825df7efed89f9
Closes-Bug: #1365694
2014-09-29 10:09:58 -05:00
chenxiao 5641af2512 Allow cinder authtoken settings to be configurable
This patch is for allowing cafile, insecure,
memcached_servers, memcache_security_strategy,
memcache_secret_key and hash_algorithms to be
configurable.

Change-Id: If4e75092f969bb6b5df29d715e1cff696e41a9a3
Closes-Bug: #1370906
2014-09-29 09:57:49 +08:00
Mark Vanderwiel 094e023ccc Add attribute for ibm nas stroage driver ibmnas_platform_type
* Add new ibmnas_platform_type attribute
* Fix minor bug with nas_ssh_port

Change-Id: I147fbb75cf75357f578e4f84a0d898149be9b1d0
Closes-Bug: #1370574
2014-09-23 10:12:23 -05:00
Jenkins 639961657d Merge "Add attribute for osapi_volume_workers" 2014-09-23 02:29:18 +00:00
leileiz 3b3c18ff81 Update cinder.conf permission
cinder.conf contains some secret information such as qpid password.
To prevent unauthorized users to access it, this file should be set
as 640 mode.

Fix bug 1369467
Change-Id: I12a0e6e3e492397f1282366ab38ed1e1f46997f7
2014-09-17 06:49:38 -04:00
Mark Vanderwiel 5ef8617161 Add attribute for osapi_volume_workers
Change-Id: I99b7f5284a7f5eeb8cf5608937043b2b11217fec
Closes-Bug: #1368873
2014-09-12 12:19:08 -05:00
Mark Vanderwiel e84947717a Move keystone authtoken keys into cinder.conf
* Remove the keystone keys from api-paste.ini template
* Add the keystone keys to cinder.conf template
* update specs

Change-Id: I5cff962fe200cc1b63352b5e3491f7afed9897f7
Closes-Bug: #1359864
2014-08-25 09:54:35 -05:00
Jan Klare 8951fd1b83 Updated berkshelf to 3.1.5
Updated berkshelf from 2.0.18 to 3.1.5 in Gemfile and added supermarket
source to Berksfile

Change-Id: I76a16fb6fb9fd4743027fb22403eacbda09647ce
Implements: blueprint update-berkshelf
2014-08-18 09:58:33 +02:00
Mark Vanderwiel cfcfccc01e Update cinder conf files for Juno
* Update api-paste with request-id

Change-Id: Ic4f56f19e2d85cadaa4566323409ca093d435f6a
Closes-Bug: #1352974
2014-08-05 10:56:50 -05:00
Mark Vanderwiel 12d0e9826a Setting up repo for master Juno Branch
* Update metadata version
* Removing Strainer file
* Adding Gemfile.lock to .gitignore
* Updating Gems
  * chef (11.12.0)
  * chefspec (4.0.0)
  * rspec (3.0.0)

Change-Id: I8b6858e811cc42ea53ec81ee4e3e70c65d4d444e
Partial-Bug: 1349865
2014-07-29 15:38:49 -05:00
Jenkins 45039e284c Merge "Allow create volume group with block devices for lvm" 2014-07-21 10:32:12 +00:00
Mark Vanderwiel a4e0000fab Fix fauxhai platform versions for suse and redhat
Change-Id: If4c74214bc64c6fc60e13dc7036efb6408974c87
Partial-Bug: #1344199
2014-07-18 12:38:10 -05:00
Mark Vanderwiel 84e52038f8 Allow create volume group with block devices for lvm
Add new attribute, create_colume_group_type to allow
either create simple test volume based upon a file
(as existing support does),
or create volume group based upon block devices.

Change-Id: Ia81354f9fab9310c1b5e633d4ca05e434f9c2da6
Closes-Bug: #1321336
2014-07-11 15:33:45 -05:00
Jan Klare f890e9eceb added rootwrap.conf template like in cookbook-openstack-compute
Change-Id: I86b9ddab78edf0eb31f2cd82d77d49aa930d7163
2014-07-10 08:51:14 +02:00
Mark Vanderwiel ff47560ac4 Update Gemfile and remove lock
berkshelf 2.0.18 needed for Supermarket
Gem lock file not useful in master branch

Change-Id: I24ab284ff012b5baa447d28eb2d1e4a41203a486
2014-07-09 09:36:10 -05:00
Ionuț Arțăriși 8fde9630ae use new python_packages attributes from -common
*_python_packages attributes are being moved to -common in order to
remove the duplication from all the cookbooks which are using them

Change-Id: I60798fb39f6167eafd0cc483dca9bb930a236946
Implements: blueprint move-python-db-client-attrs-to-common
2014-07-02 14:32:41 +02:00
Yi Ming Yin a7bd7eb0ed Add multiple backends support for cinder conf
This implementation allows users to configure multiple backends for
cinder volume. By providing a hash map for different volume driver
sections, cinder.conf can be configured to support multiple backends.

Change-Id: Idec6691168c6a67f1a11f7174a8a97ffb950d7b8
Implements: blueprint cinder-multi-backend-conf
2014-06-12 13:56:18 +08:00
Mark Vanderwiel c16faa418a Fix default value for storwize_svc_vol_rsize
The default for storwize_svc_vol_rsize is '2%', should be just 2.

Change-Id: Ief51ad89bceaee043279e03b57c09c2b3f59d0af
Closes-Bug: #1320647
2014-05-28 12:57:18 -05:00
shuozhang 8b2ee6face Add support for misc options in cinder.conf
Add misc_cinder in cinder.conf like misc_nova.
Add test
Closes-Bug: #1314105
Change-Id: Ia23809e33dd1b64e276d373ce87355dbecf857e9
2014-05-22 15:16:49 +08:00
Bill Owen 860a4ea53a Publish correct gpfs attributes to cinder.conf
Three extra attributes were being published to cinder.conf when volume_driver
was set to gpfs.  This patch corrects this problem.

Closes-Bug: #1320372
Change-Id: I4e1290aeac92c56beaad0ebd0941afaf249469e2
2014-05-19 09:31:44 -07:00
gengjh 409d883b0f Get the vCenter password from databag for cinder
1. Add new attribute openstack_vmware_secret_name to indicate the
databag secret key
2. Get the password from databag if dev mode is false
3. Update the test cases

Implements: blueprint vmware-password-databag

Change-Id: Id6872d38c255067a4991aceaa0bf6fb400cce1c8
2014-05-09 22:19:09 +08:00
Mark Vanderwiel 23754b4c06 Allow packages to be updatable
In order for package updates to occur, package resources need to use
the upgrade action.  This is first phase of blueprint, to get some
consistency, next phase is to allow some update control.

Change-Id: Ibf9aeea1a814383c298e432286c45a433ff257ed
Implements: blueprint allow-package-updates
2014-05-05 10:35:49 -05:00
Mark Vanderwiel e5beee63c1 Remove policy json file
Remove the policy.json template, as they contain no templated variables.
This would allow use of the policy.json files provided via the package,
and decrease the need to sync them with upstream

Change-Id: I4b76b948b6a08502f15c5289f5c0503d24382006
Implements: blueprint remove-policy-templates
2014-04-17 13:18:30 -05:00
Chen Zhiwei f088dab88b Fix the depends cookbook version issue in metadata.rb
The depends condition should be ether of below:
depends 'cookbook-name', '>=x.y.z'
depends 'cookbook-name', '~>x.y'

Closes-bug: 1300524
Change-Id: I6e4d009b92161dc0746586af1da043bf85e38c15
2014-04-02 09:11:47 -04:00
Mark Vanderwiel 7db40c3e34 Icehouse branch version updates
Change-Id: I2a70ac3e864abbfe2dc0a5abfad65af35b33892b
2014-03-27 12:47:28 -05:00
Luis A. Garcia d6e50c9952 Generalize control_exchange attribute
The control exchange attribute was placed under 'rabbit' but it is
actually a property for 'qpid' too so moved it out at the same level as
the related 'rpc_backend'. Also moved it closer to rpc_backend in the
template.

Documented both attributes.

Change-Id: Iade5a48abbb865cf3a21c9beb8e6cc7783517fb0
2014-03-24 17:25:48 +00:00
Chen Zhiwei 5a66435826 Fix DB2 ODBC driver installation issue
There is an LWRP in db2 cookbook to install ODBC driver,
so need to move this driver installation to db2 cookbook.

Change-Id: I8916c11db99e0e57d36a44d48d9d0c39fd5e44a2
Closes-bug: 1294376
2014-03-20 23:24:46 -04:00
ericzhou d316106989 Use the library method auth_uri_transform.
Use the library method auth_uri_transform to transform the auth uri
by the auth version.

Change-Id: Ifd3a45dbe76f20e5ab142894e4c0267e0cbda936
Implements: blueprint move-keystone-authtoken-move-auth-uri-logic
2014-03-20 14:37:00 +08:00
Chen Zhiwei 6ef026325c Rename openstack-metering to openstack-telemetry
update cookbook attribute name, change metering to telemetry

Change-Id: Idd9ca5fdf660a0fb98d7ae532dc29371aad7ef23
2014-03-13 02:56:15 -04:00