Ask Your Question
1

CentOS 7 w/ RDO: Error - audit support not in kernel

asked 2014-12-09 08:29:25 -0600

noplacelike127 gravatar image

updated 2014-12-10 10:31:29 -0600

rbowen gravatar image

Hello,

I am using a fresh installation of CentOS 7. I've set selinux to both disabled and permissive and see the same issues. Any help would be greatly appreciated!

sudo yum install -y https://rdo.fedorapeople.org/rdo-release.rpm
sudo yum install -y openstack-packstack
packstack --allinone

[Output]
127.0.0.1_prescript.pp:                           [ ERROR ]       
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 127.0.0.1_prescript.pp
Error: Could not start Service[auditd]: Execution of '/usr/bin/systemctl start auditd' returned 1: Job for auditd.service failed. See 'systemctl status auditd.service' and 'journalctl -xn' for details.
You will find full trace in log /var/tmp/packstack/20141209-090949-RLQ_Yj/manifests/127.0.0.1_prescript.pp.log

[Output of journalctl -xn]

-- Logs begin at Tue 2014-12-09 09:12:01 EST, end at Tue 2014-12-09 09:26:57 EST. --
Dec 09 09:17:05 chris-kvm auditd[5531]: The audit daemon is exiting.
Dec 09 09:17:05 chris-kvm systemd[1]: auditd.service: main process exited, code=exited, status=1/FAILURE
Dec 09 09:17:05 chris-kvm augenrules[5532]: /sbin/augenrules: No change
Dec 09 09:17:05 chris-kvm augenrules[5532]: Error - audit support not in kernel
Dec 09 09:17:05 chris-kvm augenrules[5532]: Error - audit support not in kernel
Dec 09 09:17:05 chris-kvm augenrules[5532]: Cannot open netlink audit socket
Dec 09 09:17:05 chris-kvm systemd[1]: Failed to start Security Auditing Service.

[uname -r]

3.10.23-xxxx-std-ipv6-64
edit retag flag offensive close merge delete

Comments

1

Can we see the output of rpm -qi kernel please

rbowen gravatar imagerbowen ( 2014-12-10 10:49:05 -0600 )edit

[kvm ~]# rpm -qi kernel
package kernel is not installed
...
I'm guessing I have a custom kernel installed that my hosting provider must use in their default template. I've tried running 'yum install kernel' but get this error:
grubby fatal error: unable to find a suitable template

noplacelike127 gravatar imagenoplacelike127 ( 2014-12-10 11:48:58 -0600 )edit

I installed kernel, but have same problem.

Joubert RedRat gravatar imageJoubert RedRat ( 2014-12-11 13:46:13 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-11 13:19:19 -0600

Joubert RedRat gravatar image

updated 2014-12-11 17:13:40 -0600

Hi guys, I have same problem here, I tried on Fedora 21 and same problem.

Applying 127.0.0.1_prescript.pp
127.0.0.1_prescript.pp:                           [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 127.0.0.1_prescript.pp
Error: Could not start Service[auditd]: Execution of '/sbin/service auditd start' returned 1: Redirecting to /bin/systemctl start  auditd.service
You will find full trace in log /var/tmp/packstack/20141211-224428-NzFRe6/manifests/127.0.0.1_prescript.pp.log
Please check log file /var/tmp/packstack/20141211-224428-NzFRe6/openstack-setup.log for more information

But but something is strange, I installed CentOS 7 minimal on local vmware and tried to install and passed, but there is a detail.

On dedicated server, script tries to install "127.0.0.1_prescript.pp", on my local test installed "192.168.5.92_prescript.pp"

Copying Puppet modules and manifests                 [ DONE ]
Applying 192.168.5.92_prescript.pp
192.168.5.92_prescript.pp:                           [ DONE ]
Applying 192.168.5.92_amqp.pp
Applying 192.168.5.92_mariadb.pp
192.168.5.92_amqp.pp:                                [ DONE ]
192.168.5.92_mariadb.pp:                             [ DONE ]
Applying 192.168.5.92_keystone.pp
...
192.168.5.92_nagios.pp:                              [ DONE ]
Applying 192.168.5.92_postscript.pp
192.168.5.92_postscript.pp:                          [ DONE ]
Applying Puppet manifests                            [ DONE ]
Finalizing                                           [ DONE ]

 **** Installation completed successfully ******


Additional information:
 * A new answerfile was created in: /root/packstack-answers-20141211-201436.txt
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * Warning: NetworkManager is active on 192.168.5.92. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.5.92. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://192.168.5.92/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://192.168.5.92/nagios username: nagiosadmin, password: 038575a65b814b87
 * Because of the kernel update the host 192.168.5.92 requires reboot.
 * The installation log file is available at: /var/tmp/packstack/20141211-201435-8by7m9/openstack-setup.log
 * The generated manifests are available at: /var/tmp/packstack/20141211-201435-8by7m9/manifests

The question now is, why?

Note: My test is with one NIC on bridge mode with static ip

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-09 08:29:25 -0600

Seen: 1,562 times

Last updated: Dec 11 '14