tripleo-quickstart-extras/roles/overcloud-prep-images
Ronelle Landy 91a190da14 Update introspection command to introspect only manageable nodes
With the Newton and later releases, it is possible to introspect
only nodes in the manageable state rather than run bulk
introspection that would work on all imported nodes.

Change-Id: Ic36dea3f93e84ab49731996a69a9d3c28f973e86
2017-02-09 13:32:08 -05:00
..
defaults Merge "Integrate undercloud_user var into oooq-extras" 2017-01-23 13:20:02 +00:00
meta Ensure that each role in extras has a dependency on extras-common 2017-01-18 09:32:16 -05:00
tasks Cleanup and move files for overcloud-prep-images 2016-11-21 11:50:12 +01:00
templates Update introspection command to introspect only manageable nodes 2017-02-09 13:32:08 -05:00
README.md Add support for whole disk images 2017-01-18 17:20:26 +01:00

Role Name

An Ansible role to copy configuration files to the undercloud prior to deployment.

Requirements

This playbook expects that the undercloud has been installed and setup using one of the roles relevant to baremetal overcloud deployments.

Role Variables

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

  • working_dir: <'/home/stack'> -- working directory for the role. Assumes stackrc file is present at this location
  • baremetal_instackenv: <"{{ working_dir }}/instackenv.json"> -- location of instackenv.json to copy over
  • baremetal_network_environment: <"{{ working_dir }}/network-isolation.yml"> -- location of network-environment file to copy over
  • undercloud_type: -- can be overwritten with values like 'baremetal' or 'ovb'
  • step_root_device_size: -- add disk size hints if needed for the environment under test
  • disk_root_device_size: <1843> -- size hint for selecting the correct disk during introspection
  • whole_disk_images: false -- shows if we want to use partition or whole disk images (this will be available starting on Ocata)

Dependencies

This playbook does not deploy the overcloud. After this playbook runs, call https://github.com/redhat-openstack/ansible-role-tripleo-overcloud.

Example Playbook

  1. Sample playbook to call the role
- name: Copy configuration files
  hosts: virthost
  gather_facts: no
  roles:
    - ansible-role-tripleo-overcloud-prep-config

License

Apache 2.0

Author Information

RDO-CI Team