<font size=2 face="sans-serif">On the client side, could you run rhn_check
-vv.  Any additional errors in /var/log/up2date?</font><br><br><font size=2 face="sans-serif">On the server side, are there any errors
in /var/log/rhn/rhn_server_xmlrpc.log?</font><br><br><font size=2 face="sans-serif">- Thanks and good luck</font><br><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">"Ames, Justin"
<james@guardianresearch.org></font><br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">"spacewalk-list@redhat.com"
<spacewalk-list@redhat.com></font><br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">06/09/2017 08:55 AM</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Re: [Spacewalk-list]
Issues with kickstarted systems. [External]</font><br><font size=1 color=#5f5f5f face="sans-serif">Sent by:    
   </font><font size=1 face="sans-serif">spacewalk-list-bounces@redhat.com</font><br><hr noshade><br><br><br><font size=2 face="Calibri">Thanks for the help, but I have discovered
that this issue:</font><br><font size=2 face="Calibri">Could not retrieve action item from server
<RetryServer for spacewalk.xxx.lan/XMLRPC></font><br><font size=2 face="Calibri">Error code: 1While running 'queue.get':
caught</font><br><font size=2 face="Calibri"><type 'exceptions.TypeError'> : ipaddr()
takes exactly 1 argument (2 given)</font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Calibri">Is happening on all my systems now…</font><br><font size=2 face="Calibri">Thanks,</font><br><font size=2 face="Calibri"><b>Justin Ames, RHCSA</b></font><br><font size=2 color=#004080 face="Calibri">System Administrator | Guardian
Research Network</font><br><font size=2 face="Calibri"> </font><br><img src=cid:_4_0CA150040CA14D980057248C8625813A style="border:0px solid;"><br><font size=2 face="Calibri"> </font><br><font size=2 color=#004080 face="Calibri">397-C Serpentine Dr | Spartanburg,
SC 29303</font><br><font size=2 color=#004080 face="Calibri">o: 864-560-5058 | c: 864-359-9050</font><br><font size=2 color=#2f2f2f face="Calibri">e: </font><a href=mailto:james@guardianresearch.org><font size=2 color=blue face="Calibri"><u>james@guardianresearch.org
</u></font></a><font size=2 color=#2f2f2f face="Calibri"> | w:</font><a href=http://www.guardianresearch.org/><font size=2 color=#2f2f2f face="Calibri"><u>GuardianResearch.org</u></font></a><br><font size=2 color=#0041c2 face="Calibri"><b><i>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.</i></b></font><br><font size=2 face="Calibri"> </font><br><font size=2 face="Calibri"><b>From:</b> spacewalk-list-bounces@redhat.com
[</font><a href="mailto:spacewalk-list-bounces@redhat.com"><font size=2 face="Calibri">mailto:spacewalk-list-bounces@redhat.com</font></a><font size=2 face="Calibri">]
<b>On Behalf Of </b>William H. ten Bensel<b><br>Sent:</b> Thursday, June 08, 2017 3:34 PM<b><br>To:</b> spacewalk-list@redhat.com<b><br>Subject:</b> Re: [Spacewalk-list] Issues with kickstarted systems. [External]</font><br><font size=3 face="Times New Roman"> </font><br><font size=3 face="Arial">Be aware: [This message came from outside
of Spartanburg Regional Network]</font><br><font size=3 face="Arial"> </font><br><font size=2 face="Arial">I have updated the bug/enhancement request
to see if it is possible to separate out the </font><font size=2 color=#4f4f4f face="Arial">"Registration
and server actions</font><font size=2 face="Arial">" 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.</font><font size=3 face="Times New Roman"><br></font><font size=2 face="Arial"><br>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.</font><font size=3 face="Times New Roman"><br></font><font size=2 face="Arial"><br>- Thanks and good luck</font><font size=3 face="Times New Roman"><br><br><br><br></font><font size=1 color=#5f5f5f face="Arial"><br>From:        </font><font size=1 face="Arial">"William
H. ten Bensel" <</font><a href=mailto:WHTENBEN@up.com><font size=1 color=blue face="Arial"><u>WHTENBEN@up.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><a href="mailto:spacewalk-list@redhat.com"><font size=1 color=blue face="Arial"><u>spacewalk-list@redhat.com</u></font></a><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">06/08/2017
12:29 PM</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">Re:
[Spacewalk-list] Issues with kickstarted systems.</font><font size=1 color=#5f5f5f face="Arial"><br>Sent by:        </font><a href="mailto:spacewalk-list-bounces@redhat.com"><font size=1 color=blue face="Arial"><u>spacewalk-list-bounces@redhat.com</u></font></a><div align=center><hr noshade></div><br><font size=3 face="Times New Roman"><br><br><br>This email originated from outside of the company. Please use discretion
if opening attachments or clicking on links. </font><div align=center><hr></div><br><font size=3 face="Times New Roman">  </font><p><font size=2 face="Arial">The registration issues, during kickstart
and manual, are related...     The registration failure is caused
by the kickstart script, </font><font size=2 color=#4f4f4f face="Arial">"Registration
and server actions</font><font size=2 face="Arial">"  as it does
not do dependency checks when doing the following command:<br>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*
<br><br>I had the same exact problem (</font><a href="https://www.redhat.com/archives/spacewalk-list/2015-November/msg00130.html"><font size=2 color=blue face="Arial"><u>https://www.redhat.com/archives/spacewalk-list/2015-November/msg00130.html</u></font></a><font size=2 face="Arial">)
and the following scripts were the only way that I could figure it out.
   <br><br>Hope this helps...<br><br>- Thanks and good luck</font><font size=3 face="Times New Roman"><br></font><font size=2 face="Arial"><br><br>Systems -> kickstart -> profile -> name -> Scripts ->  
<br><br>The following script needs to come BEFORE "</font><font size=2 color=#4f4f4f face="Arial">Registration
and server actions</font><font size=2 face="Arial">"<br><br>Script Name: FIX_REGISTRATION_BUG<br>Script Execution Time: Post Script<br>nochroot (YES, checked)<br>Template(YES, checked)<br><br>Script Contents:  ( I created a snippet, because I use it in ALL of
my kickstarts).<br>$SNIPPET('spacewalk/1/FIX_REGISTRATION_BUG')<br><br>Contents of snippet:<br><br>if [ -f /mnt/sysimage/bin/rpm ]; then<br>               mv -f /mnt/sysimage/bin/rpm
/mnt/sysimage/bin/origrpm<br>               echo '#!/bin/bash' >
/mnt/sysimage/bin/rpm<br>               echo '#This script is
to prevent newer versions of rhn, libxml, pyOpenSSL from being installed'
>> /mnt/sysimage/bin/rpm<br>               echo '#Hack around </font><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1280167'"><font size=2 color=blue face="Arial"><u>https://bugzilla.redhat.com/show_bug.cgi?id=1280167'</u></font></a><font size=2 face="Arial">>>
/mnt/sysimage/bin/rpm<br>               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<br>               echo '#Then in the first
post snippet, mv -f /bin/origrpm /bin/rpm.' >> /mnt/sysimage/bin/rpm<br>               echo ' ' >> /mnt/sysimage/bin/rpm<br>               echo 'if [[ "$@"
=~ "Uvh" ]]; then' >> /mnt/sysimage/bin/rpm<br>               echo '    echo
"Not installing \"$@\""' >> /mnt/sysimage/bin/rpm<br>               echo 'else' >>
/mnt/sysimage/bin/rpm<br>               echo '    isLinux7=`grep
"release 7" /etc/redhat-release`' >> /mnt/sysimage/bin/rpm<br>               echo '    if
[[ "$@" =~ "--import" ]] && [[ -n "$isLinux7"
]]; then' >> /mnt/sysimage/bin/rpm<br>               echo '    
       /bin/rpmkeys "$@"' >> /mnt/sysimage/bin/rpm<br>               echo '    else'
>> /mnt/sysimage/bin/rpm<br>               echo '    
   /bin/origrpm "$@"' >> /mnt/sysimage/bin/rpm<br>               echo '    fi'
>> /mnt/sysimage/bin/rpm<br>               echo 'fi' >> /mnt/sysimage/bin/rpm<br>               chmod 755 /mnt/sysimage/bin/rpm<br>               which rpm<br>fi<br><br><br>The following script needs to come AFTER "</font><font size=2 color=#4f4f4f face="Arial">Registration
and server actions</font><font size=2 face="Arial">"<br><br>Script Name: RESTORE_RPM<br>Script Execution Time: Post Script<br>Template(YES, checked)<br><br>Script Contents:  ( I created a snippet, because I use it in ALL of
my kickstarts).<br>$SNIPPET('spacewalk/1/RESTORE_RPM')<br><br><br>Contents of snippet:<br><br># </font><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1280167"><font size=2 color=blue face="Arial"><u>https://bugzilla.redhat.com/show_bug.cgi?id=1280167</u></font></a><font size=2 face="Arial"><br># changing back from FIX_REGISTRATION_BUG Snippet<br>if [ -f /bin/origrpm ]; then<br>  mv -f /bin/origrpm /bin/rpm<br>  echo "moved rpm back"<br>fi</font><font size=3 face="Times New Roman"><br><br><br><br><br><br></font><font size=1 color=#5f5f5f face="Arial"><br><br>From:        </font><font size=1 face="Arial">"Ames,
Justin" <</font><a href=mailto:james@guardianresearch.org><font size=1 color=blue face="Arial"><u>james@guardianresearch.org</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>To:        </font><font size=1 face="Arial">"'spacewalk-list@redhat.com'"
<</font><a href="mailto:spacewalk-list@redhat.com"><font size=1 color=blue face="Arial"><u>spacewalk-list@redhat.com</u></font></a><font size=1 face="Arial">></font><font size=1 color=#5f5f5f face="Arial"><br>Date:        </font><font size=1 face="Arial">06/08/2017
11:48 AM</font><font size=1 color=#5f5f5f face="Arial"><br>Subject:        </font><font size=1 face="Arial">[Spacewalk-list]
Issues with kickstarted systems.</font><font size=1 color=#5f5f5f face="Arial"><br>Sent by:        </font><a href="mailto:spacewalk-list-bounces@redhat.com"><font size=1 color=blue face="Arial"><u>spacewalk-list-bounces@redhat.com</u></font></a><div align=center><hr noshade></div><br><font size=3 face="Times New Roman"><br><br><br>This email originated from outside of the company. Please use discretion
if opening attachments or clicking on links. </font><div align=center><hr></div><br><font size=3 face="Times New Roman"> </font><font size=2 face="Calibri"><br>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:<br>Could not retrieve action item from server <RetryServer for spacewalk.grn.lan/XMLRPC><br>Error code: 1While running 'queue.get': caught<br><type 'exceptions.TypeError'> : ipaddr() takes exactly 1 argument
(2 given)<br><br>After that I also get it when I run rhn_check.<br><br>Anyone have any ideas were to look to see what is happening?<br><br>Thanks,<b><br><br>Justin Ames, RHCSA</b><br></font><font size=2 face="Courier New"><br>This email originated from outside of the company.  Please use discretion
if opening attachments or clicking on links.<br><br>_______________________________________________<br>Spacewalk-list mailing list</font><font size=2 color=blue face="Courier New"><u><br></u></font><a href="mailto:Spacewalk-list@redhat.com"><font size=2 color=blue face="Courier New"><u>Spacewalk-list@redhat.com</u></font></a><font size=3 color=blue face="Times New Roman"><u><br></u></font><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><font size=2 color=blue face="Courier New"><u>https://www.redhat.com/mailman/listinfo/spacewalk-list</u></font></a><font size=3 face="Times New Roman"><br><br><br><br><br>**<br><br><br><br>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.<br><br>**</font><font size=2 face="Courier New">This email originated from outside
of the company.  Please use discretion if opening attachments or clicking
on links.<br><br>_______________________________________________<br>Spacewalk-list mailing list</font><font size=2 color=blue face="Courier New"><u><br></u></font><a href="mailto:Spacewalk-list@redhat.com"><font size=2 color=blue face="Courier New"><u>Spacewalk-list@redhat.com</u></font></a><font size=3 color=blue face="Times New Roman"><u><br></u></font><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><font size=2 color=blue face="Courier New"><u>https://www.redhat.com/mailman/listinfo/spacewalk-list</u></font></a><font size=3 face="Times New Roman"></font><p><font size=3 face="Times New Roman"><br><br><br>**<br><br><br><br>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.<br><br>**</font><tt><font size=2>This email originated from outside of the company.
 Please use discretion if opening attachments or clicking on links.<br><br>_______________________________________________<br>Spacewalk-list mailing list<br>Spacewalk-list@redhat.com<br></font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><font size=2>https://www.redhat.com/mailman/listinfo/spacewalk-list</font></tt></a><p><p><BR>
<BR>
<BR>
**<BR>
<BR>
<BR>
<BR>
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.<BR>
<BR>
**<BR>