Description of problem: See steps. Version-Release number of selected component (if applicable): Satellite-5.4.0-RHEL5-re20101001.1 How reproducible: Every time on 1 fresh installed sat. Steps to Reproduce: 1. Have 3 machines: sat540, rhel5 kvm-host, rhel5 kvm-guest. 1. #satellite-sync -c rhn-tools-rhel-x86_64-server-5 -c rhel-x86_64-server-vt-5 -c rhel-x86_64-server-5 (with all content) 2. Register kvm-host 3. Register kvm-guest 4. WEBUI: Add [Virtualization] entitlement to the kvm-host. 5. #rhn_check on kvm-host (this will fail, because 'yum clean repodata' was not issued!) 6. WEBUI: kvm-host -> Events (500 Error - Internal Server Error) Actual results: 500 Error - Internal Server Error Expected results: Enable [Virtualization] and no ISE Additional info: catalina.out is silent.
Created attachment 451845 [details] Systems -> Systems -> Virtual Systems No host machine is show on the VirtualSystems page. Which is weird to me, because even when host system is not registered there is at least item like: * Host: (Unknown Host)
From /var/log/httpd/ssl_error_log: [Thu Oct 07 02:55:35 2010] [error] [client 10.34.27.115] Can't locate object method "initialize_pxt" via package "PXT::ApacheHandler" at /usr/lib/perl5/vendor_perl/5.8.8/PXT/ApacheAuth.pm line 38.\n, referer: https://hp-z600-01.rhts.eng.bos.redhat.com/rhn/systems/details/SystemHardware.do?sid=1000010000 [Thu Oct 07 02:55:36 2010] [error] [client 10.34.27.115] Can't locate object method "initialize_pxt" via package "PXT::ApacheHandler" at /usr/lib/perl5/vendor_perl/5.8.8/PXT/ApacheAuth.pm line 38.\n, referer: https://hp-z600-01.rhts.eng.bos.redhat.com/rhn/systems/details/SystemHardware.do?sid=1000010000 [Thu Oct 07 02:55:36 2010] [alert] [client 10.34.27.115] /var/www/html/network/.htaccess: Errno architecture (x86_64-linux-thread-multi-2.6.18-194.8.1.el5) does not match executable architecture (x86_64-linux-thread-multi-2.6.18-128.1.10.el5) at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Errno.pm line 11.\nCompilation failed in require at /usr/lib/perl5/5.8.8/File/Temp.pm line 138.\nBEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/File/Temp.pm line 138.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/RHN/Cert.pm line 22.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/RHN/Cert.pm line 22.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/RHN/SatelliteCert.pm line 20.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/RHN/SatelliteCert.pm line 20.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/RHN/SatInstall.pm line 39.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/RHN/SatInstall.pm line 39.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/RHN/Session.pm line 22.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/RHN/Session.pm line 22.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/PXT/Request.pm line 20.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/PXT/Request.pm line 20.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/PXT/ApacheHandler.pm line 40.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/PXT/ApacheHandler.pm line 40.\nCompilation failed in require at (eval 7) line 3.\n, referer: https://hp-z600-01.rhts.eng.bos.redhat.com/rhn/systems/details/SystemHardware.do?sid=1000010000 From /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Errno.pm: "$Config{'archname'}-$Config{'osvers'}" eq "x86_64-linux-thread-multi-2.6.18-194.8.1.el5" or die "Errno architecture (x86_64-linux-thread-multi-2.6.18-194.8.1.el5) does not match executable architecture ($Config{'archname'}-$Config{'osvers'})"; so "$Config{'archname'}-$Config{'osvers'}" needs to match "x86_64-linux-thread-multi-2.6.18-194.8.1.el5" (in this particular build of perl of course). My theory of the problem: 1. RHEL-5.5 was installed 2. Satellite 5.4 was installed and started, during which mod_perl was loaded into memory 3. Packages were upgraded on the system (perl package included) 4. A .pxt page was clicked during which: * the 'osvers' value as defined in Config.pm was showing the old value (as loaded in the memory) * the Errno.pm was loaded in the memory, during which it die()d (the eq test in Errno.pm failed) * some of the eval{} blocks in PXT::ApacheHandler.pm failed and gave us the error we saw Anyway, simple /usr/sbin/rhn-satellite restart helped to resolve the problem. I'm closing this with worksforme. This is very corner-case type of a problem and frankly there's not much we can do about it in Satellite.