Description of problem: Upgrade with specified openshift_disable_check to disable disk_availability,memory_availability, Upgrade still failed for disk and memory check. Failure summary: 1. Hosts: x.x.x.x Play: Verify Host Requirements Task: openshift_health_check Message: One or more checks failed Details: check "memory_availability": Available memory (3.5 GiB) is too far below recommended value (8.0 GiB) 2. Hosts: x.x.x.x Play: Verify Host Requirements Task: openshift_health_check Message: One or more checks failed Details: check "disk_availability": Available disk space in "/var" (6.8 GB) is below minimum recommended (10.0 GB) check "memory_availability": Available memory (3.5 GiB) is too far below recommended value (16.0 GiB) 3. Hosts: x.x.x.x Play: Verify Host Requirements Task: openshift_health_check Message: One or more checks failed Details: check "disk_availability": Available disk space in "/var" (2.2 GB) is below minimum recommended (5.0 GB) check "memory_availability": Available memory (3.5 GiB) is too far below recommended value (8.0 GiB) The execution of "/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.yml" includes checks designed to fail early if the requirements of the playbook are not met. One or more of these checks failed. To disregard these results,explicitly disable checks by setting an Ansible variable: openshift_disable_check=disk_availability,memory_availability Version-Release number of the following components: Version-Release number of the following components: atomic-openshift-utils-3.7.0-0.127.0.git.0.b9941e4.el7.noarch How reproducible: always Steps to Reproduce: 1. Install ocp 2. Edit inventory hosts file to add openshift_disable_check variable <--snip--> openshift_disable_check=disk_availability,memory_availability,package_availability,docker_image_availability,docker_storage,package_version 3. Run upgrade Actual results: Upgrade failed for openshift_health_check Expected results: Upgrade succeed with no openshift_health_check. Additional info: Please attach logs from ansible-playbook with the -vvv flag
Seems can workaround by setting following vars, unmasked "urgent". openshift_check_min_host_disk_gb=1 openshift_check_min_host_memory_gb=1
I think openshift_disable_check is working fine. The problem is that you've specified it twice in your inventory file: openshift_disable_check=disk_availability,memory_availability,package_availability,docker_image_availability,docker_storage,package_version openshift_disable_check=docker_storage Of course it uses the last one. Feel free to reopen if it's still a problem.
Thx, it's a wrong configure. Sorry for the mistake.