Ian Main
2009-Feb-05 01:33 UTC
[Ovirt-devel] [PATCH recipe] Restart qpidd after update to ovirt.keytab.
This patch fixes a bootup race where the keytab for qpidd is generated after qpidd is started. This just makes qpidd restart after the install script is run so it can pick that up. Signed-off-by: Ian Main <imain at redhat.com> --- appliances/ovirt/ovirt.pp.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/appliances/ovirt/ovirt.pp.in b/appliances/ovirt/ovirt.pp.in index b03b3db..3f64b7f 100644 --- a/appliances/ovirt/ovirt.pp.in +++ b/appliances/ovirt/ovirt.pp.in @@ -211,7 +211,8 @@ service {"ovirt-storage": single_exec {"ovirt_installation": command => "/usr/sbin/ovirt-server-install >> /var/log/ovirt-server-install.log 2>&1", require => [Service["postgresql"],Service["ovirt-storage"],Service["dnsmasq"], - Single_exec["ovirt_appliance_installation"],Single_exec["cobbler-import"]] + Single_exec["ovirt_appliance_installation"],Single_exec["cobbler-import"]], + notify => Service["qpidd"] } -- 1.6.0.4
Ian Main
2009-Feb-05 23:12 UTC
[Ovirt-devel] Re: [PATCH recipe] Restart qpidd after update to ovirt.keytab.
On Wed, 4 Feb 2009 17:33:33 -0800 Ian Main <imain at redhat.com> wrote:> This patch fixes a bootup race where the keytab for qpidd is generated > after qpidd is started. This just makes qpidd restart after the install > script is run so it can pick that up. > > Signed-off-by: Ian Main <imain at redhat.com> > --- > appliances/ovirt/ovirt.pp.in | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/appliances/ovirt/ovirt.pp.in b/appliances/ovirt/ovirt.pp.in > index b03b3db..3f64b7f 100644 > --- a/appliances/ovirt/ovirt.pp.in > +++ b/appliances/ovirt/ovirt.pp.in > @@ -211,7 +211,8 @@ service {"ovirt-storage": > single_exec {"ovirt_installation": > command => "/usr/sbin/ovirt-server-install >> /var/log/ovirt-server-install.log 2>&1", > require => [Service["postgresql"],Service["ovirt-storage"],Service["dnsmasq"], > - Single_exec["ovirt_appliance_installation"],Single_exec["cobbler-import"]] > + Single_exec["ovirt_appliance_installation"],Single_exec["cobbler-import"]], > + notify => Service["qpidd"] > }I pushed this. I'll make another patch for the installer.. I see it's way behind in its qpid config. Ian