<div dir="ltr"><div>Here's my ks-rhn-post.log<br><br></div>Seems that the first issue is the libxml2 dependy but that particular version is on my child channel "centos6-x86_64-updates" what puzzle me though is why it's not being pick up.<br>
<div><div><br><br>[root@localhost ~]# cat ks-rhn-post.log<br>/tmp/ks-script-RBANet: line 100: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT: No such file or directory<br>Can't open /etc/sysconfig/rhn/up2date: No such file or directory.<br>
--2013-10-18 22:13:43--  <a href="http://192.168.152.129/download/package/740540d1b458a6e2bd900ee0af82e6da97ab37b5/0/4/3093/pyOpenSSL-0.10-2.el6.x86_64.rpm">http://192.168.152.129/download/package/740540d1b458a6e2bd900ee0af82e6da97ab37b5/0/4/3093/pyOpenSSL-0.10-2.el6.x86_64.rpm</a><br>
Connecting to 192.168.152.129:80... connected.<br>HTTP request sent, awaiting response... 200 OK<br>Length: 216752 (212K) [application/octet-stream]<br>Saving to: `/tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm'<br>
<br>     0K .......... .......... .......... .......... .......... 23% 6.05M 0s<br>    50K .......... .......... .......... .......... .......... 47% 6.28M 0s<br>   100K .......... .......... .......... .......... .......... 70% 8.56M 0s<br>
   150K .......... .......... .......... .......... .......... 94% 5.97M 0s<br>   200K .......... .                                          100% 4.55M=0.03s<br><br>2013-10-18 22:13:44 (6.41 MB/s) - `/tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm' saved [216752/216752]<br>
<br>--2013-10-18 22:13:44--  <a href="http://192.168.152.129/download/package/3ea5b0a6437725fcdfe569dc46867f16dd0c87b2/0/4/7972/rhnlib-2.5.65-1.el6.noarch.rpm">http://192.168.152.129/download/package/3ea5b0a6437725fcdfe569dc46867f16dd0c87b2/0/4/7972/rhnlib-2.5.65-1.el6.noarch.rpm</a><br>
Reusing existing connection to <a href="http://192.168.152.129:80">192.168.152.129:80</a>.<br>HTTP request sent, awaiting response... 200 OK<br>Length: 65208 (64K) [application/octet-stream]<br>Saving to: `/tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm'<br>
<br>     0K .......... .......... .......... .......... .......... 78% 9.91M 0s<br>    50K .......... ...                                        100% 2.19M=0.01s<br><br>2013-10-18 22:13:44 (5.63 MB/s) - `/tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm' saved [65208/65208]<br>
<br>--2013-10-18 22:13:44--  <a href="http://192.168.152.129/download/package/bdd293123a1c719a45099ac1e59d9643631e773b/0/4/6761/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm">http://192.168.152.129/download/package/bdd293123a1c719a45099ac1e59d9643631e773b/0/4/6761/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm</a><br>
Reusing existing connection to <a href="http://192.168.152.129:80">192.168.152.129:80</a>.<br>HTTP request sent, awaiting response... 200 OK<br>Length: 328816 (321K) [application/octet-stream]<br>Saving to: `/tmp/rhn_rpms/optional/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm'<br>
<br>     0K .......... .......... .......... .......... .......... 15% 11.1M 0s<br>    50K .......... .......... .......... .......... .......... 31% 5.45M 0s<br>   100K .......... .......... .......... .......... .......... 46% 2.99M 0s<br>
   150K .......... .......... .......... .......... .......... 62% 4.39M 0s<br>   200K .......... .......... .......... .......... .......... 77% 5.11M 0s<br>   250K .......... .......... .......... .......... .......... 93% 8.24M 0s<br>
   300K .......... .......... .                               100% 19.0M=0.06s<br><br>2013-10-18 22:13:44 (5.46 MB/s) - `/tmp/rhn_rpms/optional/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm' saved [328816/328816]<br><br>
