Difference between revisions of "OpenStack Cinder"
From OSNEXUS Online Documentation Site
m |
m |
||
Line 7: | Line 7: | ||
<br> | <br> | ||
+ | |||
+ | Before running ./stack.sh make sure to add these to your devstack/local.conf file (replace with values for your QuantaStor) | ||
<br> | <br> | ||
+ | |||
+ | [[post-config|$CINDER_CONF]] | ||
+ | [DEFAULT] | ||
+ | volume_driver=cinder.volume.drivers.QuantaStor.QuantaStorDriver | ||
+ | qs_ip=192.168.0.101 | ||
+ | qs_pool_id=fdb0f5c5-834a-1220-96a1-9a5d3f6664a9 | ||
+ | qs_user = admin | ||
+ | qs_password = password | ||
+ | |||
+ | |||
+ | These two lines need to be added to the /opt/stack/cinder/cinder/volume/manager.py file: | ||
+ | |||
+ | 'cinder.volume.drivers.QuantaStor.QuantaStorDriver': | ||
+ | 'cinder.volume.drivers.QuantaStor.QuantaStorDriver', | ||
+ | |||
+ | For me it is right after line 96. It is in the "MAPPING = {" section with all the other drivers. | ||
=== Things to Note === | === Things to Note === |
Revision as of 12:00, 10 June 2014
Setup
All of our testing has been done in a DevStack environment.
Here is a link to their website / setup instructions:
Before running ./stack.sh make sure to add these to your devstack/local.conf file (replace with values for your QuantaStor)
$CINDER_CONF [DEFAULT] volume_driver=cinder.volume.drivers.QuantaStor.QuantaStorDriver qs_ip=192.168.0.101 qs_pool_id=fdb0f5c5-834a-1220-96a1-9a5d3f6664a9 qs_user = admin qs_password = password
These two lines need to be added to the /opt/stack/cinder/cinder/volume/manager.py file:
'cinder.volume.drivers.QuantaStor.QuantaStorDriver': 'cinder.volume.drivers.QuantaStor.QuantaStorDriver',
For me it is right after line 96. It is in the "MAPPING = {" section with all the other drivers.
Things to Note
- Make sure that you run the setup with a non root user
- This user needs to have password-less sudo privileges
- DevStack runs a bunch of sessions in screens