← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1686751] [NEW] cloud-init boot errors on centos7

 

Public bug reported:

[root@localhost ubuntu]# systemctl status cloud-init-local -l
● cloud-init-local.service - LSB: The initial cloud-init job (local fs contingent)
   Loaded: loaded (/etc/rc.d/init.d/cloud-init-local; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-04-27 14:39:57 UTC; 35s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 462 ExecStart=/etc/rc.d/init.d/cloud-init-local start (code=exited, status=1/FAILURE)

Apr 27 14:39:57 localhost cloud-init-local[462]: self.selinux.restorecon(path, recursive=self.recursive)
Apr 27 14:39:57 localhost cloud-init-local[462]: File "/usr/lib64/python2.7/site-packages/selinux/__init__.py", line 100, in restorecon
Apr 27 14:39:57 localhost cloud-init-local[462]: restorecon(os.path.join(root, name))
Apr 27 14:39:57 localhost cloud-init-local[462]: File "/usr/lib64/python2.7/site-packages/selinux/__init__.py", line 85, in restorecon
Apr 27 14:39:57 localhost cloud-init-local[462]: status, context = matchpathcon(path, mode)
Apr 27 14:39:57 localhost cloud-init-local[462]: OSError: [Errno 2] No such file or directory
Apr 27 14:39:57 localhost systemd[1]: cloud-init-local.service: control process exited, code=exited status=1
Apr 27 14:39:57 localhost systemd[1]: Failed to start LSB: The initial cloud-init job (local fs contingent).
Apr 27 14:39:57 localhost systemd[1]: Unit cloud-init-local.service entered failed state.
Apr 27 14:39:57 localhost systemd[1]: cloud-init-local.service failed.

cloud-init (net) errors:

Apr 27 14:30:48 localhost cloud-init: Starting cloud-init: Cloud-init v. 0.7.9 running 'init' at Thu, 27 Apr 2017 14:30:48 +0000. Up 4.77 seconds.
Apr 27 14:30:48 localhost cloud-init: 2017-04-27 14:30:48,387 - util.py[WARNING]: Route info failed: Unexpected error while running command.
Apr 27 14:30:48 localhost cloud-init: Command: ['netstat', '-rn']

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


** Tags: centos7

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

Title:
  cloud-init boot errors on centos7

Status in cloud-init:
  New

Bug description:
  [root@localhost ubuntu]# systemctl status cloud-init-local -l
  ● cloud-init-local.service - LSB: The initial cloud-init job (local fs contingent)
     Loaded: loaded (/etc/rc.d/init.d/cloud-init-local; bad; vendor preset: disabled)
     Active: failed (Result: exit-code) since Thu 2017-04-27 14:39:57 UTC; 35s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 462 ExecStart=/etc/rc.d/init.d/cloud-init-local start (code=exited, status=1/FAILURE)

  Apr 27 14:39:57 localhost cloud-init-local[462]: self.selinux.restorecon(path, recursive=self.recursive)
  Apr 27 14:39:57 localhost cloud-init-local[462]: File "/usr/lib64/python2.7/site-packages/selinux/__init__.py", line 100, in restorecon
  Apr 27 14:39:57 localhost cloud-init-local[462]: restorecon(os.path.join(root, name))
  Apr 27 14:39:57 localhost cloud-init-local[462]: File "/usr/lib64/python2.7/site-packages/selinux/__init__.py", line 85, in restorecon
  Apr 27 14:39:57 localhost cloud-init-local[462]: status, context = matchpathcon(path, mode)
  Apr 27 14:39:57 localhost cloud-init-local[462]: OSError: [Errno 2] No such file or directory
  Apr 27 14:39:57 localhost systemd[1]: cloud-init-local.service: control process exited, code=exited status=1
  Apr 27 14:39:57 localhost systemd[1]: Failed to start LSB: The initial cloud-init job (local fs contingent).
  Apr 27 14:39:57 localhost systemd[1]: Unit cloud-init-local.service entered failed state.
  Apr 27 14:39:57 localhost systemd[1]: cloud-init-local.service failed.

  cloud-init (net) errors:

  Apr 27 14:30:48 localhost cloud-init: Starting cloud-init: Cloud-init v. 0.7.9 running 'init' at Thu, 27 Apr 2017 14:30:48 +0000. Up 4.77 seconds.
  Apr 27 14:30:48 localhost cloud-init: 2017-04-27 14:30:48,387 - util.py[WARNING]: Route info failed: Unexpected error while running command.
  Apr 27 14:30:48 localhost cloud-init: Command: ['netstat', '-rn']

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


Follow ups