← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1531880] [NEW] Failed to start Initial cloud-init job (pre-networking)

 

Public bug reported:

Linux Ubuntu-Gnome-Server 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17
22:57:08 UTC 2015 x86_64

Cloud-init 0.7.7

systemctl -l  status cloud-init-local
● cloud-init-local.service - Initial cloud-init job (pre-networking)
   Loaded: loaded (/lib/systemd/system/cloud-init-local.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2016-01-07 15:34:33 CET; 6min ago
  Process: 961 ExecStart=/usr/bin/cloud-init init --local (code=exited, status=1/FAILURE)
 Main PID: 961 (code=exited, status=1/FAILURE)

Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1547, in del_file
Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: raise e
Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1544, in del_file
Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: os.unlink(path)
Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: IsADirectoryError: [Errno 21] Is a directory: '/var/lib/cloud/instance'
Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: ------------------------------------------------------------
Jan 07 15:34:33 Ubuntu-Gnome-Server systemd[1]: cloud-init-local.service: Main process exited, code=exited, status=1/FAILURE
Jan 07 15:34:33 Ubuntu-Gnome-Server systemd[1]: Failed to start Initial cloud-init job (pre-networking).
Jan 07 15:34:33 Ubuntu-Gnome-Server systemd[1]: cloud-init-local.service: Unit entered failed state.
Jan 07 15:34:33 Ubuntu-Gnome-Server systemd[1]: cloud-init-local.service: Failed with result 'exit-code'.

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

** Attachment added: "cloud-init.log"
   https://bugs.launchpad.net/bugs/1531880/+attachment/4545676/+files/cloud-init.log

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

Title:
  Failed to start Initial cloud-init job (pre-networking)

Status in cloud-init:
  New

Bug description:
  Linux Ubuntu-Gnome-Server 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17
  22:57:08 UTC 2015 x86_64

  Cloud-init 0.7.7

  systemctl -l  status cloud-init-local
  ● cloud-init-local.service - Initial cloud-init job (pre-networking)
     Loaded: loaded (/lib/systemd/system/cloud-init-local.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2016-01-07 15:34:33 CET; 6min ago
    Process: 961 ExecStart=/usr/bin/cloud-init init --local (code=exited, status=1/FAILURE)
   Main PID: 961 (code=exited, status=1/FAILURE)

  Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1547, in del_file
  Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: raise e
  Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1544, in del_file
  Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: os.unlink(path)
  Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: IsADirectoryError: [Errno 21] Is a directory: '/var/lib/cloud/instance'
  Jan 07 15:34:33 Ubuntu-Gnome-Server cloud-init[961]: ------------------------------------------------------------
  Jan 07 15:34:33 Ubuntu-Gnome-Server systemd[1]: cloud-init-local.service: Main process exited, code=exited, status=1/FAILURE
  Jan 07 15:34:33 Ubuntu-Gnome-Server systemd[1]: Failed to start Initial cloud-init job (pre-networking).
  Jan 07 15:34:33 Ubuntu-Gnome-Server systemd[1]: cloud-init-local.service: Unit entered failed state.
  Jan 07 15:34:33 Ubuntu-Gnome-Server systemd[1]: cloud-init-local.service: Failed with result 'exit-code'.

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


Follow ups