Retire repository

Fuel repositories are all retired in openstack namespace, retire
remaining fuel repos in x namespace since they are unused now.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011675.html

A related change is: https://review.opendev.org/699752 .

Change-Id: Iab49b7a6279b7c06c720728f0a0301f0692cff88
This commit is contained in:
Andreas Jaeger 2019-12-18 19:32:51 +01:00
parent 5b7ac6e01c
commit 519f8eac0a
48 changed files with 10 additions and 3027 deletions

202
LICENSE
View File

@ -1,202 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -1,52 +0,0 @@
Cinder Kaminario plugin for Fuel
=============================
Overview
--------
The plugin configures Kaminario backend for Cinder using multibackend feature.
The plugin support Kaminario K2 All-Flash arrays.
This repo contains all necessary files to build Cinder Kaminario Fuel plugin.
Requirements
------------
| Requirement | Version/Comment |
|------------------------------------------------------------------------------------------|------------------------------------------------------------------------|
| Mirantis Openstack compatibility | 9.0 |
| Kaminario K2 All-Flash array is reachable via one of the Mirantis OpenStack networks | |
How to build plugin:
- Install fuel plugin builder (fpb)
- Clone plugin repo
```markdown
# git clone https://github.com/openstack/fuel-plugin-cinder-kaminario.git
```
- Build fuel plugin
```markdown
# cd fuel-plugin-cinder-kaminario/
# fpb --build .
```
- Install the plugin
```markdown
# fuel plugins --install cinder_kaminario-1.0-1.0.0-1.noarch.rpm
```
- Verify that the plugin is installed correctly
```markdown
# fuel plugins
```
| id | name | version | package_version |
| ---|------------------------------------------------|---------|---------------- |
| 1 | cinder_kaminario-1.0-1.0.0-1.noarch.rpm | 1.0.0 | 4.0.0 |

10
README.rst Normal file
View File

@ -0,0 +1,10 @@
This project is no longer maintained.
The contents of this repository are still available in the Git
source code management system. To see the contents of this
repository before it reached its end of life, please check out the
previous commit with "git checkout HEAD^1".
For any further questions, please email
openstack-discuss@lists.openstack.org or join #openstack-dev on
Freenode.

View File

@ -1,15 +0,0 @@
- name: 'storage:block:backend:kaminario'
label: 'Kaminario'
description: 'Use Kaminario K2 as backend for Cinder volumes'
compatible:
- name: storage:block:lvm
- name: storage:block:ceph
- name: storage:object:ceph
- name: storage:ephemeral:ceph
- name: storage:image:ceph
- name: hypervisor:qemu
- name: network:neutron:core:ml2
- name: network:neutron:ml2:vlan
- name: network:neutron:ml2:tun
incompatible:
- name: hypervisor:vmware

View File

@ -1 +0,0 @@
include kaminario::controller_config

View File

@ -1,15 +0,0 @@
notice('MODULAR: cinder_kaminario')
class { 'kaminario::krest': }->
class { 'kaminario::driver': }->
class { 'kaminario::config': } ~> Service['cinder_volume']
service { 'cinder_volume':
ensure => running,
name => cinder-volume,
enable => true,
hasstatus => true,
hasrestart => true,
}

View File

@ -1 +0,0 @@
include multipath

View File

@ -1 +0,0 @@
include kaminario::type

View File

@ -1,3 +0,0 @@
grep -q -F 'Kaminario' /usr/lib/python2.7/dist-packages/cinder/exception.py || \
sudo sed -i '$a \ \ \n\nclass KaminarioCinderDriverException(VolumeDriverException):\n\ \message = _("KaminarioCinderDriver failure: %(reason)s")\n\n\nclass KaminarioRetryableException(VolumeDriverException):\n\ \message = _("Kaminario retryable exception: %(reason)s")' \
/usr/lib/python2.7/dist-packages/cinder/exception.py

View File

@ -1,18 +0,0 @@
require 'hiera'
require 'facter'
Facter.add("default_volume_type") do
hiera = Hiera.new(:config => '/etc/hiera.yaml')
cinder_kaminario=hiera.lookup('cinder_kaminario', {}, {},'nil')
5.times do |i|
default_type = "default_type_" + i.to_s
type_name = "type_name_" + i.to_s
if cinder_kaminario[default_type] == true
default_type = cinder_kaminario[type_name]
setcode do
default_type
end
break
end
end
end

View File

