Update to Plugin for Fuel 7.0 and OpenStack Kilo.
Change-Id: I8dfeaa6bdd9d929d7c920962971e93153fee79d0
This commit is contained in:
parent
9077062534
commit
4970727cea
|
@ -1,4 +1,4 @@
|
|||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=stackforge/fuel-plugin-solidfire-cinder.git
|
||||
project=openstack/fuel-plugin-solidfire-cinder.git
|
||||
|
|
|
@ -40,14 +40,19 @@ class plugin_solidfire_cinder::controller (
|
|||
}
|
||||
|
||||
cinder::backend::solidfire { $section :
|
||||
san_ip => $plugin_settings['solidfire_mvip'],
|
||||
san_login => $plugin_settings['solidfire_admin_login'],
|
||||
san_password => $plugin_settings['solidfire_admin_password'],
|
||||
volume_backend_name => $section,
|
||||
sf_emulate_512 => $plugin_settings['solidfire_emulate_512'],
|
||||
sf_api_port => $plugin_settings['solidfire_api_port'],
|
||||
# due to a non-update of the puppet modules in version 6.1 of fuel we need to set this
|
||||
volume_driver => 'cinder.volume.drivers.solidfire.SolidFireDriver'
|
||||
san_ip => $plugin_settings['solidfire_mvip'],
|
||||
san_login => $plugin_settings['solidfire_admin_login'],
|
||||
san_password => $plugin_settings['solidfire_admin_password'],
|
||||
volume_backend_name => $section,
|
||||
sf_emulate_512 => $plugin_settings['solidfire_emulate_512'],
|
||||
sf_api_port => $plugin_settings['solidfire_api_port'],
|
||||
sf_account_prefix => $plugin_settings['solidfire_account_prefix'],
|
||||
extra_options => { "$section/sf_allow_template_caching" =>
|
||||
{ value => $plugin_settings['solidfire_allow_template_caching'] },
|
||||
"$section/sf_template_account_name" =>
|
||||
{ value => $plugin_settings['solidfire_template_account'] },
|
||||
"$section/host" => { value => $section }
|
||||
},
|
||||
}
|
||||
|
||||
Cinder_config<||>~> Service[cinder_volume]
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 166 KiB |
Binary file not shown.
Before Width: | Height: | Size: 85 KiB |
|
@ -1,5 +1,5 @@
|
|||
************************************************************
|
||||
Guide to the SolidFire Cinder Plugin version 1.0.1 for Fuel
|
||||
Guide to the SolidFire Cinder Plugin version 1.1.0 for Fuel
|
||||
************************************************************
|
||||
|
||||
This document provides instructions for installing, configuring and using
|
||||
|
@ -30,6 +30,10 @@ to insert the necessary lines into the cinder.conf file. The plugin
|
|||
extends the Fuel GUI to provide the necessary entry locations for the
|
||||
information for the configuration file.
|
||||
|
||||
Please see the
|
||||
`SolidFire OpenStack Configuration Guide <http://www.solidfire.com/solutions/cloud-orchestration/openstack/>`_
|
||||
for complete details.
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
|
@ -46,7 +50,7 @@ Requirements
|
|||
======================= ==================
|
||||
Requirement Version/Comment
|
||||
======================= ==================
|
||||
Fuel 6.1
|
||||
Fuel 7.0
|
||||
|
||||
============================================
|
||||
|
||||
|
@ -86,40 +90,67 @@ SolidFire Cinder plugin installation
|
|||
|
||||
::
|
||||
|
||||
scp fuel-plugin-solidfire-cinder-1.0-1.0.1-1.noarch.rpm root@:<the_Fuel_Master_node_IP>:/tmp
|
||||
scp fuel-plugin-solidfire-cinder-1.1-1.1.0-1.noarch.rpm \
|
||||
root@:<the_Fuel_Master_node_IP>:/tmp
|
||||
|
||||
#. Log into the Fuel Master node and install the plugin:
|
||||
|
||||
::
|
||||
|
||||
cd /tmp
|
||||
fuel plugins --install /tmp/fuel-plugin-solidfire-cinder-1.0-1.0.1-1.noarch.rpm
|
||||
fuel plugins --install /tmp/fuel-plugin-solidfire-cinder-1.1-1.1.0-1.noarch.rpm
|
||||
|
||||
Solidfire Cinder plugin configuration
|
||||
SolidFire Cinder plugin configuration
|
||||
-------------------------------------
|
||||
|
||||
#. After plugin is installed, create a new OpenStack environment following
|
||||
`the instructions <https://docs.mirantis.com/openstack/fuel/fuel-6.1/user-guide.html#create-a-new-openstack-environment>`_.
|
||||
`the instructions <https://docs.mirantis.com/openstack/fuel/fuel-7.0/user-guide.html#create-a-new-openstack-environment>`_.
|
||||
|
||||
#. Configure your environment following
|
||||
`the official Mirantis OpenStack documentation <https://docs.mirantis.com/openstack/fuel/fuel-6.1/user-guide.html#configure-your-environment>`_
|
||||
`the official Mirantis OpenStack documentation <https://docs.mirantis.com/openstack/fuel/fuel-7.0/user-guide.html#configure-your-environment>`_.
|
||||
|
||||
#. Open the *Settings tab* of the Fuel web UI and scroll down the page. Select the
|
||||
Fuel plugin checkbox to enable SolidFire Cinder plugin for Fuel:
|
||||
#. Open the *Settings tab* of the Fuel web UI and scroll down the page and select
|
||||
'Fuel plugin to enable SolidFire driver in Cinder.' on the left.
|
||||
|
||||
.. image:: figures/cinder-solidfire-plugin.png
|
||||
#. Select the Fuel plugin checkbox to enable SolidFire Cinder plugin for Fuel:
|
||||
|
||||
.. image:: figures/cinder-solidfire-plugin-1.1.0.png
|
||||
:width: 100%
|
||||
|
||||
#. If you would like the SolidFire configuration in the 'default' section of the configuation file
|
||||
(not recommended) uncheck the 'Multibackend Enabled' box.
|
||||
#. The default configuration is that the SolidFire configuration stanza is a self contained stanza
|
||||
within the Cinder config file. In addition the enabled_backends directive is placed in the 'default'
|
||||
section to enable the SolidFire Stanza. This option allows for multiple backends to be configured and
|
||||
configures Cinder to place the proper routing information into the database.
|
||||
|
||||
#. If you would like the SolidFire configuration in the 'default' section of the configuration file
|
||||
(not recommended) uncheck the 'Multibackend Enabled' box. In this case, Cinder does not place routing
|
||||
information in the database, and if in the future multibackends are required, all rows in the database
|
||||
need to have routing information added using the cinder-manage tool.
|
||||
|
||||
#. Enter the Cluster Admin account information (account and password) and the IP address
|
||||
of the Management Virtual IP (MVIP) of the SolidFire Cluster.
|
||||
|
||||
#. Select the defaults for all other SolidFire options.
|
||||
#. It is recommended to select the defaults for all other SolidFire options, but explanations
|
||||
of each field are below.
|
||||
|
||||
#. 'Cluster endpoint port' defines the port number to communicate with the SolidFire API on. Generally
|
||||
this is not changed unless a HTTPs proxy is used or the port is otherwise changed.
|
||||
|
||||
#. 'Enable Caching' and 'Template Account' allow the SolidFire cluster to cache Glance images on the
|
||||
SolidFire cluster for all tenants. The template account will be automatically created on the SolidFire
|
||||
cluster and the cached images will be contained within this account. The account will be prefixed with
|
||||
the 'SF account prefix' if defined.
|
||||
|
||||
#. 'Emulate 512 block size' will cause the driver to create volumes with 512 byte blocks enabled. Otherwise
|
||||
4096 byte blocksize will be used.
|
||||
|
||||
#. 'SF account prefix' will prefix all accounts on the SolidFire cluster with the defined prefix. The
|
||||
prefix is useful (but not required) when multiple OpenStack instances access the same SolidFire cluster
|
||||
such that each instance can quickly identify accounts that belong to that instance. NOTE: Accounts
|
||||
on SolidFire are named using the Project/Tenant ID, optionally prefixed as defined here.
|
||||
|
||||
#. Once configuration is done, you can run
|
||||
`network verification <https://docs.mirantis.com/openstack/fuel/fuel-6.1/user-guide.html#verify-networks>`_ check and `deploy the environment <https://docs.mirantis.com/openstack/fuel/fuel-6.1/user-guide.html#deploy-changes>`_.
|
||||
`network verification <https://docs.mirantis.com/openstack/fuel/fuel-7.0/user-guide.html#verify-networks>`_ check and `deploy the environment <https://docs.mirantis.com/openstack/fuel/fuel-7.0/user-guide.html#deploy-changes>`_.
|
||||
|
||||
|
||||
User Guide
|
||||
|
@ -134,10 +165,11 @@ cinder-volume process log file with the 'SolidFire' title.
|
|||
Known issues
|
||||
============
|
||||
|
||||
There are no known issues at this time.
|
||||
Due to Fuels lack of support for multiple cinder backends, only a single storage vendor backend may be automatically
|
||||
configure within Fuel at this time. If you need to support multiple vendors, hand editing of the cinder.conf is required.
|
||||
|
||||
Appendix
|
||||
========
|
||||
|
||||
`The SolidFire driver documentation <http://docs.openstack.org/juno/config-reference/content/solidfire-volume-driver.html>`_
|
||||
`The SolidFire driver documentation <http://docs.openstack.org/kilo/config-reference/content/solidfire-volume-driver.html>`_
|
||||
contains complete information on all SolidFire driver options.
|
||||
|
|
|
@ -32,6 +32,18 @@ attributes:
|
|||
description: 'The TCP port to use for API communication with the cluster or proxy server.'
|
||||
weight: 50
|
||||
type: "text"
|
||||
solidfire_allow_template_caching:
|
||||
value: true
|
||||
label: 'Enable Caching'
|
||||
description: 'When creating bootable volumes, create an image cache on the SolidFire cluster.'
|
||||
weight: 51
|
||||
type: "checkbox"
|
||||
solidfire_template_account:
|
||||
value: 'openstack-vtemplate'
|
||||
label: 'Template Account'
|
||||
description: 'SolidFire account to use to hold the template cache.'
|
||||
weight: 52
|
||||
type: "text"
|
||||
solidfire_emulate_512:
|
||||
value: "true"
|
||||
values:
|
||||
|
@ -45,3 +57,9 @@ attributes:
|
|||
description: 'Enable/Disable 512 byte block size emulation (typically left enabled).'
|
||||
weight: 60
|
||||
type: "radio"
|
||||
solidfire_account_prefix:
|
||||
value: ''
|
||||
label: 'SF account prefix'
|
||||
description: 'Prefix to use for all SolidFire accounts related to this OpenStack.'
|
||||
weight: 70
|
||||
type: "text"
|
||||
|
|
|
@ -1,24 +1,19 @@
|
|||
name: fuel-plugin-solidfire-cinder
|
||||
title: Fuel plugin to enable SolidFire driver in Cinder
|
||||
version: '1.0.1'
|
||||
version: '1.1.0'
|
||||
description: Enables the SolidFire driver in Cinder
|
||||
fuel_version: ['6.1']
|
||||
fuel_version: ['7.0']
|
||||
licenses: ['Apache License Version 2.0']
|
||||
authors: ['John Griffith <john.griffith@solidfire.com>', 'Ed Balduf <ed.balduf@solidfire.com>']
|
||||
authors: [ 'Ed Balduf <ed.balduf@solidfire.com>', 'John Griffith <john.griffith@solidfire.com>']
|
||||
homepage: 'https://github.com/stackforge/fuel-plugin-solidfire-cinder'
|
||||
groups: ['storage::cinder']
|
||||
|
||||
releases:
|
||||
- os: ubuntu
|
||||
version: 2014.2-6.1
|
||||
version: 2015.1-7.0
|
||||
mode: ['ha', 'multinode']
|
||||
deployment_scripts_path: deployment_scripts/
|
||||
repository_path: repositories/ubuntu
|
||||
- os: centos
|
||||
version: 2014.2-6.1
|
||||
mode: ['ha', 'multinode']
|
||||
deployment_scripts_path: deployment_scripts/
|
||||
repository_path: repositories/centos
|
||||
|
||||
# Version of plugin package
|
||||
package_version: '2.0.0'
|
||||
|
|
Loading…
Reference in New Issue