[Spacewalk-list] Spacewalk 0.8.43, problem with channel activation keys and child_channels

Bushby, Bruce (London)(c) bbushby at maninvestments.com
Tue Feb 16 11:57:36 UTC 2010


Hi
 
Has anybody else experienced a problem with channel keys and associating
"child channels" to the channel key?
 
I modified the "create_channel.py" script so that it accepts the parent
channel option, that way I could create a parent channel and then create
child channels
under the parent.
 
I then ran the script and it created my channel and the child channels,
as can be seen from the below "rhn-satellite-exporter --list-channels":
 B centos-5.4-x86_64-server
 C       centos-5.4-x86_64-centosplus
 C       centos-5.4-x86_64-extras
 C       centos-5.4-x86_64-updates
 
I then used spacewalk-repo-sync and populated the 4 channels.
Everything appeared to work flawlessly.
 
I then created a channel key, specifying the (B)ase channel
"centos-5.4-x86_64-server" which also worked fine. I then clicked on
"Activation keys", then selected the key and then
clicked "child Channels" and thats when I get a "500 Error - Internal
Server Error"
 
I appear to be missing: var/www/html/javascript/prototype-1.js
 
I have attached my scripts in case someone finds them usefull.
 
 
 
The logs:
 
/var/log/httpd/ssl_access_log:
10.44.83.95 - - [16/Feb/2010:11:21:01 +0000] "POST
/rhn/dwr/call/plaincall/PendingActionsRenderer.renderAsync.dwr HTTP/1.1"
200 917
10.44.83.95 - - [16/Feb/2010:11:21:01 +0000] "POST
/rhn/dwr/call/plaincall/InactiveSystemsRenderer.renderAsync.dwr
HTTP/1.1" 200 727
10.44.83.95 - - [16/Feb/2010:11:21:01 +0000] "POST
/rhn/dwr/call/plaincall/SystemGroupsRenderer.renderAsync.dwr HTTP/1.1"
200 1364
10.44.83.95 - - [16/Feb/2010:11:21:01 +0000] "POST
/rhn/dwr/call/plaincall/CriticalSystemsRenderer.renderAsync.dwr
HTTP/1.1" 200 1812
10.44.83.95 - - [16/Feb/2010:11:21:01 +0000] "POST
/rhn/dwr/call/plaincall/TasksRenderer.renderAsync.dwr HTTP/1.1" 200 2005
10.44.83.95 - - [16/Feb/2010:11:21:01 +0000] "POST
/rhn/dwr/call/plaincall/LatestErrataRenderer.renderAsync.dwr HTTP/1.1"
200 813
10.44.83.95 - - [16/Feb/2010:11:21:01 +0000] "POST
/rhn/dwr/call/plaincall/RecentSystemsRenderer.renderAsync.dwr HTTP/1.1"
200 3910
10.44.83.95 - - [16/Feb/2010:11:21:03 +0000] "GET
/rhn/software/channels/All.do HTTP/1.1" 200 26682
10.44.83.95 - - [16/Feb/2010:11:21:06 +0000] "GET
/rhn/systems/Overview.do HTTP/1.1" 200 19823
10.44.83.95 - - [16/Feb/2010:11:21:08 +0000] "GET
/rhn/activationkeys/List.do HTTP/1.1" 200 12894
10.44.83.95 - - [16/Feb/2010:11:21:09 +0000] "GET
/rhn/activationkeys/Edit.do?tid=1 HTTP/1.1" 200 11397
10.44.83.95 - - [16/Feb/2010:11:21:26 +0000] "GET
/network/account/activation_keys/child_channels.pxt?tid=1 HTTP/1.1" 500
3053
10.44.83.95 - - [16/Feb/2010:11:21:26 +0000] "GET
/javascript/prototype-1.js HTTP/1.1" 404 2832

