Init failures on 17.1 with CentOS 7.4 and OpenStack

Bug #1722416 reported by Michael J Burling
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Undecided
Unassigned

Bug Description

1. OpenStack Juno (very old, indeed)

2. 17.1+17.g45d361cb

3. Sending this simple configuration forward utilizing the puppet module:
#cloud-config
puppet:
  conf:
    main:
      use_srv_records: true
      srv_domain: stp-1.redbrickhealth.net
      pluginsource: puppet:///plugins
      pluginfactsource: puppet:///pluginfacts
    agent:
      runinterval: 3600
      report: true
      pluginsync: true
      environment: teng3989

4. (Not exactly the same output you're looking for, but getting the information is a little more difficult without cloud-init succeeding in this environment, instead, the cloud provisioner log with cloud-init relevant lines).
         Starting Initial cloud-init job (pre-networking)...
[ 3.269920] cloud-init[516]: Cloud-init v. 17.1 running 'init-local' at Mon, 09 Oct 2017 20:23:39 +0000. Up 3.24 seconds.
[[32m OK [0m] Started Initial cloud-init job (pre-networking).
         Starting Initial cloud-init job (metadata service crawler)...
[ 6.494546] cloud-init[869]: Cloud-init v. 17.1 running 'init' at Mon, 09 Oct 2017 20:23:43 +0000. Up 6.45 seconds.
[ 6.543879] cloud-init[869]: ci-info: ++++++++++++++++++++Net device info++++++++++++++++++++
[ 6.545178] cloud-init[869]: ci-info: <cloudinit.simpletable.SimpleTable object at 0x1e01ed0>
[ 6.546254] cloud-init[869]: ci-info: ++++++++++++++++++++Route IPv4 info++++++++++++++++++++
[ 6.547351] cloud-init[869]: ci-info: <cloudinit.simpletable.SimpleTable object at 0x1e01ed0>
[ 12.855065] cloud-init[869]: 2017-10-09 20:23:49,607 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [2/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 15.861045] cloud-init[869]: 2017-10-09 20:23:52,612 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [5/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 18.867033] cloud-init[869]: 2017-10-09 20:23:55,618 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [8/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 21.873300] cloud-init[869]: 2017-10-09 20:23:58,625 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [11/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 24.879074] cloud-init[869]: 2017-10-09 20:24:01,630 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [14/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 27.885123] cloud-init[869]: 2017-10-09 20:24:04,637 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [17/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 30.891068] cloud-init[869]: 2017-10-09 20:24:07,643 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [20/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 35.904337] cloud-init[869]: 2017-10-09 20:24:12,656 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [25/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 38.913860] cloud-init[869]: 2017-10-09 20:24:15,665 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [28/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 41.920961] cloud-init[869]: 2017-10-09 20:24:18,672 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [31/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 44.927096] cloud-init[869]: 2017-10-09 20:24:21,679 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [35/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 50.938985] cloud-init[869]: 2017-10-09 20:24:27,690 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [41/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 53.944671] cloud-init[869]: 2017-10-09 20:24:30,696 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [44/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 59.956920] cloud-init[869]: 2017-10-09 20:24:36,708 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [50/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 62.962710] cloud-init[869]: 2017-10-09 20:24:39,714 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [53/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 68.972891] cloud-init[869]: 2017-10-09 20:24:45,724 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [59/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 75.984972] cloud-init[869]: 2017-10-09 20:24:52,736 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [66/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 82.996958] cloud-init[869]: 2017-10-09 20:24:59,748 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [73/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 90.009029] cloud-init[869]: 2017-10-09 20:25:06,760 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [80/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 97.021032] cloud-init[869]: 2017-10-09 20:25:13,772 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [87/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 104.032950] cloud-init[869]: 2017-10-09 20:25:20,784 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [94/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 112.044932] cloud-init[869]: 2017-10-09 20:25:28,796 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [102/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 120.057035] cloud-init[869]: 2017-10-09 20:25:36,808 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [110/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 128.069196] cloud-init[869]: 2017-10-09 20:25:44,821 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [118/120s]: request error [('Connection aborted.', error(113, 'No route to host'))]
[ 133.077612] cloud-init[869]: 2017-10-09 20:25:49,826 - DataSourceEc2.py[CRITICAL]: Giving up on md from ['http://169.254.169.254/2009-04-04/meta-data/instance-id'] after 123 seconds
[ 133.080198] cloud-init[869]: 2017-10-09 20:25:49,832 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [0/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 134.083701] cloud-init[869]: 2017-10-09 20:25:50,835 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [1/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 135.087606] cloud-init[869]: 2017-10-09 20:25:51,839 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [2/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 136.091484] cloud-init[869]: 2017-10-09 20:25:52,843 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [3/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 137.095300] cloud-init[869]: 2017-10-09 20:25:53,847 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [4/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 138.098963] cloud-init[869]: 2017-10-09 20:25:54,851 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [5/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 140.104409] cloud-init[869]: 2017-10-09 20:25:56,856 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [7/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 142.109485] cloud-init[869]: 2017-10-09 20:25:58,861 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [9/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 144.114659] cloud-init[869]: 2017-10-09 20:26:00,866 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [11/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 146.119677] cloud-init[869]: 2017-10-09 20:26:02,871 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [13/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 148.124697] cloud-init[869]: 2017-10-09 20:26:04,876 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [15/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 151.130986] cloud-init[869]: 2017-10-09 20:26:07,883 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [18/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 154.137187] cloud-init[869]: 2017-10-09 20:26:10,889 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [21/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 157.143298] cloud-init[869]: 2017-10-09 20:26:13,895 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [24/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 160.149323] cloud-init[869]: 2017-10-09 20:26:16,901 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [27/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 163.155583] cloud-init[869]: 2017-10-09 20:26:19,907 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [30/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 167.162642] cloud-init[869]: 2017-10-09 20:26:23,914 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [34/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 171.169969] cloud-init[869]: 2017-10-09 20:26:27,922 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [38/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 175.177312] cloud-init[869]: 2017-10-09 20:26:31,929 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [42/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 179.184544] cloud-init[869]: 2017-10-09 20:26:35,936 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [46/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 183.191681] cloud-init[869]: 2017-10-09 20:26:39,943 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [50/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 188.200036] cloud-init[869]: 2017-10-09 20:26:44,952 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [55/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 193.208699] cloud-init[869]: 2017-10-09 20:26:49,960 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [60/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 198.217346] cloud-init[869]: 2017-10-09 20:26:54,969 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [65/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 203.225409] cloud-init[869]: 2017-10-09 20:26:59,977 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [70/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 208.233471] cloud-init[869]: 2017-10-09 20:27:04,985 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [75/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 214.242789] cloud-init[869]: 2017-10-09 20:27:10,994 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [81/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 220.252100] cloud-init[869]: 2017-10-09 20:27:17,004 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [87/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 226.261421] cloud-init[869]: 2017-10-09 20:27:23,013 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [93/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 232.270579] cloud-init[869]: 2017-10-09 20:27:29,022 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [99/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 238.274107] cloud-init[869]: 2017-10-09 20:27:35,026 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [105/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 245.284047] cloud-init[869]: 2017-10-09 20:27:42,036 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [112/120s]: request error [('Connection aborted.', error(111, 'Connection refused'))]
[ 252.291653] cloud-init[869]: 2017-10-09 20:27:49,043 - url_helper.py[WARNING]: Calling 'http://10.0.0.3/latest/meta-data/instance-id' failed [119/120s]: request error [('Connection aborted.', error(115, 'Operation now in progress'))]
[ 259.301593] cloud-init[869]: 2017-10-09 20:27:56,051 - DataSourceCloudStack.py[CRITICAL]: Giving up on waiting for the metadata from ['http://10.0.0.3/latest/meta-data/instance-id'] after 126 seconds
[[32m OK [0m] Started Initial cloud-init job (metadata service crawler).
[ 260.209191] cloud-init[1098]: Cloud-init v. 17.1 running 'modules:config' at Mon, 09 Oct 2017 20:27:56 +0000. Up 260.06 seconds.
[ 260.566499] cloud-init[1148]: Cloud-init v. 17.1 running 'modules:final' at Mon, 09 Oct 2017 20:27:57 +0000. Up 260.51 seconds.
[ 260.608041] cloud-init[1148]: ci-info: no authorized ssh keys fingerprints found for user cloud-user.
[ 260.648100] cloud-init[1148]: Cloud-init v. 17.1 finished at Mon, 09 Oct 2017 20:27:57 +0000. Datasource DataSourceNone. Up 260.63 seconds
[ 260.649708] cloud-init[1148]: 2017-10-09 20:27:57,394 - cc_final_message.py[WARNING]: Used fallback datasource
[[32m OK [0m] Reached target Cloud-init target.

Tags: centos
do3meli (d-info-e)
tags: added: centos
Revision history for this message
Dan Watkins (oddbloke) wrote :

Hi,

Thanks for filing this bug! Is this still an issue you are seeing in more recent versions of cloud-init? If it is, please do give us steps to reproduce and set this bug back to New.

Thanks!

Dan

Changed in cloud-init:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cloud-init because there has been no activity for 60 days.]

Changed in cloud-init:
status: Incomplete → Expired
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.