@ -1,11 +0,0 @@
module Puppet::Parser::Functions
newfunction(:get_replication_device, :type => :rvalue) do |args|
ip = args[0].to_s
login = args[1]
password = args[2]
rpo = args[3]
replication_device = 'backend_id' + ':' + ip + "," + 'login' + ':' + login + "," + 'password' + ':' + password + "," + 'rpo' + ':' + rpo
return replication_device
end
end

View File

@ -1,9 +0,0 @@
module Puppet::Parser::Functions
newfunction(:section_name, :type => :rvalue) do |args|
ip = args[0]
str = args[1]
sec_name = str + '_' + ip
return sec_name
end
end

View File

@ -1,40 +0,0 @@
class kaminario::controller_config{
$config_file='/etc/cinder/cinder.conf'
$plugin_settings = hiera('cinder_kaminario')
if ($plugin_settings['filter_function_0'] != '') or ($plugin_settings['filter_function_1'] != '') or ($plugin_settings['filter_function_2'] != '') or ($plugin_settings['filter_function_3'] != '') or ($plugin_settings['filter_function_4'] != '') or ($plugin_settings['filter_function_5'] != '')
{
ini_subsetting {'scheduler_default_filters':
ensure => present,
section => 'DEFAULT',
key_val_separator => '=',
path => $config_file,
setting => 'scheduler_default_filters',
subsetting => 'DriverFilters',
subsetting_separator => ',',
}
ini_subsetting {'scheduler_default_filter':
ensure => present,
section => 'DEFAULT',
key_val_separator => '=',
path => $config_file,
setting => 'scheduler_default_filters',
subsetting => 'CapacityFilter',
subsetting_separator => ',',
}
}
cinder_config {
'DEFAULT/default_volume_type' : value => $default_volume_type
}
service { 'cinder_api':
ensure => running,
name => cinder-api,
enable => true,
hasstatus => true,
hasrestart => true,
}
Cinder_config<||> ~> Service['cinder-api']
}

View File

@ -1,35 +0,0 @@
class kaminario::driver{
$source_directory = '/tmp/openstack-cinder-driver/source/kaminario'
$target_directory = '/usr/lib/python2.7/dist-packages/cinder/volume/drivers/kaminario'
vcsrepo { '/tmp/openstack-cinder-driver':
ensure => present,
provider => git,
source => 'https://github.com/Kaminario/openstack-cinder-driver.git',
user => 'root',
revision => 'Mitaka',
}
file {$target_directory:
ensure => 'directory',
recurse => true,
source => "file:///${source_directory}",
}
file {'/usr/lib/python2.7/dist-packages/cinder/tests/unit/volume/drivers/':
ensure => 'file',
recurse => true,
source => 'file:///tmp/openstack-cinder-driver/test',
}
file { '/tmp/exception.sh':
source => 'puppet:///modules/kaminario/exception.sh',
recurse => true,
mode => '0744',
notify => Exec['modify_exception'],
}
exec { 'modify_exception':
command => '/tmp/exception.sh',
refreshonly => true,
}
}

View File

