[Spacewalk-list] Re: Unknown Key in Cobbler Distro

Franz Skale franz.skale at cubit.at
Wed Oct 14 16:37:15 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,
this is my first post in this forum.
I reply on the "unresolved" issue on double keys in kickstart
distributions.
I found out that the Table RHNACTIVATIONKEYS shows more than one key.
Every time a kickstart is generated, one random key appears in the DB.
This cause the kickstart registation process to fail.
What i have done to get rid of the second key: (worked for my).
1.) rlwrap /usr/bin/sqlplus64 spacewalk/spacewalk at xe
2.) delete TOKEN  from  RHNACTIVATIONKEY where TOKEN='fill in the
unwanted key';
3.) commit
4.) vi /var/lib/cobbler/config/profiles.d/<you kickstartprofile you
want to fix>.json
5.)changed the key to the right one. form "1-<wrong key>"
6.)service cobblerd restart
7.) cobbler profile report
8.)Crosscheck via http (ran from kickstart)
 wget "http://<yourspacewalkserver>/cblr/svc/op/ks/profile/<complete
profile name - get it using cobbler profile list>" -O /root/cobbler.ks
Now only one key (the right key ist shown).

Drawbacks: If you change something in the kickstartprofile via
webfrontend the key changes again.
/var/log/cobblerd.log shows that the user taskomatic_user changed the
key so the problem seemd to be in the taskomatic framework.

Franz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrV/jsACgkQOtlKZrKU05rhGQCgxR26a7Gh9Jtsyz0m02+UnjFo
yhYAoKa8sDcsBVoeqUk4dcmukyFhl7yp
=y/oB
-----END PGP SIGNATURE-----




More information about the Spacewalk-list mailing list