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

I've done a little hacking on this system before so not sure if there's
any deps still missing that I'd previously installed manually, but
today it was only missing perl-Apache-Admin-Config, manually installing
it got spacewalk deps to resolve and install:

http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/fc8/i386/RPMS.dries/perl-Apache-Admin-Config-0.94-1.fc8.rf.noarch.rpm

Note this is using the  Fedora 10 nightly devel repo at:

http://miroslav.suchy.cz/spacewalk/nightly-candidate-f10/i386/os/

Dennis any luck establishing what the deal is with this package and how
we plan to tackle it?

Once packages are installed the real fun begins, during spacewalk-setup
I get a problem:

** Loading Spacewalk Certificate.
** Verifying certificate locally.
** Activating Spacewalk.
There was a problem activating the satellite: Local activation failure.

ERROR: RHN Entitlement Certificate failed to validate: 
Exception reported from elaine.dangerouslyinc.com
Time: Sun Feb 15 13:24:11 2009
Exception type <type 'exceptions.KeyError'>

Exception Handler Information
Traceback (most recent call last):
  File "/usr/share/rhn/satellite_tools/rhn_satellite_activate.py", line
203, in activateSatellite_lo
cal
    satCerts.storeRhnCert(cert, check_generation=1,
check_version=not(options.ignore_version_mismatc
h))
  File "/usr/share/rhn/satellite_tools/satCerts.py", line 294, in
storeRhnCert
    set_slots_from_cert(sc)
  File "/usr/share/rhn/satellite_tools/satCerts.py", line 125, in
set_slots_from_cert
    monSupportedYN = not not getInstalledHeader("NPalert")
  File "/usr/share/rhn/common/rhn_rpm.py", line 159, in __getattr__
    return getattr(self.hdr, name)
KeyError: 'unknown header tag'

Ran a couple prints for this getattr calls:
self.hdr = <rpm.hdr object at 0x8ae73c0>
name = __nonzero__

Still debugging why this is failing in Fedora but the code is checking
if NPAlert is installed and if so, assuming we want to enable
monitoring. In my case I don't so, granted this is getting very hacky
now, you can edit /usr/share/rhn/satellite_tools/satCerts.py and remove
the references to monSupportedYN. (one was actually completely unused,
took this out in git commit e474fbb995501481f9f28b6603d1c0a053527023)
Will investigate this further.

After this hack, spacewalk-setup completes, but it looks like services
don't come up and I see a NPE in tomcat5's catalina.out:

java.lang.NoClassDefFoundError:
org/apache/commons/collections/SequencedHashMap

That's as far as I've gotten so far.

Getting there...

Devan



- -- 
  Devan Goodwin <[email protected]>
  Software Engineer     Spacewalk / RHN Satellite
  Halifax, Canada       650.567.9039x79267
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkmYVuwACgkQAyHWaPV9my7fcACfaofLETAsY+cNBD80TK26c9L0
Xp8AoMYaUZwFdpX72spChhZpKbhsSnC+
=gytT
-----END PGP SIGNATURE-----

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to