huit / puppet-ipa

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

Exec[admin_keytab] failing #13

Closed jonathanunderwood closed 11 years ago

jonathanunderwood commented 11 years ago

I am seeing the following, for reasons I haven't yet fathomed:

Oct 25 18:41:02 nirvana puppet-agent[19686]: /bin/rm -f /home/admin/admin.keytab ; /usr/sbin/kadmin.local -q 'ktadd -norandkey -k admin.keytab admin' ; /usr/bin/k5start -f /home/admin/admin.keytab -U -o admin -k /tmp/krb5cc_1004800000 > /dev/null 2>&1 returned 1 instead of one of [0]
Oct 25 18:41:02 nirvana puppet-agent[19686]: (/Stage[main]/Ipa::Master/Ipa::Serverinstall[nirvana.asteroids.phys.ucl.ac.uk]/Exec[admin_keytab]/returns) change from notrun to 0 failed: /bin/rm -f /home/admin/admin.keytab ; /usr/sbin/kadmin.local -q 'ktadd -norandkey -k admin.keytab admin' ; /usr/bin/k5start -f /home/admin/admin.keytab -U -o admin -k /tmp/krb5cc_1004800000 > /dev/null 2>&1 returned 1 instead of one of [0]

This is on a SL 6.4 machine.

The pertinent bit of the manifest is:

  class {'ipa':
    master  => true,
    domain  => 'asteroids.phys.ucl.ac.uk',
    realm   => 'ASTEROIDS.PHYS.UCL.AC.UK',
    adminpw => 'XXXXXXX',
    dspw    => 'XXXXXX,                                                                    
    dns     => true,
    automount => true,
    autofs  => true,
  }
robruma commented 11 years ago

Hi Jonathan,

So... What happens when you run that command manually?

Thanks Rob

jonathanunderwood commented 11 years ago

Hm. Unfortunately I haven't been able to get things back in to that state again. At the time I did try the command manually and it failed, as expected, but I forget what the error message was now, sorry. If I can reproduce it again I'll make more notes. Will close for now.