From fd8df6f4eb773c9d078e636357456eaf9f0d047d Mon Sep 17 00:00:00 2001 From: Haresh Khandelwal Date: Tue, 6 Jul 2021 12:53:21 +0530 Subject: [PATCH] replacing "," with " " to avoid timemaster to consider it as a single interface Due to this, when below is passed via THT, PTPInterfaces: '0:eno1,0:eno2' results in to [ptp_domain 0] interfaces eno1,eno2 timemaster[169838]: timemaster[532409.195]: ioctl SIOCETHTOOL failed: No such device timemaster[169838]: timemaster[532409.195]: failed to get time stamping info for eno1,eno2 systemd[1]: timemaster.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: timemaster.service: Failed with result 'exit-code'. Closes-Bug: #1934667 Change-Id: I3f3182929571ec723f4e1d5a8e283755b3e17f95 (cherry picked from commit 34c0d5d62c5b86f4646afe053220b0a9dc900168) --- .../roles/tripleo_timemaster/templates/timemaster.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleo_ansible/roles/tripleo_timemaster/templates/timemaster.conf.j2 b/tripleo_ansible/roles/tripleo_timemaster/templates/timemaster.conf.j2 index cc6e38659..97eaf2ea5 100644 --- a/tripleo_ansible/roles/tripleo_timemaster/templates/timemaster.conf.j2 +++ b/tripleo_ansible/roles/tripleo_timemaster/templates/timemaster.conf.j2 @@ -12,7 +12,7 @@ {% for domain, nic_list in ptp_dict.items() %} [ptp_domain {{ domain }}] interfaces {% for nic in nic_list %} -{{ nic }}{% if not loop.last %},{% endif %} +{{ nic }}{% if not loop.last %} {% endif %} {% endfor %} {% endfor %}