← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1385860] [NEW] Chef omnibus installer on CentOS broken

 

Public bug reported:

Omnibus installer fails on CentOS:

- util.py[WARNING]: Running cc_chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_chef.pyc'>) failed
- cloud-init[WARNING]: Ran cc_chef but it failed!

The reason is that /var/run/chef is symlink to /run/chef and
ensure_dir() fails on selinux.restorecon(). Quick fix would be:

try:
            self.selinux.restorecon(path, recursive=self.recursive)
except OSError:
            return

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

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

Title:
  Chef omnibus installer on CentOS broken

Status in Init scripts for use on cloud images:
  New

Bug description:
  Omnibus installer fails on CentOS:

  - util.py[WARNING]: Running cc_chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_chef.pyc'>) failed
  - cloud-init[WARNING]: Ran cc_chef but it failed!

  The reason is that /var/run/chef is symlink to /run/chef and
  ensure_dir() fails on selinux.restorecon(). Quick fix would be:

  try:
              self.selinux.restorecon(path, recursive=self.recursive)
  except OSError:
              return

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


Follow ups

References