[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#910801: marked as done (cloud-init: cloudinit might delay startup by a long time if time is stepped during boot)



Your message dated Mon, 15 Oct 2018 09:04:00 +0000
with message-id <E1gBynA-000GFe-MC@fasolo.debian.org>
and subject line Bug#910801: fixed in cloud-init 18.3-3
has caused the Debian Bug report #910801,
regarding cloud-init: cloudinit might delay startup by a long time if time is stepped during boot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
910801: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910801
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cloud-init
Version: 0.7.9-2
Severity: normal

Dear Maintainer,

During testing of cloudinit, got a clock adjustment while in wait_for_url() function
https://salsa.debian.org/cloud-team/cloud-init/blob/debian/0.7.9-2/cloudinit/url_helper.py#L269-371

This caused the timeout for the EC2 data source to be more than 1 hour.

logs:
=====
Oct 02 16:16:07 test-agent cloud-init[421]: url_helper.py[WARNING]: Cal-3529ling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [1/120s]: request error [HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /2009-04-04/meta-data
/instance-id (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8abb4d1e48>: Failed to establish a new connection: [Errno 101] Network is unreachable',))]
Oct 02 16:16:07 test-agent cloud-init[421]: url_helper.py[DEBUG]: Please wait 1 seconds while we wait to try again
Oct 02 16:16:07 test-agent dhclient[387]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Oct 02 16:16:08 test-agent cloud-init[421]: url_helper.py[DEBUG]: [0/1] open 'http://169.254.169.254/2009-04-04/meta-data/instance-id' with {'timeout': 50.0, 'url': 'http://169.254.169.254/2009-04-04/meta-data/instance-id', 'allow_redirects': True, 'method': 'GET', 'head
ers': {'User-Agent': 'Cloud-Init/0.7.9'}} configuration
Oct 02 16:16:08 test-agent cloud-init[421]: url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [2/120s]: request error [HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /2009-04-04/meta-data
/instance-id (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8abb587d68>: Failed to establish a new connection: [Errno 101] Network is unreachable',))]
Oct 02 16:16:08 test-agent cloud-init[421]: url_helper.py[DEBUG]: Please wait 1 seconds while we wait to try again
Oct 02 16:16:08 test-agent dhclient[387]: DHCPREQUEST of 192.168.6.247 on eth0 to 255.255.255.255 port 67
Oct 02 16:16:08 test-agent dhclient[387]: DHCPOFFER of 192.168.6.247 from 192.168.6.1
Oct 02 16:16:08 test-agent dhclient[387]: DHCPACK of 192.168.6.247 from 192.168.6.1
Oct 02 16:16:08 test-agent dhclient[387]: bound to 192.168.6.247 -- renewal in 2530 seconds.
Oct 02 16:16:09 test-agent cloud-init[421]: url_helper.py[DEBUG]: [0/1] open 'http://169.254.169.254/2009-04-04/meta-data/instance-id' with {'timeout': 50.0, 'url': 'http://169.254.169.254/2009-04-04/meta-data/instance-id', 'allow_redirects': True, 'method': 'GET', 'head
ers': {'User-Agent': 'Cloud-Init/0.7.9'}} configuration
Oct 02 16:16:38 test-agent chronyd[395]: Selected source 5.178.78.88
Oct 02 16:16:38 test-agent chronyd[395]: System clock wrong by -7198.904342 seconds, adjustment started
Oct 02 14:16:39 test-agent chronyd[395]: System clock was stepped by -7198.904342 seconds
Oct 02 14:16:39 test-agent systemd[1]: Time has been changed
Oct 02 14:17:00 test-agent cloud-init[421]: url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [-7145/120s]: request error [HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /2009-04-04/meta-
data/instance-id (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8abb4d18d0>, 'Connection to 169.254.169.254 timed out. (connect timeout=50.0)'))]


-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cloud-init depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  gdisk                  1.0.1-1
ii  ifupdown               0.8.19
ii  init-system-helpers    1.48
ii  lsb-base               9.20161125
ii  lsb-release            9.20161125
ii  net-tools              1.60+git20161116.90da8a0-1
ii  procps                 2:3.3.12-3+deb9u1
ii  python3                3.5.3-1
ii  python3-configobj      5.0.6-2
ii  python3-jinja2         2.8-1
ii  python3-jsonpatch      1.19-4
ii  python3-oauthlib       2.0.1-1
ii  python3-prettytable    0.7.2-3
ii  python3-requests       2.12.4-1
ii  python3-six            1.10.0-3
ii  python3-yaml           3.12-1

cloud-init recommends no packages.

cloud-init suggests no packages.

-- Configuration Files:
/etc/cloud/cloud.cfg changed [not included]

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Source: cloud-init
Source-Version: 18.3-3

We believe that the bug you reported is fixed in the latest version of
cloud-init, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 910801@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated cloud-init package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 15 Oct 2018 10:48:01 +0200
Source: cloud-init
Binary: cloud-init
Architecture: source all
Version: 18.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Cloud Team <debian-cloud@lists.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Description:
 cloud-init - initialization system for infrastructure cloud instances
Closes: 910801
Changes:
 cloud-init (18.3-3) unstable; urgency=medium
 .
   * Start cloud-init before chronyd (Closes: #910801).
Checksums-Sha1:
 04f978614097a9b5e03a94ace478524473bfc460 2393 cloud-init_18.3-3.dsc
 0c6e3111ccc02648772e538b650f2cb0ac0f75e9 33232 cloud-init_18.3-3.debian.tar.xz
 97b5f3958ecdeea13d36d947cb3b52234888c49e 408740 cloud-init_18.3-3_all.deb
 a2ab54e8334f7c0fe63089e68a6074816bb0c624 8291 cloud-init_18.3-3_amd64.buildinfo
Checksums-Sha256:
 b741a76fd9a80e731a5e400cb6d1852b59ad1a524311bebd239ca0cb44b8f6cf 2393 cloud-init_18.3-3.dsc
 4d9e5713d31222328d3324dc2e5b40db82089e826b4b480022a64b8395ff4c54 33232 cloud-init_18.3-3.debian.tar.xz
 b7b21c9062eae48b2a1e2653ccbd6598ea9f18cb38ba580bb4745c8e698be1a0 408740 cloud-init_18.3-3_all.deb
 9bc531041ccb387f1f8db57c93cc0bf9e928607e87bc358996b6c093d8503942 8291 cloud-init_18.3-3_amd64.buildinfo
Files:
 40a19d6c041fc1c74062654884ca4571 2393 admin optional cloud-init_18.3-3.dsc
 c7700fcd963684ac83078dd478589c25 33232 admin optional cloud-init_18.3-3.debian.tar.xz
 0270a10844202238e1b4bf4b57d5e053 408740 admin optional cloud-init_18.3-3_all.deb
 4553ba7d795e576be8e91270adf80cc5 8291 admin optional cloud-init_18.3-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAlvEVLIACgkQq1PlA1ho
d6bUkRAAr/pRd0msIoeiU5pSoHxXdY5KMtkfBEBX87e8xZh8RPWzDmMii/8Ud5xe
wRETpDyvKp+lNqjSMNalX9/zSxb88n5Op3vbk8trMJVz6HHma9G6c3oayvqQwICO
JOVet9avygjUDAzoio59hSxBYE/So7xcBKoGV30rxm8S3tvvGcOmaiVgIpBO5oD9
vrz8ViJWbrY6PdL5Ttj0TEsbMpYdxFkfml0pLqpu/ug7CJjpUs3pPsCMeC4cgySD
JXtPp3LXf1RcodVXWEw9cz6zYu1F4phs2PxJ3J5NY4UbqQA+xeEaQhiPLuNDzHVj
W+mppOxFzIdjHggPg+PRswi0nBxKyvSVcXoMxXb4xV0GFU8IjPK/VkjYjPsFeZdw
8/bbA3guqSH5Dox+TJ+gvXVUBGOGQVxunav3u3xXgqRmz8bS/evA6N8adQLjKrWS
588WSqVTYS9XzoniKyjOdLRLZ0vSNuUkH5mqnSO1zP1N5bLLhAvmdoCXBXlHt7Dd
GaKdJBBhy8fCpiseyDwsWUGOkIkcyDk8z9+MN0xVQpliYo9D02n/0HQu8Vcy21pQ
yOvm+IzDXhhO00e2gaQO+ad5IxlH19WHtx/QZ3ZbSI1R9F4ngAOvCV85PU/DOecO
8nGEqZxSQN+bSPc0SNSpu6oK4xpxEMga9Rj2fV/tzaXsf0l7Hac=
=K9lK
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: