tripleo-quickstart-extras/roles/overcloud-prep-images
Takashi Kajinami 4a4bd9c06a overcloud: Remove logic for unsupported old releases
This change removes logic for releases older than train, because these
releases are already EOLed. This covers only overcloud-* roles and
playbooks and the other items will be covered by separate changes.

Note that this change also removes the containerized_* variables
because current active releases(>=Train) no longer supports
non-containerized deployment. The containerized_overcloud_upgrade
variable is still left because the variable is still required by
the tripleo-ci-base-multinode-standard job template.

Change-Id: If29ec2c2219a28a1f79db0e552e2c622c0a7bda6
2022-10-25 16:32:53 +09:00
..
defaults Remove --old-deploy-image var for image upload 2021-07-13 15:59:42 +05:30
meta Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
tasks overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
templates overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
README.md Don't hard-code overcloud-full 2021-06-30 10:09:43 +12: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

  • step_root_device_hints: false -- add root device hints if needed for the environment under test

  • root_device_hints: [] -- list of the root device hints to be associated with nodes. Needs to have this format::

    • root_device_hints:
      • ip: <<pm_addr>> key: <> value: <>

    Where key needs to be one of the valid Ironic root device hints, and value is the exact value that needs to be filtered. For reference on all the possible root device hints see http://docs.openstack.org/project-install-guide/baremetal/draft/advanced.html#specifying-the-disk-for-deployment-root-device-hints. Please note that in order to match root device hints with the associated nodes on instackenv.json, the node pm_address will be used as a key. At the moment only equal operator is supported, is not possible to use other operators or logical combinations.

  • step_introspect_with_retry: -- a more robust version of the step_introspect option

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: false
  roles:
    - ansible-role-tripleo-overcloud-prep-config

License

Apache 2.0

Author Information

RDO-CI Team