[Openstack-security] [Bug 1590102] Re: "V-38579 - Bootloader configuration files must be owned by root" task fails when running ansible standalone in checkmode

OpenStack Infra 1590102 at bugs.launchpad.net
Wed Jun 8 10:05:41 UTC 2016


Reviewed:  https://review.openstack.org/326705
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-security/commit/?id=03d436f86403d5635759ed4dcfc2d36567aeca20
Submitter: Jenkins
Branch:    master

commit 03d436f86403d5635759ed4dcfc2d36567aeca20
Author: Mark Hooper <hoopernet at gmail.com>
Date:   Tue Jun 7 14:03:04 2016 -0500

    Fix grub configuration file path in RHEL/CentOS 7
    
    CentOS and RHEL 7 both use /boot/grub2/grub.cfg, but the tasks in the
    security role expect it to be in /boot/grub/grub.cfg. This patch
    adds a variable for the grub configuration file path.
    
    Closes-bug: 1590102
    
    Change-Id: I724d6eb3b716bd9b0006d0d2e5ad201481d52e59


** Changed in: openstack-ansible
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of OpenStack
Security, which is subscribed to OpenStack.
https://bugs.launchpad.net/bugs/1590102

Title:
  "V-38579 - Bootloader configuration files must be owned by root" task
  fails when running ansible standalone in checkmode

Status in openstack-ansible:
  Fix Released

Bug description:
  When running openstack-ansible-security in standalone mode on Redhat
  7.2 the bootloaded configuration files being owned by root check
  fails.  See below for error output.

  Command run:
  ansible-playbook security.yml --check --tags cat2

  Output:
  TASK: [security | V-38579 - Bootloader configuration files must be owned by root] *** 
  fatal: [172.31.255.21] => error while evaluating conditional: grub_cfg.stat.exists
  fatal: [172.31.255.20] => error while evaluating conditional: grub_cfg.stat.exists
  fatal: [172.31.255.24] => error while evaluating conditional: grub_cfg.stat.exists
  fatal: [172.31.255.18] => error while evaluating conditional: grub_cfg.stat.exists
  fatal: [172.31.255.15] => error while evaluating conditional: grub_cfg.stat.exists
  fatal: [172.31.255.16] => error while evaluating conditional: grub_cfg.stat.exists

  FATAL: all hosts have already failed -- aborting

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-ansible/+bug/1590102/+subscriptions




More information about the Openstack-security mailing list