yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67916
[Bug 1645644] Re: ntp not using expected servers
This bug is believed to be fixed in cloud-init in 17.1. If this is still
a problem for you, please make a comment and set the state back to New
Thank you.
** Changed in: cloud-init
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1645644
Title:
ntp not using expected servers
Status in cloud-init:
Fix Released
Status in cloud-init package in Ubuntu:
Fix Released
Status in cloud-init source package in Xenial:
Fix Released
Status in cloud-init source package in Yakkety:
Fix Released
Status in cloud-init source package in Zesty:
Fix Released
Bug description:
=== Begin SRU Template ===
[Impact]
Existing security permissions on /etc/ssh/sshd_config file not honored.
[Test Case]
if [ ! -f lxc-proposed-snapshot ]; then
wget https://git.launchpad.net/~smoser/cloud-init/+git/sru-info/plain/bin/lxc-proposed-snapshot
chmod 755 lxc-proposed-snapshot
fi
cat << EOF > config.yaml
#cloud-config
ntp:
pools: [1.ntp.mypool]
servers: [my.server.nonpool]
EOF
for release in xenial yakkety zesty; do
ref=$release-proposed;
echo "$release START --------------";
./lxc-proposed-snapshot --proposed --install ntp --publish $release $ref;
lxc init $ref test-$release;
lxc config set test-$release user.user-data - < config.yaml
lxc start test-$release;
sleep 10
# Should not see [0-3].ubuntu.pool.n
lxc exec test-$release -- ntpq -p
echo "$release DONE --------------";
done
[Regression Potential]
Minimal ntp service confguration could be stale if this breaks anything.
It is minimal regression potential as the fix only reorders the creation of /etc/ntp.conf prior to the package intall and adds a call to service ntp restart.
[Other Info]
=== End SRU Template ===
Related bugs:
* bug 1701297: NTP reload failure (unable to read library) on overlayfs
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1645644/+subscriptions
References