huit / puppet-ipa

Puppet module that can manage an IPA master, replicas and clients.
15 stars 48 forks source link

Ipa server installation fails due to locale setting #62

Open ashish1099 opened 8 years ago

ashish1099 commented 8 years ago

The server installation fails because the locale setting is not proper running an export LC_ALL=en_US.utf8 fixes the issue,

Notice: /Stage[main]/Ipa::Master/Ipa::Serverinstall[freeipa-master11.123ashish.com]/Exec[serverinstall-freeipa-master11.123ashish.com]/returns: Configuration of client side components failed! Notice: /Stage[main]/Ipa::Master/Ipa::Serverinstall[freeipa-master11.123ashish.com]/Exec[serverinstall-freeipa-master11.123ashish.com]/returns: ipa-client-install returned: Command ''/usr/sbin/ipa-client-install' '--on-master' '--unattended' '--domain' '123ashish.com' '--server' 'freeipa-master11.123ashish.com' '--realm' '123ASHISH.COM' '--hostname' 'freeipa-master11.123ashish.com'' returned non-zero exit status 1 Error: /usr/sbin/ipa-server-install --hostname=freeipa-master11.123ashish.com --realm=123ASHISH.COM --domain=123ashish.com --admin-password='123456789' --ds-password='123456789' --setup-dns --no-forwarders --no-ntp --idstart=16830 --unattended returned 1 instead of one of [0] Error: /Stage[main]/Ipa::Master/Ipa::Serverinstall[freeipa-master11.123ashish.com]/Exec[serverinstall-freeipa-master11.123ashish.com]/returns: change from notrun to 0 failed: /usr/sbin/ipa-server-install --hostname=freeipa-master11.123ashish.com --realm=123ASHISH.COM --domain=123ashish.com --admin-password='123456789' --ds-password='123456789' --setup-dns --no-forwarders --no-ntp --idstart=16830 --unattended returned 1 instead of one of [0]

ashish1099 commented 8 years ago

The second run of puppet agent run smoothly, but it does fail on the first run, because of the locale setting, from authconfig command