Prechecks fail in check mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Unassigned | ||
Wallaby |
Fix Released
|
Undecided
|
Unassigned | ||
Xena |
Fix Released
|
Undecided
|
Unassigned | ||
Yoga |
Fix Released
|
Undecided
|
Unassigned | ||
Zed |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
# Steps to reproduce
On a deployed cloud, run prechecks in Ansible check mode:
kolla-ansible prechecks --check
# Expected results
Prechecks pass.
# Actual results
Some prechecks fail because they use the command module which is silently not run in check mode.
Other prechecks do not run correctly in check mode due to e.g. looking for a string in empty command output or not querying which containers are running.
The first check to fail is the time sync check, and claims that the system clock is not synced (even if it is):
timedatectl sees the system clock as unsynchronized. Please wait for synchronization. Alternatively, set 'prechecks_
Changed in kolla-ansible: | |
importance: | Undecided → Medium |
status: | New → Triaged |
description: | updated |
Fix proposed to branch: master /review. opendev. org/c/openstack /kolla- ansible/ +/869988
Review: https:/