@ -1,118 +0,0 @@
class kaminario::config {
recursion { 'start':
value => 5,
}
define recursion(
$value
) {
$plugin_settings = hiera('cinder_kaminario')
config {"plugin_${value}":
add_backend => $plugin_settings["add_backend_${value}"],
cinder_node => $plugin_settings["cinder_node_${value}"],
storage_protocol => $plugin_settings["storage_protocol_${value}"],
backend_name => $plugin_settings["backend_name_${value}"],
storage_user => $plugin_settings["storage_user_${value}"],
storage_password => $plugin_settings["storage_password_${value}"],
storage_ip => $plugin_settings["storage_ip_${value}"],
enable_replication => $plugin_settings["enable_replication_${value}"],
replication_ip => $plugin_settings["replication_ip_${value}"],
replication_login => $plugin_settings["replication_login_${value}"],
replication_rpo => $plugin_settings["replication_rpo_${value}"],
replication_password => $plugin_settings["replication_password_${value}"],
enable_multipath => $plugin_settings["enable_multipath_${value}"],
suppress_logs => $plugin_settings["suppress_logs_${value}"],
filter_function => $plugin_settings["filter_function_${value}"],
oversubscription_ratio => $plugin_settings["oversubscription_ratio_${value}"],
report_discard_supported => $plugin_settings["report_discard_supported_${value}"],
num => $value
}
$minus1 = inline_template('<%= @value.to_i - 1 %>')
if $minus1 < '0' {
} else {
recursion { "value-${minus1}":
value => $minus1,
}
}
}
}
define config($add_backend,$storage_protocol,$backend_name,$storage_user,$storage_password,$storage_ip,$num,$cinder_node,$enable_replication,$replication_ip,$replication_login,$replication_rpo,$replication_password,$enable_multipath,$suppress_logs,$filter_function,$oversubscription_ratio,$report_discard_supported) {
$sec_name = section_name( $storage_ip , $backend_name )
$config_file = '/etc/cinder/cinder.conf'
if $cinder_node == hiera(user_node_name) {
if $add_backend == true {
ini_subsetting {"enable_backend_${num}":
ensure => present,
section => 'DEFAULT',
key_val_separator => '=',
path => $config_file,
setting => 'enabled_backends',
subsetting => $sec_name,
subsetting_separator => ',',
}->
cinder_config {
"${sec_name}/volume_backend_name" : value => $backend_name;
"${sec_name}/san_ip" : value => $storage_ip;
"${sec_name}/san_login" : value => $storage_user;
"${sec_name}/san_password" : value => $storage_password;
}
if $storage_protocol == 'FC'{
cinder_config {
"${sec_name}/volume_driver" : value => 'cinder.volume.drivers.kaminario.kaminario_fc.KaminarioFCDriver';
}
}
elsif $storage_protocol == 'ISCSI'{
cinder_config {
"${sec_name}/volume_driver" : value => 'cinder.volume.drivers.kaminario.kaminario_iscsi.KaminarioISCSIDriver';
}
}
if $enable_replication == true {
$replication_device = get_replication_device($replication_ip, $replication_login , $replication_password , $replication_rpo)
cinder_config {
"${sec_name}/replication_device" : value => $replication_device;
}
}
if $enable_multipath == true {
package { sg3-utils: ensure => 'installed' }
package { multipath-tools: ensure => 'installed' }
cinder_config {
"${sec_name}/use_multipath_for_image_xfer" : value => 'True';
}
}
if $suppress_logs == true {
cinder_config {
"${sec_name}/suppress_requests_ssl_warnings" : value => 'True';
}
}
if $filter_function != '' {
cinder_config {
"${sec_name}/filter_function" : value => $filter_function;
}
}
if $oversubscription_ratio == true {
cinder_config {
"${sec_name}/auto_calc_max_oversubscription_ratio" : value => 'True';
}
}
if $report_discard_supported == true {
cinder_config {
"${sec_name}/report_discard_supported" : value => 'True';
}
}
}
}
}

View File

@ -1,10 +0,0 @@
class kaminario::krest{
package { 'python-pip':
ensure => installed,}
package { 'krest':
ensure => installed,
provider => pip,
require => Package['python-pip'],}
package { 'git':
ensure => installed,}
}

View File

@ -1,58 +0,0 @@
class kaminario::type {
recursion { 'start':
value => 5,
}
define recursion(
$value
) {
$plugin_settings = hiera('cinder_kaminario')
kaminario_type {"plugin_${value}":
create_type => $plugin_settings["create_type_${value}"],
backend_name => $plugin_settings["type_backendname_${value}"],
type_enable_replication => $plugin_settings["type_enable_replication_${value}"],
enable_nodedup => $plugin_settings["enable_nodedup_${value}"],
type_name => $plugin_settings["type_name_${value}"]
}
$minus1 = inline_template('<%= @value.to_i - 1 %>')
if "${minus1}" < '0' {
} else {
recursion { "value-${minus1}":
value => $minus1,
}
}
}
}
define kaminario_type ($create_type,$backend_name,$type_name,$enable_nodedup,$type_enable_replication) {
if $create_type == true {
if ($enable_nodedup == true) and ($type_enable_replication == false) {
cinder_type {$type_name:
ensure => present,
properties => ["volume_backend_name=${backend_name}"],
}
}
if ($type_enable_replication == true) and ($enable_nodedup == false) {
cinder_type {$type_name:
ensure => present,
properties => ["volume_backend_name=${backend_name}",'kaminario:replication=enabled', 'kaminario:thin_prov_type=nodedup'],
}
}
if ($type_enable_replication == true) and ($enable_nodedup == true) {
cinder_type {$type_name:
ensure => present,
properties => ["volume_backend_name=${backend_name}",'kaminario:replication=enabled'],
}
}
if ($type_enable_replication == false) and ($enable_nodedup == false) {
cinder_type {$type_name:
ensure => present,
properties => ["volume_backend_name=${backend_name}",'kaminario:thin_prov_type=nodedup'],
}
}
}
}

