tripleo-quickstart-extras/roles/ovb-manage-stack
Sorin Sbarnea 146d1d1c1c
Fix Ansible Using tests as filters is deprecated
Avoids deprecation warnings like below by adopting recommended syntax.

[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of
using `result|failed` instead use `result is failed`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.

Change-Id: Ie0e0fbc61090e2b89971252ee60700158acf5fd4
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-07-17 13:05:57 +01:00
..
defaults Modify OVB stack and resource identifiers to match te-broker 2018-03-12 13:22:57 -04:00
meta Integrate undercloud_user var into oooq-extras 2017-01-18 09:32:16 -05:00
tasks Fix Ansible Using tests as filters is deprecated 2018-07-17 13:05:57 +01:00
templates Modify OVB stack and resource identifiers to match te-broker 2018-03-12 13:22:57 -04:00
README.md Modify OVB stack and resource identifiers to match te-broker 2018-03-12 13:22:57 -04:00

README.md

Role Name

Ansible roles for managing a heat stack to deploy an OpenStack cloud using OpenStack Virtual Baremetal.

Requirements

These roles assume that the host cloud has already been patched as per https://github.com/cybertron/openstack-virtual-baremetal/blob/master/README.rst#patching-the-host-cloud.

Role Variables

Note: Make sure to include all environment file and options from your initial Overcloud creation

To interact with the Openstack Virtual Baremetal host cloud, credentials are needed:

  • os_username: <cloud_username>
  • os_password: <user_password>
  • os_tenant_name: <tenant_name>
  • os_auth_url: <cloud_auth_url> # For example http://190.1.1.5:5000/v2.0
  • os_region_name: <os_region_name> # Most probably RegionOne

Parameters required to access the stack:

  • stack_name: <'baremetal_{{ idnum }}'> -- name for OVB heat stack
  • rc_file: </home/stack/overcloudrc> -- file to reference the overcloud
  • node_name: 'undercloud'
  • existing_key_location: <local_working_dir> -- required to access the undercloud node
  • ssh_extra_args: <'-F "{{ local_working_dir }}/ssh.config.ansible"'>
  • undercoud_key: <"{{ local_working_dir }}/id_rsa_undercloud">

Parameters required for shade (See defaults/main.yml for default values):

  • heat_template
  • environment_list

Parameters used the env.yaml file to create the OVB heat stack (See defaults/main.yml for default values):

  • bmc_flavor

  • bmc_image

  • bmc_prefix

  • baremetal_flavor

  • baremetal_image

  • baremetal_prefix

  • key_name

  • private_net

  • node_count

  • public_net

  • provision_net

  • undercloud_name

  • undercloud_image

  • undercloud_flavor

  • external_net

  • templates_dir

  • ovb_dir

  • network_isolation_type: -- other options are 'none' and 'public-bond'

  • registered_releases -- releases for which images should be available for the undercloud

  • baremetal_driver -- ironic driver to use for overcloud nodes, 'pxe_ipmitool' for < Queens, 'ipmi' for >= Queens

Dependencies

This playbook depends on the shade library and https://github.com/cybertron/openstack-virtual-baremetal.

Example Playbook

Playbooks to create the strack prior to TripleO Quickstart deployments will require:

  • name: Create the OVB stack hosts: localhost roles:
    • { role: ovb-manage-stack, ovb_manage_stack_mode: 'create' }

License

Apache

Author Information

RDO-CI Team