chrony fail to start on overcloud node - Invalid command at line 10 in file /etc/chrony.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Triaged
|
High
|
Unassigned |
Bug Description
[root@overcloud
● chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/
Active: failed (Result: exit-code) since Sun 2018-11-11 20:34:47 UTC; 3min 9s ago
Docs: man:chronyd(8)
Process: 17515 ExecStart=
Main PID: 671 (code=exited, status=0/SUCCESS)
Nov 11 20:34:47 overcloud-
Nov 11 20:34:47 overcloud-
Nov 11 20:34:47 overcloud-
Nov 11 20:34:47 overcloud-
Nov 11 20:34:47 overcloud-
Nov 11 20:34:47 overcloud-
Nov 11 20:34:47 overcloud-
[root@overcloud
# Do not manually edit this file.
# Managed by ansible-role-chrony
server 0.rhel.pool.ntp.org iburst
server 1.rhel.pool.ntp.org iburst
server 2.rhel.pool.ntp.org iburst
server 3.rhel.pool.ntp.org iburst
pool u'pool.ntp.org' iburst minpoll 6 maxpoll 10 # This does'nt look right.
bindcmdaddress 127.0.0.1
bindcmdaddress ::1
u'deny all' # This does'nt look right.
driftfile /var/lib/
logdir /var/log/chrony
rtcsync
makestep 1.0 3
There is a unicode issue, any ansible_group_vars that is a list or json (not string or integer) contain unicode strings. The ansible jinja template end up writing the strings with the u'<string>' format.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
When I put this in the template:
{{ chrony_acl_rules }}
It renders:
[u"u'deny all'"]
Somehow the unicode string is wrapped inside the unicode string. As in:
my_str = u"u'string'"