fuel-plugin-solidfire-cinder/docs/solidfire-cinder-guide.rst

10 KiB

Guide to the SolidFire Cinder Plugin version 01.001.1 for Fuel 7.x

This document provides instructions for installing, configuring and using SolidFire Cinder plugin for Fuel.

Key terms, acronyms and abbreviations

MVIP

Management Virtual IP (MVIP) is the IP address (or hostname) of the management interface to the SolidFire cluster

Cluster Admin account

The Cluster Admin account on a SolidFire cluster is the account by which you administer the SolidFire cluster.

SolidFire accounts

SolidFire accounts are automatically created by the SolidFire OpenStack driver as needed based on the Project ID. These accounts manage the CHAP authentication for the volumes allocated by that project. No configuration is needed for these accounts.

SolidFire Cinder

The SolidFire Cinder Fuel plugin provides an automated method 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 for complete details.

License

Component License type

No Components are present

Requirements

Requirement Version/Comment

Fuel

7.0

Prerequisites

  • The SolidFire cluster should be configured and on the network prior to starting Cinder with the SolidFire configuration in place.
  • Cinder relies on the open-iscsi package to preform many functions such as image to volume. This plugin requires (and installs) the open-iscsi package, so it must be avaliable in one of the repositories avaliable Fuel.
  • See the Mirantis, SolidFire joint reference architecture.

Limitations

  • Fuel does not support multiple storage backends in Cinder, therefore the SolidFire Cinder Fuel plugin also does not support multiple backends.
  • The SolidFire Cinder Fuel plugin does however provide the ability to create a configuration file stanza such that when multi-backend support is added to Fuel the stanza is correct. By selecting the checkbox (selected by default) 'Multibackend Enabled' the stanza is added and the enabled_backends line is added to the 'default' section of the configuration file.

Installation Guide

SolidFire Cinder plugin installation

  1. Download the plugin from Fuel Plugins Catalog.

  2. Copy the plugin to an already installed Fuel Master node. If you do not have the Fuel Master node yet, follow the instructions from the official Mirantis OpenStack documentation:

    # scp fuel-plugin-solidfire-cinder-1.1-1.1.1-1.noarch.rpm \
        root@:<the_Fuel_Master_node_IP>:/tmp
  3. Log into the Fuel Master node and install the plugin:

    # cd /tmp
    # fuel plugins --install /tmp/fuel-plugin-solidfire-cinder-1.1-1.1.1-1.noarch.rpm
    DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify
    the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
    Loaded plugins: fastestmirror, priorities
    Setting up Install Process
    Examining /tmp/fuel-plugin-solidfire-cinder-1.1-1.1.0-1.noarch.rpm:
    fuel-plugin-solidfire-cinder-1.1-1.1.0-1.noarch
    Marking /tmp/fuel-plugin-solidfire-cinder-1.1-1.1.0-1.noarch.rpm to be
    installed
    Loading mirror speeds from cached hostfile
    7.0_auxiliary
    | 2.9 kB     00:00 ...
    mos7.0-security
    | 2.9 kB     00:00
    mos7.0-security/primary_db
    | 1.1 kB     00:00
    mos7.0-updates
    | 2.9 kB     00:00
    mos7.0-updates/primary_db
    | 1.1 kB     00:00
    nailgun
    | 3.9 kB     00:00 ...
    Resolving Dependencies
    --> Running transaction check
    ---> Package fuel-plugin-solidfire-cinder-1.1.noarch 0:1.1.0-1 will be
    installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ========================================================================================================================================================================================
     Package                                              Arch
    Version                     Repository
    Size
    ========================================================================================================================================================================================
    Installing:
     fuel-plugin-solidfire-cinder-1.1                     noarch
    1.1.0-1                     /fuel-plugin-solidfire-cinder-1.1-1.1.0-1.noarch
    202 k
    
    Transaction Summary
    ========================================================================================================================================================================================
    Install       1 Package(s)
    
    Total size: 202 k
    Installed size: 202 k
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing : fuel-plugin-solidfire-cinder-1.1-1.1.0-1.noarch
    1/1
      Verifying  : fuel-plugin-solidfire-cinder-1.1-1.1.0-1.noarch
    1/1
    
    Installed:
      fuel-plugin-solidfire-cinder-1.1.noarch 0:1.1.0-1

SolidFire Cinder plugin configuration

  1. After plugin is installed, create a new OpenStack environment following the instructions.

  2. Configure your environment following the official Mirantis OpenStack documentation.

  3. 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.

  4. Select the Fuel plugin checkbox to enable SolidFire Cinder plugin for Fuel:

    image

  5. 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.

  6. 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.

  7. Enter the Cluster Admin account information (account and password) and the IP address of the Management Virtual IP (MVIP) of the SolidFire Cluster.

  8. It is recommended to select the defaults for all other SolidFire options, but explanations of each field are below.

  9. '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.

  10. '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.

  11. 'Emulate 512 block size' will cause the driver to create volumes with 512 byte blocks enabled. Otherwise 4096 byte blocksize will be used.

  12. '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.

  13. Once configuration is done, you can run network verification check and deploy the environment.

User Guide

Once the OpenStack instance is deployed by Fuel, the SolidFire plugin provides no user configurable or maintainable options.

The SolidFire driver (once configured by Fuel) will output all logs into the cinder-volume process log file with the 'solidfire' title.

Known issues

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.

Release Notes

  • Version 1.0.1 supports Fuel 6.x.
  • Version 1.1.0 supports Fuel 7.x.
  • Version 01.001.1 adds automated install of the open-iscsi package which is required by SolidFire, but not installed by Fuel if Ceph is selected in the starting wizzard. Supports Fuel 7.x.

Troubleshooting

All SolidFire messages are output into the Cinder-volume log file. Search for 'solidfire'.

Appendix

The SolidFire driver documentation contains complete information on all SolidFire driver options.