check failed when the host is Centos but the kolla_base_distro is ubuntu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Low
|
Mark Goddard |
Bug Description
host os: centos8.0
kolla_base_distro: ubuntu
kolla-ansible prechecks
TASK [prechecks : Fail if /etc/timezone is absent] *******
fatal: [localhost]: FAILED! => {"changed": false, "msg": "/etc/timezone is not found. This file is used for system-wide timezone settings and Kolla Ansible needs this file for mounting it to containers."}
centos doesn't have /etc/timezone. timezone info is in /etc/localtime, we can use timedatectl to control it. but ubuntu is different.
i think we should create this file when host is centos but kolla_base_distro is ubuntu. and delete this file when destroy.
Changed in kolla-ansible: | |
assignee: | nobody → wu.chunyang (wuchunyang) |
Changed in kolla-ansible: | |
importance: | Undecided → Low |
status: | New → Triaged |
milestone: | none → 11.0.0 |
Fix proposed to branch: master /review. opendev. org/745505
Review: https:/