Rhn_check –vv has exact same output. Interestingly, it works if you schedule a re-kickstart of the server.
On the server, /var/log/httpd/error_log has more details: [Mon Jun 05 15:56:44.465907 2017] [:error] [pid 5855] Extra information about this error: [Mon Jun 05 15:56:44.465911 2017] [:error] [pid 5855] Response sent back to the caller: [Mon Jun 05 15:56:44.465913 2017] [:error] [pid 5855] While running 'queue.get': caught [Mon Jun 05 15:56:44.465915 2017] [:error] [pid 5855] <type 'exceptions.TypeError'> : ipaddr() takes exactly 1 argument (2 given) [Mon Jun 05 15:56:44.465917 2017] [:error] [pid 5855] [Mon Jun 05 15:56:44.465918 2017] [:error] [pid 5855] [Mon Jun 05 15:56:44.465919 2017] [:error] [pid 5855] [Mon Jun 05 15:56:44.465921 2017] [:error] [pid 5855] Exception Handler Information [Mon Jun 05 15:56:44.465922 2017] [:error] [pid 5855] Traceback (most recent call last): [Mon Jun 05 15:56:44.465924 2017] [:error] [pid 5855] File "/usr/lib/python2.7/site-packages/spacewalk/server/apacheRequest.py", line 135, in call_function [Mon Jun 05 15:56:44.465932 2017] [:error] [pid 5855] response = func(*params) [Mon Jun 05 15:56:44.465934 2017] [:error] [pid 5855] File "/usr/share/rhn/server/handlers/xmlrpc/queue.py", line 361, in get [Mon Jun 05 15:56:44.465936 2017] [:error] [pid 5855] ret = self.__getV2(action) [Mon Jun 05 15:56:44.465937 2017] [:error] [pid 5855] File "/usr/share/rhn/server/handlers/xmlrpc/queue.py", line 95, in __getV2 [Mon Jun 05 15:56:44.465939 2017] [:error] [pid 5855] result = method(self.server_id, action['id'], dry_run) [Mon Jun 05 15:56:44.465941 2017] [:error] [pid 5855] File "/usr/lib/python2.7/site-packages/spacewalk/server/action/configfiles.py", line 105, in deploy [Mon Jun 05 15:56:44.465942 2017] [:error] [pid 5855] return _get_files(server_id, action_id) [Mon Jun 05 15:56:44.465945 2017] [:error] [pid 5855] File "/usr/lib/python2.7/site-packages/spacewalk/server/action/configfiles.py", line 173, in _get_files [Mon Jun 05 15:56:44.465946 2017] [:error] [pid 5855] files.append(format_file_results(row, server=server)) [Mon Jun 05 15:56:44.465948 2017] [:error] [pid 5855] File "/usr/lib/python2.7/site-packages/spacewalk/server/configFilesHandler.py", line 523, in format_file_results [Mon Jun 05 15:56:44.465950 2017] [:error] [pid 5855] contents = interpolator.interpolate(contents) [Mon Jun 05 15:56:44.465952 2017] [:error] [pid 5855] File "/usr/lib/python2.7/site-packages/spacewalk/server/config_common/base_templated_document.py", line 87, in interpolate [Mon Jun 05 15:56:44.465954 2017] [:error] [pid 5855] return self.regex.sub(self.repl_func, data) [Mon Jun 05 15:56:44.465956 2017] [:error] [pid 5855] File "/usr/lib/python2.7/site-packages/spacewalk/server/config_common/base_templated_document.py", line 77, in repl_func [Mon Jun 05 15:56:44.465957 2017] [:error] [pid 5855] return self._repl_func(match_object) [Mon Jun 05 15:56:44.465959 2017] [:error] [pid 5855] File "/usr/lib/python2.7/site-packages/spacewalk/server/config_common/base_templated_document.py", line 98, in _repl_func [Mon Jun 05 15:56:44.465961 2017] [:error] [pid 5855] return self.call(fname, params, defval) [Mon Jun 05 15:56:44.465963 2017] [:error] [pid 5855] File "/usr/lib/python2.7/site-packages/spacewalk/server/config_common/base_templated_document.py", line 149, in call [Mon Jun 05 15:56:44.465965 2017] [:error] [pid 5855] result = f(*params) [Mon Jun 05 15:56:44.465966 2017] [:error] [pid 5855] TypeError: ipaddr() takes exactly 1 argument (2 given) [Mon Jun 05 15:56:44.465971 2017] [:error] [pid 5855] Justin Ames, RHCSA System Administrator | Guardian Research Network [cid:[email protected]] 397-C Serpentine Dr | Spartanburg, SC 29303 o: 864-560-5058 | c: 864-359-9050 e: [email protected] <mailto:[email protected]> | w: GuardianResearch.org<http://www.guardianresearch.org/> Confidentiality Notice: This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. From: [email protected] [mailto:[email protected]] On Behalf Of William H. ten Bensel Sent: Friday, June 09, 2017 11:52 AM To: [email protected] Subject: Re: [Spacewalk-list] Issues with kickstarted systems. [External] Be aware: [This message came from outside of Spartanburg Regional Network] On the client side, could you run rhn_check -vv. Any additional errors in /var/log/up2date? On the server side, are there any errors in /var/log/rhn/rhn_server_xmlrpc.log? - Thanks and good luck From: "Ames, Justin" <[email protected]<mailto:[email protected]>> To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: 06/09/2017 08:55 AM Subject: Re: [Spacewalk-list] Issues with kickstarted systems. [External] Sent by: [email protected]<mailto:[email protected]> ________________________________ Thanks for the help, but I have discovered that this issue: Could not retrieve action item from server <RetryServer for spacewalk.xxx.lan/XMLRPC> Error code: 1While running 'queue.get': caught <type 'exceptions.TypeError'> : ipaddr() takes exactly 1 argument (2 given) Is happening on all my systems now… Thanks, Justin Ames, RHCSA System Administrator | Guardian Research Network [cid:[email protected]] 397-C Serpentine Dr | Spartanburg, SC 29303 o: 864-560-5058 | c: 864-359-9050 e: [email protected] <mailto:[email protected]> | w:GuardianResearch.org<http://www.guardianresearch.org/> Confidentiality Notice: This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of William H. ten Bensel Sent: Thursday, June 08, 2017 3:34 PM To: [email protected]<mailto:[email protected]> Subject: Re: [Spacewalk-list] Issues with kickstarted systems. [External] Be aware: [This message came from outside of Spartanburg Regional Network] I have updated the bug/enhancement request to see if it is possible to separate out the "Registration and server actions" into two sections of 1. download/install of rpms and 2. registration. Then with that being separated, allow the admin to enable/disable the download/install of rpms in the scripts section. This would still allow support for older distributions or distributions that do not come with the rhn packages. This would also allow for distributions with newer/older packages to still function without the worry of "pune to puny" issues and allow admins the ability to specify a specific repo/channel in the kickstart AND the packages to install in the software section of the kickstart. - Thanks and good luck From: "William H. ten Bensel" <[email protected]<mailto:[email protected]>> To: [email protected]<mailto:[email protected]> Date: 06/08/2017 12:29 PM Subject: Re: [Spacewalk-list] Issues with kickstarted systems. Sent by: [email protected]<mailto:[email protected]> ________________________________ This email originated from outside of the company. Please use discretion if opening attachments or clicking on links. ________________________________ The registration issues, during kickstart and manual, are related... The registration failure is caused by the kickstart script, "Registration and server actions" as it does not do dependency checks when doing the following command: rpm -Uvh --replacepkgs --replacefiles /tmp/rhn_rpms/optional/pyOpenSSL* /tmp/rhn_rpms/optional/rhnlib* /tmp/rhn_rpms/optional/libxml2-python* /tmp/rhn_rpms/optional/libxml2* I had the same exact problem (https://www.redhat.com/archives/spacewalk-list/2015-November/msg00130.html) and the following scripts were the only way that I could figure it out. Hope this helps... - Thanks and good luck Systems -> kickstart -> profile -> name -> Scripts -> The following script needs to come BEFORE "Registration and server actions" Script Name: FIX_REGISTRATION_BUG Script Execution Time: Post Script nochroot (YES, checked) Template(YES, checked) Script Contents: ( I created a snippet, because I use it in ALL of my kickstarts). $SNIPPET('spacewalk/1/FIX_REGISTRATION_BUG') Contents of snippet: if [ -f /mnt/sysimage/bin/rpm ]; then mv -f /mnt/sysimage/bin/rpm /mnt/sysimage/bin/origrpm echo '#!/bin/bash' > /mnt/sysimage/bin/rpm echo '#This script is to prevent newer versions of rhn, libxml, pyOpenSSL from being installed' >> /mnt/sysimage/bin/rpm echo '#Hack around https://bugzilla.redhat.com/show_bug.cgi?id=1280167'>> /mnt/sysimage/bin/rpm echo '#The post nochroot script, will mv /mnt/sysimage/bin/rpm to /mnt/sysimage/bin/origrpm and add the following to rpm' >> /mnt/sysimage/bin/rpm echo '#Then in the first post snippet, mv -f /bin/origrpm /bin/rpm.' >> /mnt/sysimage/bin/rpm echo ' ' >> /mnt/sysimage/bin/rpm echo 'if [[ "$@" =~ "Uvh" ]]; then' >> /mnt/sysimage/bin/rpm echo ' echo "Not installing \"$@\""' >> /mnt/sysimage/bin/rpm echo 'else' >> /mnt/sysimage/bin/rpm echo ' isLinux7=`grep "release 7" /etc/redhat-release`' >> /mnt/sysimage/bin/rpm echo ' if [[ "$@" =~ "--import" ]] && [[ -n "$isLinux7" ]]; then' >> /mnt/sysimage/bin/rpm echo ' /bin/rpmkeys "$@"' >> /mnt/sysimage/bin/rpm echo ' else' >> /mnt/sysimage/bin/rpm echo ' /bin/origrpm "$@"' >> /mnt/sysimage/bin/rpm echo ' fi' >> /mnt/sysimage/bin/rpm echo 'fi' >> /mnt/sysimage/bin/rpm chmod 755 /mnt/sysimage/bin/rpm which rpm fi The following script needs to come AFTER "Registration and server actions" Script Name: RESTORE_RPM Script Execution Time: Post Script Template(YES, checked) Script Contents: ( I created a snippet, because I use it in ALL of my kickstarts). $SNIPPET('spacewalk/1/RESTORE_RPM') Contents of snippet: # https://bugzilla.redhat.com/show_bug.cgi?id=1280167 # changing back from FIX_REGISTRATION_BUG Snippet if [ -f /bin/origrpm ]; then mv -f /bin/origrpm /bin/rpm echo "moved rpm back" fi From: "Ames, Justin" <[email protected]<mailto:[email protected]>> To: "'[email protected]'" <[email protected]<mailto:[email protected]>> Date: 06/08/2017 11:48 AM Subject: [Spacewalk-list] Issues with kickstarted systems. Sent by: [email protected]<mailto:[email protected]> ________________________________ This email originated from outside of the company. Please use discretion if opening attachments or clicking on links. ________________________________ I am having issues with my kickstarted CentOS systems. First they do not register due to the change from pune to puny between the rhntools in the CentOS 7.3 base. Then when I do register them, I get: Could not retrieve action item from server <RetryServer for spacewalk.grn.lan/XMLRPC> Error code: 1While running 'queue.get': caught <type 'exceptions.TypeError'> : ipaddr() takes exactly 1 argument (2 given) After that I also get it when I run rhn_check. Anyone have any ideas were to look to see what is happening? Thanks, Justin Ames, RHCSA This email originated from outside of the company. Please use discretion if opening attachments or clicking on links. _______________________________________________ Spacewalk-list mailing list [email protected]<mailto:[email protected]> https://www.redhat.com/mailman/listinfo/spacewalk-list ** This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies. **This email originated from outside of the company. Please use discretion if opening attachments or clicking on links. _______________________________________________ Spacewalk-list mailing list [email protected]<mailto:[email protected]> https://www.redhat.com/mailman/listinfo/spacewalk-list ** This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies. **This email originated from outside of the company. Please use discretion if opening attachments or clicking on links. _______________________________________________ Spacewalk-list mailing list [email protected]<mailto:[email protected]> https://www.redhat.com/mailman/listinfo/spacewalk-list ** This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies. **
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