View File

@ -1,31 +0,0 @@
class multipath {
$plugin_settings = hiera('cinder_kaminario')
$multi_0 = $plugin_settings["enable_multipath_0"]
$multi_1 = $plugin_settings["enable_multipath_1"]
$multi_2 = $plugin_settings["enable_multipath_2"]
$multi_3 = $plugin_settings["enable_multipath_3"]
$multi_4 = $plugin_settings["enable_multipath_4"]
$multi_5 = $plugin_settings["enable_multipath_5"]
include ::nova::params
if ( $multi_0 == true) or ($multi_1 == true) or ($multi_2 == true) or ($multi_3 == true) or ($multi_4 == true) or ($multi_5 == true) {
package { sg3-utils: ensure => 'installed' }
package { multipath-tools: ensure => 'installed' }
nova_config {
'libvirt/iscsi_use_multipath' : value => True,
}
service { 'nova_compute':
ensure => running,
name => $::nova::params::compute_service_name,
enable => true,
hasstatus => true,
hasrestart => true,
}
Nova_config<||> ~> Service['nova-compute']
}
}

View File

@ -1,50 +0,0 @@
- id: kaminario_cinder
type: puppet
version: 2.1.0
groups: [cinder]
requires: [top-role-cinder]
required_for: [deploy_end]
condition:
yaql_exp: "changedAny($.cinder_kaminario,$.cinder, $.get('cinder_volume_group'), $.network_metadata.nodes.get(concat(\"node-\", $.uid)).network_roles.get('cinder/iscsi'), $.network_metadata.vips, $.debug, $.node_volumes, $.storage, $.rabbit, $.ceilometer, $.get('use_stderr'), $.get('use_syslog'), $.get('syslog_log_facility_cinder'), $.get('syslog_log_facility_ceph'), $.get('proxy_port'), $.get('kombu_compression'), $.get('use_ssl'), $.get('service_endpoint'), $.get('glance_api_servers'), $.get('amqp_hosts'), $.network_metadata.nodes.values().where(\n $.node_roles.any($.matches('controller'))).network_roles.select(\n $.get('mgmt/messaging')))\n"
parameters:
puppet_manifest: puppet/manifests/cinder_kaminario.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 360
- id: kaminario_config
type: puppet
version: 2.1.0
groups: [primary-controller,controller]
requires: [openstack-cinder]
required_for: [deploy_end]
parameters:
puppet_manifest: puppet/manifests/cinder_controller_config.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 360
- id: kaminario_types
type: puppet
version: 2.1.0
groups: [primary-controller]
requires: [openstack-cinder]
required_for: [deploy_end]
condition:
yaql_exp: "changedAny($.storage, $.cinder_kaminario)"
parameters:
puppet_manifest: puppet/manifests/cinder_type.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 360
- id: kaminario_multipath
type: puppet
version: 2.1.0
groups: [compute]
requires: [top-role-compute,enable_nova_compute_service]
required_for: [deploy_end]
condition:
yaql_exp: "changedAny($.get('cinder_kaminario').enable_multipath_0 ,$.get('cinder_kaminario').enable_multipath_1 ,$.get('cinder_kaminario').enable_multipath_2 ,$.get('cinder_kaminario').enable_multipath_3 ,$.get('cinder_kaminario').enable_multipath_4 ,$.get('cinder_kaminario').enable_multipath_5)"
parameters:
puppet_manifest: puppet/manifests/cinder_multipath.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 360

View File

