Description of problem: packstack tries to execute /etc/sysconfig/modules/kvm.modules and fails. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. yum -y install openstack-packstack 2. packstack --allinone 3. Actual results: Expected results: Additional info: Please drop /etc/sysconfig/modules/kvm.modules from qemu-system-x86 https://bugzilla.redhat.com/show_bug.cgi?id=963198 If nova compute node is Fedora 19, nova_compute.pp should be as follows. --- nova_compute.pp.old 2013-06-27 22:14:40.000000000 +0900 +++ nova_compute.pp 2013-06-27 22:15:08.000000000 +0900 @@ -37,13 +37,6 @@ vncserver_listen => "%(CONFIG_NOVA_COMPUTE_HOST)s", } -exec {'load_kvm': - user => 'root', - command => '/bin/sh /etc/sysconfig/modules/kvm.modules' -} - -Class['nova::compute']-> Exec["load_kvm"] - # Note : remove this once we're installing a version of openstack that isn't # supported on RHEL 6.3 if $::is_virtual_packstack == "true" and $::osfamily == "RedHat" and
IMHO a more elegant fix for this is to change the exec resource to: exec { 'load_kvm': user => 'root', command => '/bin/sh /etc/sysconfig/modules/kvm.modules', onlyif => '/bin/test -e /etc/sysconfig/modules/kvm.modules', }
I'm not familiar with puppet. Your fix is the best for this. Thanks! (In reply to Jonathan Barber from comment #1) > IMHO a more elegant fix for this is to change the exec resource to: > > exec { 'load_kvm': > user => 'root', > command => '/bin/sh /etc/sysconfig/modules/kvm.modules', > onlyif => '/bin/test -e /etc/sysconfig/modules/kvm.modules', > }
Ping. This bug is going stale. This was fixed on -- 2013-08-01 Reporter -- Please test this bug and confirm here if this works for you. So, this can be closed. Thank you.
It does work for me. Please close the ticket. THX!