[Ovirt-devel] [PATCH recipe] Split ovirt-appliance init script into storage and dnsmasq

Scott Seago sseago at redhat.com
Fri Nov 14 17:03:39 UTC 2008


Perry Myers wrote:
> This makes the appliance a little more deterministic in setup.
> DNS services must be working correctly prior to calling the
> ovirt-server-appliance-setup script, but storage can't be activated
> until after.  Splitting up these two services allows us to set up
> the dependencies properly in the puppet file.
>
> This fixes a transient bug where the appliance would start but
> the services would fail to configure properly.  I was seeing
> this around 25% of the time with appliance firstboot.
>
> Signed-off-by: Perry Myers <pmyers at redhat.com>
> ---
>  Makefile.am                                        |    3 +-
>  appliances/ovirt/files/ovirt-dnsmasq.conf          |   25 ++++++
>  appliances/ovirt/files/ovirt-server-appliance      |   87 --------------------
>  appliances/ovirt/files/ovirt-storage               |   72 ++++++++++++++++
>  appliances/ovirt/ovirt.pp.in                       |   31 +++++--
>  .../templates/ovirt-server-appliance-setup.erb     |   16 ++++
>  6 files changed, 137 insertions(+), 97 deletions(-)
>  create mode 100644 appliances/ovirt/files/ovirt-dnsmasq.conf
>  delete mode 100644 appliances/ovirt/files/ovirt-server-appliance
>  create mode 100644 appliances/ovirt/files/ovirt-storage
>
>   
OK this works for me...

Scott




More information about the ovirt-devel mailing list