@ -1,224 +0,0 @@
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
endif
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
.PHONY: help
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " applehelp to make an Apple Help Book"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " pdf to make pdf with rst2pdf"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " texinfo to make Texinfo files"
@echo " info to make Texinfo files and run them through makeinfo"
@echo " gettext to make PO message catalogs"
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " xml to make Docutils-native XML files"
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
@echo " coverage to run coverage check of the documentation (if enabled)"
.PHONY: clean
clean:
rm -rf $(BUILDDIR)/*
.PHONY: html
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
.PHONY: dirhtml
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
.PHONY: singlehtml
singlehtml:
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
.PHONY: pickle
pickle:
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."
.PHONY: json
json:
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."
.PHONY: htmlhelp
htmlhelp:
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."
.PHONY: qthelp
qthelp:
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/DetachRabbitMQpluginforFuel.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/DetachRabbitMQpluginforFuel.qhc"
.PHONY: applehelp
applehelp:
$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
@echo
@echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
@echo "N.B. You won't be able to view it unless you put it in" \
"~/Library/Documentation/Help or install it in your application" \
"bundle."
.PHONY: devhelp
devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/DetachRabbitMQpluginforFuel"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/DetachRabbitMQpluginforFuel"
@echo "# devhelp"
.PHONY: epub
epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
.PHONY: latex
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."
.PHONY: pdf
pdf:
$(SPHINXBUILD) -b pdf $(ALLSPHINXOPTS) $(BUILDDIR)/pdf
@echo
@echo "Build finished. The PDFs are in $(BUILDDIR)/pdf."
.PHONY: latexpdf
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
.PHONY: latexpdfja
latexpdfja:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through platex and dvipdfmx..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
.PHONY: text
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."
.PHONY: man
man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
.PHONY: texinfo
texinfo:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
@echo "Run \`make' in that directory to run these through makeinfo" \
"(use \`make info' here to do that automatically)."
.PHONY: info
info:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo "Running Texinfo files through makeinfo..."
make -C $(BUILDDIR)/texinfo info
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
.PHONY: gettext
gettext:
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
@echo
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
.PHONY: changes
changes:
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."
.PHONY: linkcheck
linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."
.PHONY: doctest
doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."
.PHONY: coverage
coverage:
$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
@echo "Testing of coverage in the sources finished, look at the " \
"results in $(BUILDDIR)/coverage/python.txt."
.PHONY: xml
xml:
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
@echo
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
.PHONY: pseudoxml
pseudoxml:
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
@echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."

View File

@ -1,263 +0,0 @@
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys
import os
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = []
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# The suffix of source filenames.
source_suffix = '.rst'
# The encoding of source files.
#source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = u'Kaminario cinder Plugin for Fuel'
copyright = u'2016, Kaminario.'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '1.0'
# The full version, including alpha/beta/rc tags.
release = '1.0.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = [
'metrics/*.rst',
]
# The reST default role (used for this markup: `text`) to use for all
# documents.
#default_role = None
# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True
# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True
# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
#show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
# If true, keep warnings as "system message" paragraphs in the built documents.
#keep_warnings = False
# -- Options for HTML output ----------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
#html_favicon = None
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
#html_extra_path = []
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%b %d, %Y'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}
# Additional templates that should be rendered to pages, maps page names to
# template names.
#html_additional_pages = {}
# If false, no module index is generated.
#html_domain_indices = True
# If false, no index is generated.
#html_use_index = True
# If true, the index is split into individual pages for each letter.
#html_split_index = False
# If true, links to the reST sources are added to the pages.
#html_show_sourcelink = True
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
#html_show_sphinx = True
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
#html_show_copyright = True
# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
#html_use_opensearch = ''
# This is the file name suffix for HTML files (e.g. ".xhtml").
#html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'Kaminariodoc'
# -- Options for LaTeX output ---------------------------------------------
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#'preamble': '',
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'Kaminario.tex', u'Kaminario Cinder Plugin for Fuel Documentation',
u'Kaminario.', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None
# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
#latex_use_parts = False
# If true, show page references after internal links.
#latex_show_pagerefs = False
# If true, show URL addresses after external links.
#latex_show_urls = False
# Documents to append as an appendix to all manuals.
#latex_appendices = []
# If false, no module index is generated.
#latex_domain_indices = True
# -- Options for manual page output ---------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'Kaminario Cinder', u'Kaminario Cinder Plugin for Fuel Documentation',
[u'Kaminario.'], 1)
]
# If true, show URL addresses after external links.
#man_show_urls = False
# -- Options for Texinfo output -------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'Kaminario Cinder', u'Kaminario Cinder Plugin for Fuel Documentation',
u'Kaminario.', 'Kaminario Cinder', 'One line description of project.',
'Miscellaneous'),
]
# Documents to append as an appendix to all manuals.
#texinfo_appendices = []
# If false, no module index is generated.
#texinfo_domain_indices = True
# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'
# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False
# make latex stop printing blank pages between sections
# http://stackoverflow.com/questions/5422997/sphinx-docs-remove-blank-pages-from-generated-pdfs
latex_elements = {'classoptions': ',openany,oneside', 'babel':
'\\usepackage[english]{babel}'}
#Contact GitHub API Training Shop Blog About
#©2016 GitHub, Inc. Terms Privacy Security Status Help

View File

@ -1,30 +0,0 @@
.. _overview:
Overview of the Kaminario Cinder plugin
=======================================
The Kaminario Cinder Plugin for Fuel assists in the configuration of the Kaminario Cinder driver for Kaminario K2 All-Flash array. The plugin enables configuration of one or many Kaminario K2 back-ends by installing the “krest” python library on cinder-volume node which is prerequisite for Kaminario iSCSI and FC cinder drivers.
Software prerequisites
----------------------
To use the Kaminario Cinder plugin for Fuel, verify that your environment meets the following prerequisites:
============================ ======================================
Prerequisites Version/Comment
============================ ======================================
Fuel 9.0
Kaminario K2 All Flash Array K2 rest api version should be >= 2.2.0
============================ ======================================
* The Kaminario K2 All-Flash array should be configured with data and management path to the cinder volume nodes and data path to the nova compute nodes.
* To enable replication, a replication peer must be configured.
Limitations
-----------
No limitations.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 KiB

View File

@ -1,18 +0,0 @@
.. <PLUGIN NAME> plugin for Fuel documentation master file, created by
sphinx-quickstart on Wed Feb 17 20:38:48 2016.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Guide to the <PLUGIN NAME> plugin ver. <6-digit format>
=======================================================
.. toctree::
:maxdepth: 2
description
installation
plugin_configuration
guide
troubleshooting

View File

@ -1,37 +0,0 @@
Install Kaminario Cinder Plugin For Fuel
========================================
Before you install Kaminario Cinder Plugin for Fuel ensure that you have installed and configured the Fuel Master node. Typically, you need to install a Fuel plugin before you deploy an OpenStack environment.
**To install Kaminario Cinder Plugin:**
#. Download from the `Marintis Patner Page`_.
#. Copy the plugin ``.rpm`` package to the Fuel Master node:
**Example:**
.. code-block:: console
# scp cinder_kaminario-1.0-1.0.0-1.noarch.rpm root@fuel-master:/tmp
#. Log in to Fuel Master node CLI as root.
#. Install the plugin by typing:
.. code-block:: console
# fuel plugins --install cinder_kaminario-1.0-1.0.0-1.noarch.rpm
#. Verify that the plugin is installed correctly:
.. code-block:: console
# fuel plugins
id | name | version | package_version
---|------------------------------------------------|---------|----------------
1 | cinder_kaminario-1.0-1.0.0-1.noarch.rpm | 1.0.0 | 4.0.0
.. _Marintis Patner Page: https://www.mirantis.com/partners/kaminario/

View File

@ -1,146 +0,0 @@
Plugin configuration
--------------------
**To configure Kaminario K2 Cinder plugin for Fuel:**
#. Create an OpenStack environment as described in the `Fuel User Guide <http://docs.openstack.org/developer/fuel-docs/userdocs/fuel-user-guide/create-environment.html>`_:
#. As part of the **Create New OpenStack Environment** wizard, click **Storage Backends** (fourth step in the wizard). The following screen appears:
.. image:: ./images/new_openstack_environment.png
:width: 400pt
:alt: New Openstack Environment
#. Under **Block Storage**, select the **Kaminario** checkbox.
#. Click **Next** twice to finish the OpenStack Environment setup.
.. image:: ./images/openstack_settings.png
:width: 400pt
:alt: OpenStack Settings
#. In the Fuel environment, click the **Settings** tab.
#. In the navigation pane, click **Storage** and scroll down to the **Kaminario K2 for Cinder** section.
.. image:: ./images/plugin_full_UI.png
:width: 400pt
:alt: OpenStack UI Full
#. Under **Storage Connection Types**, select **ISCSI** for Kaminario K2 iSCSI array or **Fiber Channel** for Kaminario K2 Fiber Channel array.
#. In the **Cinder Volume Node** field, enter the name of the Fuel node with Cinder role.
#. In the **Volume Backend Name** field, enter a name for the backend storage.
#. In the **K2 Management IP** field, enter the manaagement IP address for the K2 backend storage system.
#. In the **username** field, enter the username for accessing the K2 management.
#. In the **password** field, enter the password for accessing the K2 management.
#. In the **Enable Replication** checkbox, select the check box if you wish to enable replication for the K2 array. Please refer to the section `Configuring Replication`_
#. In te **Enable Multipath** checkbox, select the check box if you wish to enable the multipath option.
#. In the **Surpress SSL Warnings** checkbox, select the check box if you wish to suppress requests library SSL certificate warnings.
#. In the **Report Discard Supported** select the checkbox if you wish to enable trim/unmap.
#. In the **Filter Function** field, enter a limit on total number of volumes that will be created on the K2 array.
example: capabilities.total_volumes < 250
#. In the **Over-Subscription Ratio** checkbox, if you dont select the checkbox the system will use the default value of x20; Selecting the checkbox, calculates the reduction rate based on the existing data.
Adding a new backend
--------------------
If you want to configure multiple K2 backends, follow the steps below.
**To add a new backend:**
1. Select the **Add a New Backend** checkbox.
New fields appear for the second backend
.. image:: ./images/add_new_backend.png
:width: 400pt
:alt: Add New Backend
2. Fill in the new backend fields by repeating the steps mentioned above.
Adding a new volume type
------------------------
You can define a new volume type. Volume types will be associated with specific backends through the Volume Backend Name. For each volume type, you can specify attributes that will determine if the volume type includes deduplication and/or replication.
**The system includes the following default settings:**
* Deduplication is enabled
* Replication is disabled
.. image:: ./images/add_new_volume.png
:width: 400pt
:alt: New Volume Type
1. Select the **Add New Volume Type** checkbox.
New fields appear for configuring the new volume type.
2. In the **Volume Type Name** field, enter a user-defined and unique name for the volume type.
3. In the **Volume Backend Name** field, enter the name of the backends that will be associated with this volume type.
4. If the volume type should include replication, select the **Enable Replication** checkbox.
5. If the volume type should not include deduplication, de-select the **Enable Deduplication** checkbox.
6. If you want to make this volume type the default volume type (Cinder will use this volume type when no other volume type have been specified), select the **Default Type** checkbox.
7. To create additional volume types, select the **Add New Volume Type** checkbox and repeat the steps above.
.. _`Configuring Replication`:
Configuring Replication
-----------------------
As part of the configuration of the backend storage, you can configure replication.
.. image:: ./images/replication.png
:width: 400pt
:alt: Replication
**To configure replication:**
1. Select the **Enable Replication** checkbox.
New fields appear for configuring the replication target.
2. In the **Replication Target IP** field, enter the replication target management IP address.
3. In the **Username** field, enter the username for accessing the replication target.
4. In the **Password** field, enter the password for accessing the replication target.
5. In the **RPO** field, enter the recovery objective point in seconds. The value must be either 60 or multiples of 300 seconds.
If you have completed the configuration, click **Save Settings**.
Network Verification:
----------------------
#. In the Fuel environment, click the **Networks** tab.
#. In the navigation pane, click **Connectivity Check** and click on **Verify Networks** button to perform Connectivity Check.
.. image:: ./images/network_verification.png
:width: 400pt
:alt: Network Verification

View File

@ -1,88 +0,0 @@
Verification
============
**To verify the deployment:**
1. Log in to the controller node from the Fuel-master node:
2. Verify the status of cinder-volume service for Kaminario backend
.. code-block:: console
$ cinder service-list
.. image:: ./images/service_list.png
:width: 400pt
:alt: service_list
3. Create a volume. Verify the volume and volume group from the Kaminario K2 all-flash array dashboard.
.. code-block:: console
$ cinder create --name volume 1
.. image:: ./images/cinder_create_success.png
:width: 400pt
:alt: cinder_create_success
.. image:: ./images/iscsi_dashboard.png
:width: 400pt
:alt: iscsi_dashboard
*Note:* The volume name is **cv-<cinder-volume-id>** and volume group name is **cvg-<cinder-volume-id>**.
4. Run the OpenStack Test Framework (OSTF). From the Fuel web UI:
* Click the **Health Check** tab
* Select the **Select All** checkbox
* Click **Run Tests**.
*Note:* The Kaminario Fuel plugin verification is mainly based on the Functional tests.
Troubleshooting
===============
On failure of the verification of Kaminario Fuel plugin or any Cinder volume operations related to the Kaminario backend, check the following log files to identify the root cause of the failure:
#. **/var/log/cinder/cinder-volume.log**
#. **/var/log/cinder/cinder-api.log**
#. **/var/log/cinder/cinder-scheduler.log**
#. **/var/log/nova/nova-compute.log**
Check the status of cinder volume service for Kaminario K2 backend.
.. code-block:: console
$ cinder service-list
.. image:: ./images/cinder_service_list.png
:width: 400pt
:alt: cinder_service_list
The failures may be caused due to many causes, the following are few of them:
* Kaminario rest-api version is lower than 2.2.0.
* Kaminario K2 all-flash array version is lower than 5.8.
* Data path between the Fuel nodes (having cinder and compute role) and the Kaminario K2 all-flash array is not present or inaccessible:
.. image:: ./images/FC_HBA.png
:width: 400pt
:alt: FC_HBA
.. image:: ./images/volume_attach.png
:width: 400pt
:alt: volume_attach
.. image:: ./images/wwn_wrong.png
:width: 400pt
:alt: wwn_wrong
* Management IP of the Kaminario backend is not correct or inaccessible from the Fuel node having the Cinder role.
* Wrong credentials (username and password) used for the Kaminario backend.
* Improper configuration of the Kaminario Fuel plugin configuration options for; creating volume type and setting default volume type.
* Others.