FINISHED --2013-10-18 22:13:44--<br>Downloaded: 3 files, 596K in 0.1s (5.79 MB/s)<br>warning: /tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY<br>warning: /tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 863a853d: NOKEY<br>
error: Failed dependencies:<br>        libxml2 = 2.7.6-12.el6_4.1 is needed by libxml2-python-2.7.6-12.el6_4.1.x86_64<br>Can't open /etc/sysconfig/rhn/up2date: No such file or directory.<br>cp: cannot stat `/tmp/ks-tree-copy/*': No such file or directory<br>
--2013-10-18 22:13:44--  <a href="http://192.168.152.129/pub/RHN-ORG-TRUSTED-SSL-CERT">http://192.168.152.129/pub/RHN-ORG-TRUSTED-SSL-CERT</a><br>Connecting to 192.168.152.129:80... connected.<br>HTTP request sent, awaiting response... 200 OK<br>
Length: 5316 (5.2K) [text/plain]<br>Saving to: `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT'<br><br>     0K .....                                                 100%  180M=0s<br><br>2013-10-18 22:13:44 (180 MB/s) - `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT' saved [5316/5316]<br>
<br>Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not a regular file.<br>/tmp/ks-script-RBANet: line 137: rhnreg_ks: command not found<br>/tmp/ks-script-RBANet: line 143: rhn_check: command not found<br>
<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 18, 2013 at 3:21 PM, Suh, Tim <span dir="ltr"><<a href="mailto:tsuh@novetta.com" target="_blank">tsuh@novetta.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The best way is to check the log file. There should be rhn-post-ks.log file in the root user directory. Inspect the file to see what might have gone wrong.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On Thu, Oct 17, 2013 at 9:30 PM, Lupin Deterd <span dir="ltr"><<a href="mailto:lupindeterd@gmail.com" target="_blank">lupindeterd@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"> I'm struggling with my spacewalk client doing auto-register/subscription using activation key. Following are what I did.</div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">-> Setup org</div><div style="font-family:arial,sans-serif;font-size:13px"> -> Create Channels on default org using spacewalk-common-channels</div>


<div style="font-family:arial,sans-serif;font-size:13px">     centos6-x86_64</div><div style="font-family:arial,sans-serif;font-size:13px">     centos6-x86_64-centosplus</div><div style="font-family:arial,sans-serif;font-size:13px">


     centos6-x86_64-extras</div><div style="font-family:arial,sans-serif;font-size:13px">     centos6-x86_64-fasttrack</div><div style="font-family:arial,sans-serif;font-size:13px">     centos6-x86_64-updates</div><div style="font-family:arial,sans-serif;font-size:13px">


     centos6u4-x86_64</div><div style="font-family:arial,sans-serif;font-size:13px">  -> populate it using repo-sync</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">


-> Create a channel "centos6-with-tools" as child to centos6-x86_64</div><div style="font-family:arial,sans-serif;font-size:13px">    -> populate with packages from <a href="http://spacewalk.redhat.com/yum/2.0-client/RHEL/6/x86_64/" style="font-family:arial;font-size:small" target="_blank">http://spacewalk.redhat.com/yum/2.0-client/RHEL/6/x86_64/</a></div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">-> Create activation key, linked to to base channel  centos6-x86_64  and centos6-with-tools as child</div>


<div style="font-family:arial,sans-serif;font-size:13px">-> Create Kickstart Distr</div><div style="font-family:arial,sans-serif;font-size:13px">->Create Kickstart profile, linked the activation key.</div><div style="font-family:arial,sans-serif;font-size:13px">


->Did a cobbler buildiso using the ks profile.</div><div style="font-family:arial,sans-serif;font-size:13px">->Provision a vm.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">


The provision/install OS part is doing fine and dandy but it didn't auto-register.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Any idea where I can start digging?</div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks,</div><div style="font-family:arial,sans-serif;font-size:13px">lupin</div></div>
<br></div></div>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>