Can we have attribute like misc_nova in cinder?

Bug #1314105 reported by shuo zhang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Low
shuo zhang

Bug Description

I am going to set these attributes in cinder.conf:
storwize_svc_volpool_name, storwize_svc_vol_iogrp, storwize_svc_connection_protocol
But since I am using another volume-driver different from the ones conditioned in cinder.conf.erb, I cannot set these attributes.

So, can we add some attribute like misc_cinder to let me set these attributes?
Or I have to change the cinder.conf.erb to add our driver to it. Can you accept it?

------------------------------------------------------------------------------------------------------------
openstack-block-storage/templates/default/cinder.conf.erb

add:

<% if node["openstack"]["block-storage"]["volume"]["driver"] == "cinder.volume.drivers.zvm.storwize_svc.StorwizeSVCZVMDriver" %>
######## defined in cinder.volume.zvm.storwize_svc ########

storwize_svc_volpool_name=<%= node["openstack"]["block-storage"]["storwize"]["storwize_svc_volpool_name"] %>
#### (StrOpt) Storage system storage pool for volumes

# The I/O group in which to allocate volumes (integer value)
storwize_svc_vol_iogrp=<%= node["openstack"]["block-storage"]["storwize"]["storwize_svc_vol_iogrp"] %>

# Connection protocol (iSCSI/FC) (string value)
storwize_svc_connection_protocol=<%= node["openstack"]["block-storage"]["storwize"]["storwize_svc_connection_protocol"] %>
<% end %>

Changed in openstack-chef:
assignee: nobody → shuo zhang (shuozhang)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-block-storage (master)

Reviewed: https://review.openstack.org/94533
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-block-storage/commit/?id=8b2ee6facee0cbe18870ac9a7f41da6093fc23dc
Submitter: Jenkins
Branch: master

commit 8b2ee6facee0cbe18870ac9a7f41da6093fc23dc
Author: shuozhang <email address hidden>
Date: Wed May 21 11:20:29 2014 +0800

    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

Changed in openstack-chef:
status: In Progress → Fix Released
Changed in openstack-chef:
milestone: none → icehouse-rc1
Changed in openstack-chef:
milestone: icehouse-rc1 → icehouse-stable
Changed in openstack-chef:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.