[Ovirt-devel] [PATCH][ovirt-server] restart ipa after installation and before set admin password

Joey Boggs jboggs at redhat.com
Thu Jun 18 13:55:28 UTC 2009


ipa starts on the initial install/configuration of itself and is ready 
prior to running the portions required for ovirt, can you tell me what 
you were running into to need a restart?  The patch only restarts ipa at 
any given point after ipa is installed, should it restart at a specific 
point during the ovirt installation?


dima vasiletc wrote:
> Hello
> Restart ipa will be before load ovirt data.
>
>
> On 06/18/2009 04:20 AM, Joey Boggs wrote:
>> What were you running into that an ipa restart was needed? IPA 
>> *should* be in a good state before running the critical portions on 
>> ovirt user/group settings.
>>
>>
>>
>> Dmitriy Vasiletc wrote:
>>> From: Дмитрий <pronix.service at gmail.com>
>>>
>>> if krb5kdc has worked before installation appear  error. and require 
>>> 'ipactl restart'
>>>
>>>
>>> ---
>>>  installer/modules/ovirt/manifests/freeipa.pp |    5 +++++
>>>  1 files changed, 5 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/installer/modules/ovirt/manifests/freeipa.pp 
>>> b/installer/modules/ovirt/manifests/freeipa.pp
>>> index aa806fe..5a9fb44 100644
>>> --- a/installer/modules/ovirt/manifests/freeipa.pp
>>> +++ b/installer/modules/ovirt/manifests/freeipa.pp
>>> @@ -64,6 +64,11 @@ class freeipa::bundled{
>>>                  require => 
>>> [Exec[set_kdc_defaults],Single_exec[dnsmasq_restart]]
>>>          }
>>>
>>> +        exec {"restart_ipa":
>>> +            command => "/usr/sbin/ipactl restart",
>>> +            require => Single_Exec[ipa_server_install]
>>> +        }
>>> +
>>>          exec {"get_krb5_tkt":
>>>                  command => "/bin/echo 
>>> $freeipa_password|/usr/kerberos/bin/kinit admin",
>>>                  require => Single_Exec[ipa_server_install]
>>
>>
>
>




More information about the ovirt-devel mailing list