xenial START -------------- creating xenial-proposed-226181656 [sudo] password for csmith: --proposed -- ... Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 cloud-init all 17.1-25-g17a15f9e-0ubuntu1~16.04.1 [342 kB] ... { "v1": { "datasource": "DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]", "errors": [] } } ntp 1:4.2.8p4+dfsg-3ubuntu5.7 # on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for # pools pool 0.ubuntu.pool.ntp.org iburst pool 1.ubuntu.pool.ntp.org iburst pool 2.ubuntu.pool.ntp.org iburst pool 3.ubuntu.pool.ntp.org iburst # pool ntp.ubuntu.com # Needed for adding pool entries
Creating zesty-proposed-312292735 --proposed -- ... Get:1 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 cloud-init all 17.1-25-g17a15f9e-0ubuntu1~17.04.1 [339 kB] ... { "v1": { "datasource": "DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]", "errors": [] } } ntp 1:4.2.8p9+dfsg-2ubuntu1.2 # on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for # pools pool 0.ubuntu.pool.ntp.org iburst pool 1.ubuntu.pool.ntp.org iburst pool 2.ubuntu.pool.ntp.org iburst pool 3.ubuntu.pool.ntp.org iburst # pool ntp.ubuntu.com # Needed for adding pool entries artful START -------------- Creating artful-proposed-85532394 ... Get:1 http://archive.ubuntu.com/ubuntu artful-proposed/main amd64 cloud-init all 17.1-25-g17a15f9e-0ubuntu1~17.10.1 [333 kB] ... { "v1": { "datasource": "DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]", "errors": [] } } ntp 1:4.2.8p10+dfsg-5ubuntu3 # on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for # pools pool 0.ubuntu.pool.ntp.org iburst pool 1.ubuntu.pool.ntp.org iburst pool 2.ubuntu.pool.ntp.org iburst pool 3.ubuntu.pool.ntp.org iburst # pool ntp.ubuntu.com # Needed for adding pool entries === End Abridged SRU verifcation output === ** Description changed: http://pad.lv/1724951 https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1724951 === Begin SRU Template === [Impact] Customers who provide the following cloud-config will get a Runtime error #cloud-config ntp: The expected behavior, per docs, is that an empty ntp configuration will result in "4 pools will be used in the format {0-3}.{distro}.pool.ntp.org.". [Test Case] - if [ ! -f './lxc-proposed-snapshot' ]; then wget https://raw.githubusercontent.com/cloud-init/ubuntu-sru/master/bin/lxc-proposed-snapshot; chmod 755 lxc-proposed-snapshot; fi # 1. Provide a empty ntp configuration to cloud-init cat > install-ntp.conf <<EOF #cloud-config ntp: EOF # 2. - for release in xenial zesty; do + for release in xenial zesty artful; do ref=$release-proposed; echo "$release START --------------"; lxc-proposed-snapshot --proposed --publish $release $ref; - lxc init $ref test-$release; - lxc config set test-$release user.user-data - < install-ntp.conf; - lxc start test-$release; - sleep 10; - # no runtime error - lxc exec test-$release -- cat /run/cloud-init/result.json - # ntp installed - lxc exec test-$release -- dpkg-query --show ntp; - # default pools - lxc exec test-$release -- grep pool /etc/ntp.conf + lxc init $ref test-$release; + lxc config set test-$release user.user-data - < install-ntp.conf; + lxc start test-$release; + sleep 10; + # no runtime error + lxc exec test-$release -- cat /run/cloud-init/result.json + # ntp installed + lxc exec test-$release -- dpkg-query --show ntp; + # default pools + lxc exec test-$release -- grep pool /etc/ntp.conf done [Regression Potential] Minimal, this fixes only a corner case where cloud-config ntp specified is completely empty. Any more complex ntp configuration are unaffected by code changes. [Other Info] Upstream commit at - https://git.launchpad.net/cloud-init/commit/?id=6bc504e41666 + https://git.launchpad.net/cloud-init/commit/?id=6bc504e41666 === End SRU Template === ** Tags removed: verification-needed verification-needed-artful verification-needed-xenial verification-needed-zesty ** Tags added: verification-done verification-done-artful verification-done-xenial verification-done-zesty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1724951 Title: Ntp schema definition permits empty ntp cloud-config, but code disallows To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1724951/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs