← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1758339] [NEW] cloud-init init-local tries to get data over network

 

Public bug reported:

init-local tries to gather data from metadata service before the network
is ready which causes a WARNING message sent to syslog. I believe
everything ends up being successful and it's just some noise in syslog
during instance launch.

Mar 23 04:18:27 task-302 systemd[1]: Starting Initial cloud-init job (pre-networking)...
Mar 23 04:18:33 task-302 cloud-init[399]: Cloud-init v. 17.2 running 'init-local' at Fri, 23 Mar 2018 04:18:28 +0000. Up 4.98 seconds.
Mar 23 04:18:33 task-302 cloud-init[399]: 2018-03-23 04:18:33,395 - util.py[WARNING]: Failed fetching dynamic/instance-identity from url http://169.254.169.254/2009-04-04/dynamic/instance-identity
Mar 23 04:18:33 task-302 systemd[1]: Started Initial cloud-init job (pre-networking).
Mar 23 04:18:34 task-302 systemd[1]: Starting Initial cloud-init job (metadata service crawler)...
Mar 23 04:18:34 task-302 cloud-init[989]: Cloud-init v. 17.2 running 'init' at Fri, 23 Mar 2018 04:18:34 +0000. Up 11.03 seconds.
Mar 23 04:18:34 task-302 cloud-init[989]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++
Mar 23 04:18:34 task-302 cloud-init[989]: ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+
Mar 23 04:18:34 task-302 cloud-init[989]: ci-info: | Device |  Up  |           Address           |      Mask     | Scope |     Hw-Address    |
Mar 23 04:18:34 task-302 cloud-init[989]: ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+

cloud-init version
cloud-init -v
/usr/bin/cloud-init 17.2
ii  cloud-init                       17.2-35-gf576b2a2-0ubuntu1~16.04.2              all          Init scripts for cloud instances

** Affects: cloud-init
     Importance: Undecided
         Status: New

** Attachment added: "cloud-init.tar"
   https://bugs.launchpad.net/bugs/1758339/+attachment/5088215/+files/cloud-init.tar

-- 
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/1758339

Title:
  cloud-init init-local tries to get data over network

Status in cloud-init:
  New

Bug description:
  init-local tries to gather data from metadata service before the
  network is ready which causes a WARNING message sent to syslog. I
  believe everything ends up being successful and it's just some noise
  in syslog during instance launch.

  Mar 23 04:18:27 task-302 systemd[1]: Starting Initial cloud-init job (pre-networking)...
  Mar 23 04:18:33 task-302 cloud-init[399]: Cloud-init v. 17.2 running 'init-local' at Fri, 23 Mar 2018 04:18:28 +0000. Up 4.98 seconds.
  Mar 23 04:18:33 task-302 cloud-init[399]: 2018-03-23 04:18:33,395 - util.py[WARNING]: Failed fetching dynamic/instance-identity from url http://169.254.169.254/2009-04-04/dynamic/instance-identity
  Mar 23 04:18:33 task-302 systemd[1]: Started Initial cloud-init job (pre-networking).
  Mar 23 04:18:34 task-302 systemd[1]: Starting Initial cloud-init job (metadata service crawler)...
  Mar 23 04:18:34 task-302 cloud-init[989]: Cloud-init v. 17.2 running 'init' at Fri, 23 Mar 2018 04:18:34 +0000. Up 11.03 seconds.
  Mar 23 04:18:34 task-302 cloud-init[989]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++
  Mar 23 04:18:34 task-302 cloud-init[989]: ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+
  Mar 23 04:18:34 task-302 cloud-init[989]: ci-info: | Device |  Up  |           Address           |      Mask     | Scope |     Hw-Address    |
  Mar 23 04:18:34 task-302 cloud-init[989]: ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+

  cloud-init version
  cloud-init -v
  /usr/bin/cloud-init 17.2
  ii  cloud-init                       17.2-35-gf576b2a2-0ubuntu1~16.04.2              all          Init scripts for cloud instances

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1758339/+subscriptions


Follow ups