Error: Could not enable libvirtd: Execution of '/sbin/chkconfig --add libvirtd' returned 1: error re

While openstack installation using packstack in virtual environment I faced following error;


PuppetError: Error appeared during Puppet run: 192.168.100.108_nova.pp

Error: Could not enable libvirtd: Execution of '/sbin/chkconfig --add libvirtd' returned 1: error reading information on service libvirtd: No such file or directory^[[0m

You will find full trace in log /var/tmp/packstack/20161204-011433-LewnSW/manifests/192.168.100.108_nova.pp.log

Reason: Environment does not support hardware acceleration virtual machines. It can be checked by;

$ egrep -c '(vmx|svm)' /proc/cpuinfo

If this command returns a value of one or greater, your system supports hardware acceleration which typically requires no additional configuration.

Solution:
Configure libvirt to use QEMU instead of KVM (default)

# service libvirtd start
# service messagebus start
# chkconfig libvirtd on
# chkconfig messagebus on

猜你喜欢

转载自my.oschina.net/u/2277929/blog/852787