Deprecate all the `validations` directory contents
All the validation includes a task which warns the operator that everything in this directory is deprecated and points them to the latest official documentation. Change-Id: I2d5ec11b3c71312970f5ab5b352c9b6e776e8647 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
parent
fae8a8595b
commit
fb838d37a4
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
All the validations in the `validations` directory have been migrated into
|
||||||
|
their own Ansible roles from Stein release and will be removed from Train.
|
||||||
|
|
||||||
|
You can now run the validations from the `playbooks` directory. For more
|
||||||
|
information, please see:
|
||||||
|
|
||||||
|
https://docs.openstack.org/tripleo-validations/latest/readme.html#directory-structure
|
|
@ -10,6 +10,7 @@
|
||||||
- prep
|
- prep
|
||||||
- pre-deployment
|
- pre-deployment
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
- name: List the available drives
|
- name: List the available drives
|
||||||
register: drive_list
|
register: drive_list
|
||||||
command: "ls /sys/class/block/"
|
command: "ls /sys/class/block/"
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
event_ttl_check: "event_time_to_live"
|
event_ttl_check: "event_time_to_live"
|
||||||
panko_config_file: "/var/lib/config-data/puppet-generated/panko/etc/panko/panko.conf"
|
panko_config_file: "/var/lib/config-data/puppet-generated/panko/etc/panko/panko.conf"
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get the path of tripleo undercloud config file
|
- name: Get the path of tripleo undercloud config file
|
||||||
become: true
|
become: true
|
||||||
hiera:
|
hiera:
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
- pre-deployment
|
- pre-deployment
|
||||||
fail_without_ceph_ansible: false
|
fail_without_ceph_ansible: false
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
- name: Check if ceph-ansible is installed
|
- name: Check if ceph-ansible is installed
|
||||||
shell: rpm -q ceph-ansible || true
|
shell: rpm -q ceph-ansible || true
|
||||||
args:
|
args:
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
groups:
|
groups:
|
||||||
- post-deployment
|
- post-deployment
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
- name: Check if ceph_mon is deployed
|
- name: Check if ceph_mon is deployed
|
||||||
become: true
|
become: true
|
||||||
shell: hiera -c /etc/puppet/hiera.yaml enabled_services | egrep -sq ceph_mon
|
shell: hiera -c /etc/puppet/hiera.yaml enabled_services | egrep -sq ceph_mon
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
groups:
|
groups:
|
||||||
- pre-upgrade
|
- pre-upgrade
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
- name: Check if there are XFS volumes with ftype=0
|
- name: Check if there are XFS volumes with ftype=0
|
||||||
become: true
|
become: true
|
||||||
shell: |
|
shell: |
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
packages:
|
packages:
|
||||||
- python-tripleoclient
|
- python-tripleoclient
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
- name: Get available updates for packages
|
- name: Get available updates for packages
|
||||||
check_package_update:
|
check_package_update:
|
||||||
package: "{{ item }}"
|
package: "{{ item }}"
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
groups:
|
groups:
|
||||||
- pre-introspection
|
- pre-introspection
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get the path of tripleo undercloud config file
|
- name: Get the path of tripleo undercloud config file
|
||||||
become: true
|
become: true
|
||||||
hiera:
|
hiera:
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
- pre-deployment
|
- pre-deployment
|
||||||
- pre-upgrade
|
- pre-upgrade
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Collect and check the flavors
|
- name: Collect and check the flavors
|
||||||
check_flavors:
|
check_flavors:
|
||||||
roles_info: "{{ lookup('roles_info', wantlist=True) }}"
|
roles_info: "{{ lookup('roles_info', wantlist=True) }}"
|
||||||
|
|
|
@ -101,4 +101,5 @@
|
||||||
- zaqar
|
- zaqar
|
||||||
- zaqar_websocket
|
- zaqar_websocket
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
- include_tasks: tasks/containerized_services.yaml
|
- include_tasks: tasks/containerized_services.yaml
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
- post-deployment
|
- post-deployment
|
||||||
keystone_conf_file: "/var/lib/config-data/puppet-generated/keystone/etc/keystone/keystone.conf"
|
keystone_conf_file: "/var/lib/config-data/puppet-generated/keystone/etc/keystone/keystone.conf"
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Fetch token value
|
- name: Fetch token value
|
||||||
become: true
|
become: true
|
||||||
ini:
|
ini:
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
nproc_min: 2048
|
nproc_min: 2048
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get nofiles limit
|
- name: Get nofiles limit
|
||||||
become: true
|
become: true
|
||||||
# NOTE: `ulimit` is a shell builtin so we have to invoke it like this:
|
# NOTE: `ulimit` is a shell builtin so we have to invoke it like this:
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
- pre-introspection
|
- pre-introspection
|
||||||
ctlplane_iprange_min_size: 25
|
ctlplane_iprange_min_size: 25
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get the path of tripleo undercloud config file
|
- name: Get the path of tripleo undercloud config file
|
||||||
become: true
|
become: true
|
||||||
hiera:
|
hiera:
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
groups:
|
groups:
|
||||||
- pre-deployment
|
- pre-deployment
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Retrieve the hypervisor statistics
|
- name: Retrieve the hypervisor statistics
|
||||||
set_fact:
|
set_fact:
|
||||||
statistics: "{{ lookup('nova_hypervisor_statistics', wantlist=True) }}"
|
statistics: "{{ lookup('nova_hypervisor_statistics', wantlist=True) }}"
|
||||||
|
@ -47,4 +49,3 @@
|
||||||
{{ available_count }} requests. Check that enough nodes are
|
{{ available_count }} requests. Check that enough nodes are
|
||||||
in 'available' state with maintenance mode off.
|
in 'available' state with maintenance mode off.
|
||||||
failed_when: statistics.count < available_count|int
|
failed_when: statistics.count < available_count|int
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
deploy_kernel_name: "bm-deploy-kernel"
|
deploy_kernel_name: "bm-deploy-kernel"
|
||||||
deploy_ramdisk_name: "bm-deploy-ramdisk"
|
deploy_ramdisk_name: "bm-deploy-ramdisk"
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Fetch deploy kernel by name
|
- name: Fetch deploy kernel by name
|
||||||
set_fact:
|
set_fact:
|
||||||
deploy_kernel_id: "{{ lookup('glance_images', 'name', ['{{ deploy_kernel_name }}'], wantlist=True) | map(attribute='id') | list }}"
|
deploy_kernel_id: "{{ lookup('glance_images', 'name', ['{{ deploy_kernel_name }}'], wantlist=True) | map(attribute='id') | list }}"
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
- pre-introspection
|
- pre-introspection
|
||||||
ironic_inspector_conf: "/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/inspector.conf"
|
ironic_inspector_conf: "/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/inspector.conf"
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Look up the introspection interface
|
- name: Look up the introspection interface
|
||||||
become: True
|
become: True
|
||||||
ini:
|
ini:
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
groups:
|
groups:
|
||||||
- pre-deployment
|
- pre-deployment
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get the path of tripleo undercloud config file
|
- name: Get the path of tripleo undercloud config file
|
||||||
hiera: name="tripleo_undercloud_conf_file"
|
hiera: name="tripleo_undercloud_conf_file"
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
- pre-deployment
|
- pre-deployment
|
||||||
server_to_lookup: example.com
|
server_to_lookup: example.com
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Ensure DNS resolution works
|
- name: Ensure DNS resolution works
|
||||||
command: "getent hosts {{ server_to_lookup }}"
|
command: "getent hosts {{ server_to_lookup }}"
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
defaults_timeout_server: '2m'
|
defaults_timeout_server: '2m'
|
||||||
defaults_timeout_check: '10s'
|
defaults_timeout_check: '10s'
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Gather the HAProxy config
|
- name: Gather the HAProxy config
|
||||||
become: true
|
become: true
|
||||||
haproxy_conf:
|
haproxy_conf:
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
deploy_kernel_name: "bm-deploy-kernel"
|
deploy_kernel_name: "bm-deploy-kernel"
|
||||||
deploy_ramdisk_name: "bm-deploy-ramdisk"
|
deploy_ramdisk_name: "bm-deploy-ramdisk"
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get id for deploy kernel by name
|
- name: Get id for deploy kernel by name
|
||||||
set_fact:
|
set_fact:
|
||||||
deploy_kernel_id: "{{ lookup('glance_images', 'name', ['{{ deploy_kernel_name }}'], wantlist=True) | map(attribute='id') | join(', ') }}"
|
deploy_kernel_id: "{{ lookup('glance_images', 'name', ['{{ deploy_kernel_name }}'], wantlist=True) | map(attribute='id') | join(', ') }}"
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
- post-deployment
|
- post-deployment
|
||||||
min_open_files_limit: 16384
|
min_open_files_limit: 16384
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Set container_cli fact from the inventory
|
- name: Set container_cli fact from the inventory
|
||||||
set_fact:
|
set_fact:
|
||||||
container_cli: "{{ hostvars[inventory_hostname].container_cli }}"
|
container_cli: "{{ hostvars[inventory_hostname].container_cli }}"
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
plan_env_path: plan-environment.yaml
|
plan_env_path: plan-environment.yaml
|
||||||
ip_pools_path: environments/ips-from-pool-all.yaml
|
ip_pools_path: environments/ips-from-pool-all.yaml
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Validate the network environment files
|
- name: Validate the network environment files
|
||||||
network_environment:
|
network_environment:
|
||||||
netenv_path: "{{ network_environment_path }}"
|
netenv_path: "{{ network_environment_path }}"
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
- /etc/neutron/lbaas_agent.ini
|
- /etc/neutron/lbaas_agent.ini
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Run neutron-sanity-check
|
- name: Run neutron-sanity-check
|
||||||
command: "docker exec -u root neutron_ovs_agent /bin/bash -c 'neutron-sanity-check --config-file {{ item }}'"
|
command: "docker exec -u root neutron_ovs_agent /bin/bash -c 'neutron-sanity-check --config-file {{ item }}'"
|
||||||
with_items: "{{ configs }}"
|
with_items: "{{ configs }}"
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
groups:
|
groups:
|
||||||
- post-deployment
|
- post-deployment
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Read the `firewall_driver` value
|
- name: Read the `firewall_driver` value
|
||||||
become: true
|
become: true
|
||||||
ini:
|
ini:
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
- pre-deployment
|
- pre-deployment
|
||||||
ironic_conf_file: "/var/lib/config-data/puppet-generated/ironic/etc/ironic/ironic.conf"
|
ironic_conf_file: "/var/lib/config-data/puppet-generated/ironic/etc/ironic/ironic.conf"
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get Ironic Inspector swift auth_url
|
- name: Get Ironic Inspector swift auth_url
|
||||||
become: true
|
become: true
|
||||||
ini:
|
ini:
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
groups:
|
groups:
|
||||||
- pre-upgrade
|
- pre-upgrade
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Collect IPs for overcloud nodes
|
- name: Collect IPs for overcloud nodes
|
||||||
set_fact: ansible_host="{{ hostvars[item]['ansible_host'] }}"
|
set_fact: ansible_host="{{ hostvars[item]['ansible_host'] }}"
|
||||||
register: oc_ips
|
register: oc_ips
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
notify_nova_on_port_status_check: "notify_nova_on_port_status_changes"
|
notify_nova_on_port_status_check: "notify_nova_on_port_status_changes"
|
||||||
tenant_name_check: "tenant_name"
|
tenant_name_check: "tenant_name"
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get VIF Plugging setting values from nova.conf
|
- name: Get VIF Plugging setting values from nova.conf
|
||||||
become: True
|
become: True
|
||||||
ini:
|
ini:
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
groups:
|
groups:
|
||||||
- post-deployment
|
- post-deployment
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Run ntpstat
|
- name: Run ntpstat
|
||||||
# ntpstat returns 0 if synchronised and non-zero otherwise:
|
# ntpstat returns 0 if synchronised and non-zero otherwise:
|
||||||
command: ntpstat
|
command: ntpstat
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
resource_reqs_prod: False
|
resource_reqs_prod: False
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
# Get auth token and service catalog from Keystone and extract service urls.
|
# Get auth token and service catalog from Keystone and extract service urls.
|
||||||
- name: Get token and catalog from Keystone
|
- name: Get token and catalog from Keystone
|
||||||
uri:
|
uri:
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
- openshift-on-openstack
|
- openshift-on-openstack
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- 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['overcloud'] is defined }}"
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
- pre-upgrade
|
- pre-upgrade
|
||||||
- post-upgrade
|
- post-upgrade
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- 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['overcloud'] is defined }}"
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get OVS DPDK PMD cores mask value
|
- name: Get OVS DPDK PMD cores mask value
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
register: pmd_cpu_mask
|
register: pmd_cpu_mask
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
groups:
|
groups:
|
||||||
- post-deployment
|
- post-deployment
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Check pacemaker service is running
|
- name: Check pacemaker service is running
|
||||||
become: True
|
become: True
|
||||||
command: "/usr/bin/systemctl show pacemaker --property ActiveState"
|
command: "/usr/bin/systemctl show pacemaker --property ActiveState"
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
- post-deployment
|
- post-deployment
|
||||||
min_fd_limit: 16384
|
min_fd_limit: 16384
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Set container_cli fact from the inventory
|
- name: Set container_cli fact from the inventory
|
||||||
set_fact:
|
set_fact:
|
||||||
container_cli: "{{ hostvars[inventory_hostname].container_cli }}"
|
container_cli: "{{ hostvars[inventory_hostname].container_cli }}"
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
groups:
|
groups:
|
||||||
- pre-upgrade
|
- pre-upgrade
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: List repositories
|
- name: List repositories
|
||||||
command: 'yum repolist -v'
|
command: 'yum repolist -v'
|
||||||
args:
|
args:
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
- pre-upgrade
|
- pre-upgrade
|
||||||
- post-upgrade
|
- post-upgrade
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Check stack resource statuses
|
- name: Check stack resource statuses
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
groups:
|
groups:
|
||||||
- post-deployment
|
- post-deployment
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Check if we are in HA cluster environment
|
- name: Check if we are in HA cluster environment
|
||||||
become: True
|
become: True
|
||||||
register: pcs_cluster_status
|
register: pcs_cluster_status
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
network_environment_path: environments/network-environment.yaml
|
network_environment_path: environments/network-environment.yaml
|
||||||
ironic_inspector_conf_file: "/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/inspector.conf"
|
ironic_inspector_conf_file: "/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/inspector.conf"
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get Ironic Inspector swift auth_url
|
- name: Get Ironic Inspector swift auth_url
|
||||||
become: true
|
become: true
|
||||||
ini:
|
ini:
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
- name: Display Deprecation Warning
|
||||||
|
warn:
|
||||||
|
msg: >
|
||||||
|
[DEPRECATION WARNING] All the validations in the `validations` directory
|
||||||
|
have been migrated into their own Ansible roles from the Stein release and
|
||||||
|
will be removed from Train.
|
||||||
|
|
||||||
|
You can now run the validations from the `playbooks` directory. For more
|
||||||
|
information, please consult the latest tripleo-validations documentation:
|
||||||
|
|
||||||
|
https://docs.openstack.org/tripleo-validations/latest/readme.html#directory-structure
|
|
@ -12,6 +12,8 @@
|
||||||
- pre-introspection
|
- pre-introspection
|
||||||
min_undercloud_cpu_count: 8
|
min_undercloud_cpu_count: 8
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Verify the number of CPU cores
|
- name: Verify the number of CPU cores
|
||||||
fail:
|
fail:
|
||||||
msg: >-
|
msg: >-
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
- /var/lib/config-data/puppet-generated/heat/etc/heat/heat.conf
|
- /var/lib/config-data/puppet-generated/heat/etc/heat/heat.conf
|
||||||
- /var/lib/config-data/puppet-generated/ironic/etc/ironic/ironic.conf
|
- /var/lib/config-data/puppet-generated/ironic/etc/ironic/ironic.conf
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Check the services for debug flag
|
- name: Check the services for debug flag
|
||||||
become: True
|
become: True
|
||||||
ini:
|
ini:
|
||||||
|
|
|
@ -17,4 +17,5 @@
|
||||||
- {mount: /, min_size: 20}
|
- {mount: /, min_size: 20}
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
- include_tasks: tasks/disk_space.yaml
|
- include_tasks: tasks/disk_space.yaml
|
||||||
|
|
|
@ -20,4 +20,5 @@
|
||||||
- {mount: /, min_size: 25}
|
- {mount: /, min_size: 25}
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
- include_tasks: tasks/disk_space.yaml
|
- include_tasks: tasks/disk_space.yaml
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
- pre-deployment
|
- pre-deployment
|
||||||
cron_check: "heat-manage purge_deleted"
|
cron_check: "heat-manage purge_deleted"
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get the path of tripleo undercloud config file
|
- name: Get the path of tripleo undercloud config file
|
||||||
become: true
|
become: true
|
||||||
hiera: name="tripleo_undercloud_conf_file"
|
hiera: name="tripleo_undercloud_conf_file"
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
- /etc/neutron/lbaas_agent.ini
|
- /etc/neutron/lbaas_agent.ini
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Run neutron-sanity-check
|
- name: Run neutron-sanity-check
|
||||||
command: "docker exec -u root neutron_ovs_agent /bin/bash -c 'neutron-sanity-check --config-file {{ item }}'"
|
command: "docker exec -u root neutron_ovs_agent /bin/bash -c 'neutron-sanity-check --config-file {{ item }}'"
|
||||||
with_items: "{{ configs }}"
|
with_items: "{{ configs }}"
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
- pre-deployment
|
- pre-deployment
|
||||||
max_process_count: 8
|
max_process_count: 8
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get the path of tripleo undercloud config file
|
- name: Get the path of tripleo undercloud config file
|
||||||
become: true
|
become: true
|
||||||
hiera:
|
hiera:
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
- pre-upgrade
|
- pre-upgrade
|
||||||
min_undercloud_ram_gb: 24
|
min_undercloud_ram_gb: 24
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Verify the RAM requirements
|
- name: Verify the RAM requirements
|
||||||
fail:
|
fail:
|
||||||
msg: >-
|
msg: >-
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
- prep
|
- prep
|
||||||
- pre-introspection
|
- pre-introspection
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get current SELinux mode
|
- name: Get current SELinux mode
|
||||||
command: getenforce
|
command: getenforce
|
||||||
become: true
|
become: true
|
||||||
|
@ -32,4 +34,3 @@
|
||||||
when:
|
when:
|
||||||
- "sestatus.stdout != 'Enforcing'"
|
- "sestatus.stdout != 'Enforcing'"
|
||||||
- "ansible_distribution == 'CentOS'"
|
- "ansible_distribution == 'CentOS'"
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
- post-upgrade
|
- post-upgrade
|
||||||
- pre-upgrade
|
- pre-upgrade
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Check Services are running
|
- name: Check Services are running
|
||||||
command: "/usr/bin/systemctl show {{ item }} --property ActiveState"
|
command: "/usr/bin/systemctl show {{ item }} --property ActiveState"
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
- pre-introspection
|
- pre-introspection
|
||||||
cron_check: "keystone-manage token_flush"
|
cron_check: "keystone-manage token_flush"
|
||||||
tasks:
|
tasks:
|
||||||
|
- include_tasks: tasks/deprecation.yaml
|
||||||
|
|
||||||
- name: Get the path of tripleo undercloud config file
|
- name: Get the path of tripleo undercloud config file
|
||||||
become: true
|
become: true
|
||||||
hiera: name="tripleo_undercloud_conf_file"
|
hiera: name="tripleo_undercloud_conf_file"
|
||||||
|
|
Loading…
Reference in New Issue