/var/log/httpd/ssl_error_log:
[Tue Feb 16 11:21:26 2010] [alert] [client 10.44.83.95]
/var/www/html/network/.htaccess: Can't locate PXT/Debug.pm in @INC (@INC
contains: /var/www/lib
/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl . /etc/httpd) at
/usr/lib/perl5/vendor_perl/5.10.0/RHN/DB/Org.pm line 29.\nBEGIN
failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.10.0/RHN/DB/Org.pm line 29.\nCompilation
failed in require at /usr/lib/perl5/vendor_perl/5.10.0/RHN/Org.pm line
20.\nBEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.10.0/RHN/Org.pm line 20.\nCompilation
failed in require at /usr/lib/perl5/vendor_perl/5.10.0/RHN/DB/User.pm
line 33.\nBEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.10.0/RHN/DB/User.pm line 33.\nCompilation
failed in require at /usr/lib/perl5/vendor_perl/5.10.0/RHN/User.pm line
20.\nBEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.10.0/RHN/User.pm line 20.\nCompilation
failed in require at /usr/lib/perl5/vendor_perl/5.10.0/PXT/Request.pm
line 21.\nBEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.10.0/PXT/Request.pm line 21.\nCompilation
failed in require at
/usr/lib/perl5/vendor_perl/5.10.0/PXT/ApacheHandler.pm line 40.\nBEGIN
failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.10.0/PXT/ApacheHandler.pm line
40.\nCompilation failed in require at (eval 9) line 3.\n, referer: 
https://spacewalk/rhn/activationkeys/Edit.do?tid=1
[Tue Feb 16 11:21:26 2010] [error] [client 10.44.83.95] File does not
exist: /var/www/html/javascript/prototype-1.js, referer: 
https://spacewalk/network/account/activation_keys/child_channels.pxt?tid
=1
<https://spacewalk/network/account/activation_keys/child_channels.pxt?ti
d=1> 

 
I've been using the nightly build:
root at spacewalk:/var/log/httpd > rpm -qa | grep -i spacewalk | grep back
spacewalk-backend-package-push-server-0.8.43-1.fc12.noarch
spacewalk-backend-xmlrpc-0.8.43-1.fc12.noarch
spacewalk-backend-config-files-0.8.43-1.fc12.noarch
spacewalk-backend-iss-0.8.43-1.fc12.noarch
spacewalk-backend-iss-export-0.8.43-1.fc12.noarch
spacewalk-backend-server-0.8.43-1.fc12.noarch
spacewalk-backend-applet-0.8.43-1.fc12.noarch
spacewalk-backend-sql-0.8.43-1.fc12.noarch
spacewalk-backend-xp-0.8.43-1.fc12.noarch
spacewalk-backend-libs-0.8.43-1.fc12.noarch
spacewalk-backend-config-files-common-0.8.43-1.fc12.noarch
spacewalk-backend-config-files-tool-0.8.43-1.fc12.noarch
spacewalk-backend-xml-export-libs-0.8.43-1.fc12.noarch
spacewalk-backend-app-0.8.43-1.fc12.noarch
spacewalk-backend-tools-0.8.43-1.fc12.noarch
spacewalk-backend-0.8.43-1.fc12.noarch

 
 
 
 
 
 
Bruce Bushby
Unix Engineering
Technology Group
Man Investments, 100 Lower Thames Street, London,EC3R 6DL
Desk: +44 (0) 207 144 3903
Mobile: +44 (0) 7887711769
 

**********************************************************************
 Please consider the environment before printing this email or its attachments.
The contents of this email are for the named addressees only.  It contains information which may be confidential and privileged.  If you are not the intended recipient, please notify the sender immediately, destroy this email and any attachments and do not otherwise disclose or use them. Email transmission is not a secure method of communication and Man Investments cannot accept responsibility for the completeness or accuracy of this email or any attachments. Whilst Man Investments makes every effort to keep its network free from viruses, it does not accept responsibility for any computer virus which might be transferred by way of this email or any attachments. This email does not constitute a request, offer, recommendation or solicitation of any kind to buy, subscribe, sell or redeem any investment instruments or to perform other such transactions of any kind. Man Investments reserves the right to monitor, record and retain all electronic communications through its network to ensure the integrity of its systems, for record keeping and regulatory purposes. 
Visit us at: www.maninvestments.com 
TG0908
**********************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100216/d33e2800/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sync_channels.sh.txt
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100216/d33e2800/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: create_channel.py.txt
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100216/d33e2800/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: create_channels.sh.txt
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100216/d33e2800/attachment-0002.txt>


More information about the Spacewalk-list mailing list