File diff suppressed because it is too large Load Diff

View File

@ -1,34 +0,0 @@
# Plugin name
name: cinder_kaminario
# Human-readable name for your plugin
title: Kaminario K2 For Cinder
# Plugin version
version: '1.0.0'
# Description
description: Enable Kaminario K2 All-Flash Array as a Cinder backend
# Required fuel version
fuel_version: ['9.0']
# Specify license of your plugin
licenses: ['Apache License Version 2.0']
# Specify author or company name
authors: ['Kaminario']
# A link to the plugin's page
homepage: 'https://github.com/openstack/fuel-plugin-cinder-kaminario'
# Specify a group which your plugin implements, possible options:
# network, storage, storage::cinder, storage::glance, hypervisor,
# equipment
groups: ['storage::cinder']
# Change `false` to `true` if the plugin can be installed in the environment
# after the deployment.
is_hotpluggable: true
# The plugin is compatible with releases in the list
releases:
- os: ubuntu
version: mitaka-9.0
mode: ['ha']
deployment_scripts_path: deployment_scripts/
repository_path: repositories/ubuntu
# Version of plugin package
package_version: '4.0.0'

View File

@ -1,5 +0,0 @@
#!/bin/bash
# Add here any the actions which are required before plugin build
# like packages building, packages downloading from mirrors and so on.
# The script should return 0 if there were no errors.

