On Wed, Mar 20, 2019 at 5:19 PM Sandro Bonazzola <sbonazzo(a)redhat.com>
wrote:
Hi,
just noticed today we are calling "ntpdate -4 <engine fqdn>" within OST
suites but then it fails with "ntpdate: command not found" and we ignore it.
Could be its just missing ntpdate install command from install scripts?
I just see 'ntp' in pkgs to install ( on the master suite ):
pkgs_to_install=(
"ntp"
"net-snmp"
"ovirt-engine"
"ovirt-log-collector"
"ovirt-engine-extension-aaa-ldap*"
"otopi-debug-plugins"
"cronie"
)
So it might just need to add 'ntpdate' there.
But I see something strange, host0 works and host1 don't:
2019-03-21 11:47:05,839::log_utils.py::__exit__::611::lago.ssh::DEBUG::end
task:09d53aca-2029-4bbc-8477-8e113a2c6d8b:Get ssh client for
lago-basic-suite-4-3-host-1:
2019-03-21 11:47:06,041::ssh.py::ssh::58::lago.ssh::DEBUG::Running 0d07590a
on lago-basic-suite-4-3-host-1: ntpdate -4 lago-basic-suite-4-3-engine
2019-03-21 11:47:06,069::ssh.py::ssh::81::lago.ssh::DEBUG::Command 0d07590a
on lago-basic-suite-4-3-host-1 returned with 127
2019-03-21 11:47:06,069::ssh.py::ssh::96::lago.ssh::DEBUG::Command 0d07590a
on lago-basic-suite-4-3-host-1 errors:
bash: ntpdate: command not found
2019-03-21
11:47:06,070::log_utils.py::__enter__::600::lago.ssh::DEBUG::start
task:66a12eba-4643-41b1-91e0-16bc28a70e3e:Get ssh client for
lago-basic-suite-4-3-host-0:
2019-03-21 11:47:06,337::log_utils.py::__exit__::611::lago.ssh::DEBUG::end
task:66a12eba-4643-41b1-91e0-16bc28a70e3e:Get ssh client for
lago-basic-suite-4-3-host-0:
2019-03-21 11:47:06,546::ssh.py::ssh::58::lago.ssh::DEBUG::Running 0d546b82
on lago-basic-suite-4-3-host-0: ntpdate -4 lago-basic-suite-4-3-engine
2019-03-21 11:47:12,697::ssh.py::ssh::81::lago.ssh::DEBUG::Command 0d546b82
on lago-basic-suite-4-3-host-0 returned with 0
2019-03-21 11:47:12,697::ssh.py::ssh::89::lago.ssh::DEBUG::Command 0d546b82
on lago-basic-suite-4-3-host-0 output:
21 Mar 07:47:12 ntpdate[6650]: adjust time server 192.168.202.2 offset
-0.001207 sec
I think "chronyc -4 makestep" should be used instead after
having
configure the engine as server.
If you're looking to update it, you might need to update all suites, I saw
more than one suite use that cmd:
Any insight on this?
--
SANDRO BONAZZOLA
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <
https://www.redhat.com/>
sbonazzo(a)redhat.com
<
https://red.ht/sig>
_______________________________________________
Devel mailing list -- devel(a)ovirt.org
To unsubscribe send an email to devel-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/DTGRZZ6PSO7...
--
Eyal edri
MANAGER
RHV/CNV DevOps
EMEA VIRTUALIZATION R&D
Red Hat EMEA <
https://www.redhat.com/>
<
https://red.ht/sig> TRIED. TESTED. TRUSTED. <
https://redhat.com/trusted>
phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)