RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 979041 - Fedora19 no longer has /etc/sysconfig/modules/kvm.modules
Summary: Fedora19 no longer has /etc/sysconfig/modules/kvm.modules
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-27 13:23 UTC by ryo fujita
Modified: 2016-03-30 23:05 UTC (History)
7 users (show)

Fixed In Version: openstack-packstack-2013.2.1-0.1.dev691.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 36810 0 None None None Never

Description ryo fujita 2013-06-27 13:23:59 UTC
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

Comment 1 Jonathan Barber 2013-07-05 13:04:08 UTC
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',
}

Comment 2 ryo fujita 2013-07-05 16:42:58 UTC
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',
> }

Comment 3 Kashyap Chamarthy 2014-03-20 08:20:47 UTC
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.

Comment 4 ryo fujita 2014-06-23 14:07:26 UTC
It does work for me. Please close the ticket. THX!


Note You need to log in before you can comment on or make changes to this bug.