View File

@ -1,106 +0,0 @@
Fuel Plugin for Cinder Kaminario
================================
Kaminarios K2 all-flash array leverages a unique software-defined architecture that delivers predictable performance, scalability and cost-efficient highly valued predictability for the unpredictable world of the modern datacenter.
This plugin configures multiple Cinder Kaminario backends.
Problem description
===================
Currently, Fuel does not support installing OpenStack environments that
use Kaminarios K2 all-flash array as a Cinder backend. This Fuel plugin establishes support to automatically configure the Kaminarios K2 all-flash array as a cinder backend.
Proposed change
---------------
This plugin will provide the needed Puppet manifests to, easily configure Kaminarios K2 all-flash array as a cinder backend.
Alternatives
------------
N/A - the aim is to implement a Fuel plugin.
Data model impact
-----------------
None.
REST API impact
---------------
Install the krest library in order to communicate with the Kaminarios K2 all-flash array.
Upgrade impact
--------------
This plugin is compatible with Fuel version 9.0 only. If an upgrade is performed on the Fuel Master node to a Fuel version higher than 9.0 then it could stop working.
Security impact
---------------
None.
Other end user impact
---------------------
Once the plugin is installed, a new tab dedicated to the Kaminario plugin will be created in the Fuel web UI under the Settings tab. The user can configure the credentials and other options in this new tab.
Performance Impact
------------------
None.
Plugin impact
-------------
The plugin will:
* Install the python krest library
* Configure Kaminario cinder storage backends.
Other deployer impact
---------------------
None.
Implementation
==============
Assignee(s)
-----------
Primary assignee:
- Pradip Rawath <Pradip.Rawat.CTR@kaminario.com> (developer)
- Chaithanya Kopparthi <chaithanyak@biarca.com> (developer).
Work Items
----------
Dependencies
============
* Fuel 9.0
* Kaminario K2 all-flash array with version 5.8 or later
* krest rest api version 2.2.0 or later.
Testing
=======
* Prepare a test plan.
* Test the plugin according to the test plan.
Documentation Impact
====================
Create the following documentation:
* User Guide
* Test Plan
* Test Report.

View File

@ -1,7 +0,0 @@
volumes_roles_mapping:
# Default role mapping
fuel-plugin-cinder-kaminario_role:
- {allocate_size: "min", id: "os"}
# Set here new volumes for your role
volumes: []