config/puppet-modules-wrs/puppet-sysinv/src/sysinv
Jerry Sun 4809c9f489 Upversion armada image
Upversion armada image from existing
af8a9ffd0873c2fbc915794e235dbd357f2adab1
to
dd2e56c473549fd16f94212b553ed58c48d1f51b-ubuntu_bionic

The specific image was chosen because it contained upstream
armada commit df68a90e057c2e1e3427d6b8497b437c8a4c3b7e, which
is a fix for keystone kubernetes auth. The ubuntu bionic image
was chosen because the old image was an ubuntu bionic based image.

Testing done by applying stx-openstack on standard, simplex,
and duplex systems.

Story: 2005860
Task: 33693

Change-Id: Ifd8a66d46e2dfd47ca7c5ab9807076ef43e67027
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
2019-06-21 09:47:40 -04:00
..
lib/puppet StarlingX open source release updates 2018-05-31 07:35:52 -07:00
manifests Upversion armada image 2019-06-21 09:47:40 -04: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.