config/puppet-modules-wrs/puppet-sysinv/src/sysinv
Don Penney e6c0e0af8c Fix puppet-lint warnings and errors
This update addresses the following errors and warnings
from puppet-lint, with most corrections done automatically
using puppet-lint --fix:
- 2sp_soft_tabs
- arrow_alignment
- arrow_on_right_operand_line
- double_quoted_strings
- hard_tabs
- only_variable_string
- quoted_booleans
- star_comments
- trailing_whitespace
- variables_not_enclosed

Change-Id: I7a2b0109534dd4715d459635fa33b09e7fd0a6a6
Story: 2004515
Task: 28683
Signed-off-by: Don Penney <don.penney@windriver.com>
2018-12-27 15:08:37 -06:00
..
lib/puppet StarlingX open source release updates 2018-05-31 07:35:52 -07:00
manifests Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
spec StarlingX open source release updates 2018-05-31 07:35:52 -07:00
.fixtures.yml StarlingX open source release updates 2018-05-31 07:35:52 -07:00
Gemfile StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
Modulefile StarlingX open source release updates 2018-05-31 07:35:52 -07:00
README.md StarlingX open source release updates 2018-05-31 07:35:52 -07:00
Rakefile StarlingX open source release updates 2018-05-31 07:35:52 -07:00

README.md

sysinv

Table of Contents

  1. Overview - What is the sysinv module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with sysinv
  4. Implementation - An under-the-hood peek at what the module is doing
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module
  7. Contributors - Those with commits
  8. Release Notes - Notes on the most recent updates to the module

Overview

The sysinv module is a part of Stackforge, an effort by the Openstack infrastructure team to provide continuous integration testing and code review for Openstack and Openstack community projects not part of the core software. The module its self is used to flexibly configure and manage the block storage service for Openstack.

Module Description

The sysinv module is a thorough attempt to make Puppet capable of managing the entirety of sysinv. This includes manifests to provision such things as keystone endpoints, RPC configurations specific to sysinv, and database connections. Types are shipped as part of the sysinv module to assist in manipulation of configuration files.

This module is tested in combination with other modules needed to build and leverage an entire Openstack software stack. These modules can be found, all pulled together in the openstack module.

Setup

What the sysinv module affects

  • sysinv, the block storage service for Openstack.

Installing sysinv

example% puppet module install puppetlabs/sysinv

Beginning with sysinv

To utilize the sysinv module's functionality you will need to declare multiple resources. The following is a modified excerpt from the openstack module. This is not an exhaustive list of all the components needed, we recommend you consult and understand the openstack module and the core openstack documentation.

Define a sysinv control node

class { '::sysinv':
  sql_connection      => 'mysql://sysinv:secret_block_password@openstack-controller.example.com/sysinv',
  rabbit_password     => 'secret_rpc_password_for_blocks',,
  rabbit_host         => 'openstack-controller.example.com',
  verbose             => true,
}

class { '::sysinv::api':
  keystone_password       => $keystone_password,
  keystone_enabled        => $keystone_enabled,
  keystone_user           => $keystone_user,
  keystone_auth_host      => $keystone_auth_host,
  keystone_auth_port      => $keystone_auth_port,
  keystone_auth_protocol  => $keystone_auth_protocol,
  service_port            => $keystone_service_port,
  package_ensure          => $sysinv_api_package_ensure,
  bind_host               => $sysinv_bind_host,
  enabled                 => $sysinv_api_enabled,
}

class { '::sysinv::scheduler': scheduler_driver => 'sysinv.scheduler.simple.SimpleScheduler', }

Define a sysinv storage node

class { '::sysinv':
  sql_connection      => 'mysql://sysinv:secret_block_password@openstack-controller.example.com/sysinv',
  rabbit_password     => 'secret_rpc_password_for_blocks',,
  rabbit_host         => 'openstack-controller.example.com',
  verbose             => true,
}

class { '::sysinv::volume': }

class { '::sysinv::volume::iscsi': iscsi_ip_address => '10.0.0.2', }

Implementation

sysinv

sysinv is a combination of Puppet manifest and ruby code to delivery configuration and extra functionality through types and providers.

Limitations

  • Setup of storage nodes is limited to Linux and LVM, i.e. Puppet won't configure a Nexenta appliacne but nova can be configured to use the Nexenta driver with Class['sysinv::volume::nexenta'].

Development

Developer documentation for the entire puppet-openstack project.

Contributors

Release Notes

2.1.0

  • Added configuration of Sysinv quotas.
  • Added support for NetApp direct driver backend.
  • Added support for ceph backend.
  • Added support for SQL idle timeout.
  • Added support for RabbitMQ clustering with single IP.
  • Fixed allowed_hosts/database connection bug.
  • Fixed lvm2 setup failure for Ubuntu.
  • Removed unnecessary mysql::server dependency.
  • Pinned RabbitMQ and database module versions.
  • Various lint and bug fixes.

2.0.0

  • Upstream is now part of stackfoge.
  • Nexenta, NFS, and SAN support added as sysinv volume drivers.
  • Postgres support added.
  • The Apache Qpid and the RabbitMQ message brokers available as RPC backends.
  • Configurability of scheduler_driver.
  • Various cleanups and bug fixes.