pre-introspection¶
check-network-gateway¶
Check network_gateway on the provisioning network.
If network_gateway in undercloud.conf is different from local_ip, verify that the gateway exists and is reachable.
- hosts: undercloud
- groups: pre-introspection
- metadata:
- parameters:
ctlplane-ip-range¶
Check the number of IP addresses available to overcloud nodes.
Verify that the number of IP addresses defined in dhcp_start and dhcp_end fields in undercloud.conf is not too low.
- hosts: undercloud
- groups: pre-introspection
- metadata:
- parameters:
- ctlplane_iprange_min_size: 25
dhcp-introspection¶
DHCP on the Introspection Network.
An unexpected DHCP server on the network used for node introspection can cause some nodes to not be inspected. This validations checks for the DHCP responses on the interface specified in ironic-inspector.conf.
- hosts: undercloud
- groups: pre-introspection
- metadata:
- parameters:
undercloud-cpu¶
Verify undercloud fits the CPU core requirements.
Make sure that the undercloud has enough CPU cores. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/sect-Undercloud_Requirements.html
- hosts: undercloud
- groups: prep, pre-introspection
- metadata:
- parameters:
- min_undercloud_cpu_count: 8
undercloud-disk-space¶
Verify undercloud fits the disk space requirements.
Make sure that the root partition on the undercloud node is large enough. We first check for an explicit /var mount point since that’s where we store logs and images and if it doesn’t exist, we fall back to /. http://tripleo.org/environments/environments.html#id5
- hosts: undercloud
- groups: prep, pre-introspection
- metadata:
- parameters:
- min_undercloud_disk_gb: 60
undercloud-neutron-sanity-check¶
Undercloud Neutron Sanity Check.
Run neutron-sanity-check on the undercloud node to find out potential issues with Neutron’s configuration. The tool expects all the configuration files that are passed to the Neutron services.
- hosts: undercloud
- groups: pre-introspection
- metadata:
- parameters:
- configs: [‘/etc/neutron/neutron.conf’, ‘/usr/share/neutron/neutron-dist.conf’, ‘/etc/neutron/metadata_agent.ini’, ‘/etc/neutron/metering_agent.ini’, ‘/etc/neutron/dhcp_agent.ini’, ‘/etc/neutron/plugins/ml2/openvswitch_agent.ini’, ‘/etc/neutron/conf.d/ml2_conf_cisco.ini’, ‘/etc/neutron/conf.d/cisco_cfg_agent.ini’, ‘/etc/neutron/conf.d/cisco_router_plugin.ini’, ‘/usr/share/neutron/l3_agent’, ‘/etc/neutron/conf.d/common’, ‘/etc/neutron/conf.d/neutron-l3-agent’, ‘/usr/share/neutron/neutron-lbaas-dist.conf’, ‘/etc/neutron/lbaas_agent.ini’, ‘/etc/neutron/conf.d/neutron-lbaas-agent’, ‘/etc/neutron/conf.d/neutron-lbaasv2-agent’, ‘/etc/neutron/conf.d/neutron-metadata-agent’, ‘/etc/neutron/conf.d/neutron-metering-agent’, ‘/etc/neutron/conf.d/neutron-netns-cleanup’, ‘/etc/neutron/conf.d/neutron-openvswitch-agent’, ‘/etc/neutron/conf.d/neutron-ovs-cleanup’, ‘/etc/neutron/conf.d/neutron-bsn-agent’, ‘/etc/neutron/conf.d/neutron-cisco-cfg-agent’, ‘/etc/neutron/conf.d/neutron-dhcp-agent’]
undercloud-ram¶
Verify the undercloud fits the RAM requirements.
Verify that the undercloud has enough RAM. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/sect-Undercloud_Requirements.html
- hosts: undercloud
- groups: prep, pre-introspection
- metadata:
- parameters:
- min_undercloud_ram_gb: 16
undercloud-tokenflush¶
Verify token_flush is enabled in keystone users crontab..
Without a token_flush crontab enabled for the keystone user, the keystone database can grow very large. This validation checks that the keystone token_flush crontab has been set up.
- hosts: undercloud
- groups: pre-introspection
- metadata:
- parameters:
- cron_check: keystone-manage token_flush