Updated "overcloud" to "allovercloud" group
Apparently this is the new term to access all the overcloud nodes. Change-Id: I07fd17501ea66d229549fcf4031ae4126b055906
This commit is contained in:
@@ -126,7 +126,7 @@ As shown here, the validation playbook requires three top-level directives:
|
|||||||
|
|
||||||
``hosts`` specify which nodes to run the validation on. Based on the
|
``hosts`` specify which nodes to run the validation on. Based on the
|
||||||
``hosts.sample`` structure, the options can be ``all`` (run on all nodes),
|
``hosts.sample`` structure, the options can be ``all`` (run on all nodes),
|
||||||
``undercloud``, ``overcloud`` (all overcloud nodes), ``controller`` and
|
``undercloud``, ``allovercloud`` (all overcloud nodes), ``controller`` and
|
||||||
``compute``.
|
``compute``.
|
||||||
|
|
||||||
The ``vars`` section serves for storing variables that are going to be
|
The ``vars`` section serves for storing variables that are going to be
|
||||||
@@ -190,7 +190,7 @@ inventory file. It should look something like this::
|
|||||||
[undercloud]
|
[undercloud]
|
||||||
undercloud.example.com
|
undercloud.example.com
|
||||||
|
|
||||||
[overcloud:children]
|
[allovercloud:children]
|
||||||
controller
|
controller
|
||||||
compute
|
compute
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ inventory file. It should look something like this::
|
|||||||
It will have a ``[group]`` section for each role (``undercloud``,
|
It will have a ``[group]`` section for each role (``undercloud``,
|
||||||
``controller``, ``compute``) listing all the nodes belonging to that group. It
|
``controller``, ``compute``) listing all the nodes belonging to that group. It
|
||||||
is also possible to create a group from other groups as done with
|
is also possible to create a group from other groups as done with
|
||||||
``[overcloud:children]`` in the above example. If a validation specifies
|
``[allovercloud:children]`` in the above example. If a validation specifies
|
||||||
``hosts: overcloud``, it will be run on any node that belongs to the
|
``hosts: overcloud``, it will be run on any node that belongs to the
|
||||||
``compute`` or ``controller`` groups. If a node happens to belong to both, the
|
``compute`` or ``controller`` groups. If a node happens to belong to both, the
|
||||||
validation will only be run once.
|
validation will only be run once.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: overcloud
|
- hosts: allovercloud
|
||||||
vars:
|
vars:
|
||||||
metadata:
|
metadata:
|
||||||
name: Check if Ceph dependencies are installed
|
name: Check if Ceph dependencies are installed
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
- pre-deployment
|
- pre-deployment
|
||||||
- pre-ceph
|
- pre-ceph
|
||||||
fail_without_deps: true
|
fail_without_deps: true
|
||||||
tripleo_delegate_to: "{{ groups['overcloud'] | default([]) }}"
|
tripleo_delegate_to: "{{ groups['allovercloud'] | default([]) }}"
|
||||||
packages:
|
packages:
|
||||||
- lvm2
|
- lvm2
|
||||||
tasks:
|
tasks:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: undercloud, overcloud
|
- hosts: undercloud, allovercloud
|
||||||
vars:
|
vars:
|
||||||
metadata:
|
metadata:
|
||||||
name: XFS ftype check
|
name: XFS ftype check
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: undercloud, overcloud
|
- hosts: undercloud, allovercloud
|
||||||
vars:
|
vars:
|
||||||
metadata:
|
metadata:
|
||||||
name: Ensure container status
|
name: Ensure container status
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: undercloud, overcloud
|
- hosts: undercloud, allovercloud
|
||||||
vars:
|
vars:
|
||||||
metadata:
|
metadata:
|
||||||
name: Verify DNS
|
name: Verify DNS
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: undercloud, overcloud
|
- hosts: undercloud, allovercloud
|
||||||
vars:
|
vars:
|
||||||
metadata:
|
metadata:
|
||||||
name: Healthcheck systemd services Check
|
name: Healthcheck systemd services Check
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: undercloud, overcloud
|
- hosts: undercloud, allovercloud
|
||||||
vars:
|
vars:
|
||||||
metadata:
|
metadata:
|
||||||
name: NO-OP validation
|
name: NO-OP validation
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: overcloud
|
- hosts: allovercloud
|
||||||
vars:
|
vars:
|
||||||
metadata:
|
metadata:
|
||||||
name: Verify all deployed nodes have their clock synchronised
|
name: Verify all deployed nodes have their clock synchronised
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: undercloud, overcloud
|
- hosts: undercloud, allovercloud
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
vars:
|
vars:
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: undercloud, overcloud
|
- hosts: undercloud, allovercloud
|
||||||
vars:
|
vars:
|
||||||
metadata:
|
metadata:
|
||||||
name: Ensure services state
|
name: Ensure services state
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: overcloud
|
- hosts: allovercloud
|
||||||
vars:
|
vars:
|
||||||
metadata:
|
metadata:
|
||||||
name: Confirm that overcloud nodes are setup correctly
|
name: Confirm that overcloud nodes are setup correctly
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: Collect IPs for overcloud nodes
|
- name: Collect IPs for allovercloud nodes
|
||||||
set_fact: ansible_host="{{ hostvars[item]['ansible_host'] }}"
|
set_fact: ansible_host="{{ hostvars[item]['ansible_host'] }}"
|
||||||
register: oc_ips
|
register: oc_ips
|
||||||
with_items: "{{ groups.overcloud }}"
|
with_items: "{{ groups.allovercloud }}"
|
||||||
|
|
||||||
- name: Ping all overcloud nodes
|
- name: Ping all overcloud nodes
|
||||||
icmp_ping:
|
icmp_ping:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Set fact to identify if the overcloud was deployed
|
- name: Set fact to identify if the overcloud was deployed
|
||||||
set_fact:
|
set_fact:
|
||||||
overcloud_deployed: "{{ groups['overcloud'] is defined }}"
|
overcloud_deployed: "{{ groups['allovercloud'] is defined }}"
|
||||||
|
|
||||||
- name: Warn if no overcloud deployed yet
|
- name: Warn if no overcloud deployed yet
|
||||||
warn:
|
warn:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Set fact to identify if the overcloud was deployed
|
- name: Set fact to identify if the overcloud was deployed
|
||||||
set_fact:
|
set_fact:
|
||||||
overcloud_deployed: "{{ groups['overcloud'] is defined }}"
|
overcloud_deployed: "{{ groups['allovercloud'] is defined }}"
|
||||||
|
|
||||||
# Check that the Horizon endpoint exists
|
# Check that the Horizon endpoint exists
|
||||||
- name: Fail if the HorizonPublic endpoint is not defined
|
- name: Fail if the HorizonPublic endpoint is not defined
|
||||||
|
|||||||
Reference in New Issue
Block a user