<p dir="ltr">Where are you synching packages from to you SW server from the net or a local repo you built using createrepo?</p>
<div class="gmail_quote">On Sep 25, 2013 8:22 AM, "Chirag Choudhary" <<a href="mailto:chirag200666@gmail.com">chirag200666@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi, <div>  I restarted spacewalk, nothing changed. rhn_check still giving same error.</div><div><br></div><div>I followed the above blog. I agan got an error : </div><div><div><br></div>

<div>[root@space-walk ~]# satellite-sync --channel=channel1</div><div>17:36:32 Spacewalk - live synchronization</div><div>17:36:32 ERROR: Can't use live synchronization in disconnected mode.</div><div><br></div><div>


I am connected to both internet as well as to the client, where else does it needs me to connect it to ? </div><div>last thing suggested in the blog </div>find the Schedule Name "channel-repodata-default" and then click on "channel-repodata-bunch" on the right (under Bunch)</div>


<div>There are no such things in spacewalk 2.0</div><div><br></div><div>More help is required.</div><div><br></div><div>Thanks & Regards</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Wed, Sep 25, 2013 at 5:18 PM, Thomas Foster <span dir="ltr"><<a href="mailto:thomas.foster80@gmail.com" target="_blank">thomas.foster80@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<p dir="ltr">Could possibly help:</p>
<p dir="ltr"><a href="http://unixrevolution.blogspot.com/2013/07/rhn-satellite-server-spacewalk.html?m=1" target="_blank">http://unixrevolution.blogspot.com/2013/07/rhn-satellite-server-spacewalk.html?m=1</a></p><div>

<div>
<div class="gmail_quote">On Sep 25, 2013 7:39 AM, "Thomas Foster" <<a href="mailto:thomas.foster80@gmail.com" target="_blank">thomas.foster80@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<p dir="ltr">That should be working...try restarting spacewalk..</p>
<div class="gmail_quote">On Sep 25, 2013 7:35 AM, "Chirag Choudhary" <<a href="mailto:chirag200666@gmail.com" target="_blank">chirag200666@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">server is 64 bit centos.<div>Channel 1: <br><table style="margin:0px 25px 0px 25.90625px;color:rgb(51,51,51);font-family:'Luxi Sans','Bitstream Vera Sans','Lucida Grande','Trebuchet MS',helvetica,verdana,arial,sans-serif">






<tbody><tr><th nowrap style="padding:8px 8px 8px 16px;text-align:right;vertical-align:top;color:rgb(68,68,68);border:none;background-color:rgb(238,238,238)"><label>Architecture:</label></th><td style="padding:8px;vertical-align:top;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,221,221)">






x86_64</td></tr></tbody></table></div><div class="gmail_extra"><br></div><div class="gmail_extra">Client Rhel is also a 64 bit machine. </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 4:46 PM, Thomas Foster <span dir="ltr"><<a href="mailto:thomas.foster80@gmail.com" target="_blank">thomas.foster80@gmail.com</a>></span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Also,  what is the channel arch and OS Arch?</p><div><div>
<div class="gmail_quote">On Sep 25, 2013 7:06 AM, "Chirag Choudhary" <<a href="mailto:chirag200666@gmail.com" target="_blank">chirag200666@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div dir="ltr">Yes , I removed the / from up2date file and did yum clean all <div>and yum list :</div><div>still the error persists: </div><div>[root@localhost packages]# yum list</div><div>Loaded plugins: product-id, rhnplugin, security, subscription-manager</div>









<div>Updating certificate-based repositories.</div><div>Error: Cannot retrieve repository metadata (repomd.xml) for repository: channel1. Please verify its path and try again</div><div> </div></div><div class="gmail_extra">









<br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 4:26 PM, Thomas Foster <span dir="ltr"><<a href="mailto:thomas.foster80@gmail.com" target="_blank">thomas.foster80@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">









<p dir="ltr">You ran yum list after removing the trailing slash correct?</p><div><div>
<div class="gmail_quote">On Sep 25, 2013 6:45 AM, "Chirag Choudhary" <<a href="mailto:chirag200666@gmail.com" target="_blank">chirag200666@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">










<div dir="ltr">Hi, <div>  The result of both pages(keeping / or not ) are same.</div><div> I wonder what the issue is, I could only find "error in python code" and "unable to access repodata.xml" and nothing beyond this.</div>












</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 3:46 PM, Thomas Foster <span dir="ltr"><<a href="mailto:thomas.foster80@gmail.com" target="_blank">thomas.foster80@gmail.com</a>></span> wrote:<br>












<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I think the last / on the XMLRPC is incorrect. ..try removing that slash..I will check and see if my settings has that in the file.</p>












<div><div>
<div class="gmail_quote">On Sep 25, 2013 6:08 AM, "Chirag Choudhary" <<a href="mailto:chirag200666@gmail.com" target="_blank">chirag200666@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">













<div dir="ltr">Hi,<div>    I created the channel1 from the spacewalk GUI ( channels -> manage software channels -> create new channel). I used reposync to add packages and then added a few packages in the channel 1. Currently UI shows it has 26 packages . </div>















<div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">content of  /etc/sysconfig/rhn/up2date (important ones): </span><br></div><div>serverURL=<a href="https://192.168.0.1/XMLRPC/" target="_blank">https://192.168.0.1/XMLRPC/</a></div>















<div><div>noSSLServerURL=<a href="http://192.168.0.1/XMLRPC" target="_blank">http://192.168.0.1/XMLRPC</a></div></div><div>sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT<br></div><div>Full file</div><div><a href="http://pastebin.centos.org/4591/" target="_blank">http://pastebin.centos.org/4591/</a><br>















</div><div><br></div><div>I had created repos in <span style="font-family:arial,sans-serif;font-size:13px">yum.repos.d earlier to install a few packages like rhn-client for remote commands to work, now I removed the packages I added.</span></div>















<div><span style="font-family:arial,sans-serif;font-size:13px"> yum clean metadata, </span><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><div><font face="arial, sans-serif">[root@localhost packages]# yum list</font></div>















<div><font face="arial, sans-serif">Loaded plugins: product-id, rhnplugin, security, subscription-manager</font></div><div><font face="arial, sans-serif">Updating certificate-based repositories.</font></div><div><font face="arial, sans-serif">Error: Cannot retrieve repository metadata (repomd.xml) for repository: channel1. Please verify its path and try again</font></div>















<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">one thing that is bugging me a lot is <a href="http://spacewalk-server/XMLRPC/" target="_blank">http://spacewalk-server/XMLRPC/</a> shown no document tree. Is this correct ?</div>















<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks & Regards</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">















On Wed, Sep 25, 2013 at 2:27 PM, Thomas Foster <span dir="ltr"><<a href="mailto:thomas.foster80@gmail.com" target="_blank">thomas.foster80@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">















<p dir="ltr">Also, try yum clean metadata, then yum list</p><div><div>
<div class="gmail_quote">On Sep 25, 2013 1:35 AM, "Chirag Choudhary" <<a href="mailto:chirag200666@gmail.com" target="_blank">chirag200666@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
















<div dir="ltr">Hi,<div>    From spacewalk server to client I am able to execute remote commands. But package installation is still having problems.</div><div>executing "rhn_check -vvvvv" I get the error  "<span style="background-color:rgb(251,251,251);color:rgb(51,51,51);font-family:monospace;font-size:13px;line-height:15.59375px">D: local action status: ((6,), 'Fatal error in Python code occured', {})"</span></div>


















<div>Here is the full log  : <a href="http://pastebin.centos.org/4581/" target="_blank">http://pastebin.centos.org/4581/</a><br></div><div><br></div><div>from up2date log I am getting the error: </div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;line-height:15.59375px;background-color:rgb(247,247,247)"><class 'yum.Errors.RepoError'>: Cannot retrieve repository metadata (repomd.xml)         for repository: channel1. Please verify its path and try again</span><br>


















</div><div>Detailed log<span style="background-color:rgb(247,247,247);color:rgb(51,51,51);font-family:monospace;font-size:13px;line-height:15.59375px">:</span><a href="http://pastebin.centos.org/4586/" target="_blank">http://pastebin.centos.org/4586/</a></div>


















<div><br></div><div>I created the channel from spacewalk and don't know where exactly is it created and so cannot verify the path. And also can't find the location of the path stored in the client machine.</div>

<div><div><br></div><div>Here is the output of yum repolist(I removed the rhel package repo ) :</div><div>[root@localhost yum.repos.d]# yum repolist</div><div>Loaded plugins: product-id, rhnplugin, security, subscription-manager</div>


















<div>Updating certificate-based repositories.</div><div>repo id                               repo name                                    status</div><div>channel1                              Channel 1                                    0</div>


















<div>channel2                              Channel 2                                    0</div><div>package                               FTP_REPOSITORY                               0</div><div>repolist: 0</div><div><br>


















</div></div><div>Any help is appreciated.</div><div><br></div><div>Thanks & Regards,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 24, 2013 at 3:04 PM, Chirag Choudhary <span dir="ltr"><<a href="mailto:chirag200666@gmail.com" target="_blank">chirag200666@gmail.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"><div>hi,<br></div> Here is the output of yum repolist<br><div>repo id          repo name                                                status<br>


















channel1         Channel 1                                                0<br>
channel2         Channel 2                                                0<br>package          FTP_REPOSITORY                                0<br>rhel-source      Red Hat Enterprise Linux 6Server - x86_64 - Source       0<br>



















repolist: 0<br><br></div><div>I created channel1 and channel2 from spacewalk and trying to install packages from there to client.<br></div><div>package is the local repo that I used to install a few packages earlier (I was able to make it work, installed rhncfg, rhn-clent etc.. now i disconnected client from that network and now its only connected to spacewalk )<br>



















</div><div>So package and rhel-source are fine. But its not sowing the 26 packages in channel 1 and 2362 packages in channel 2.<br><br><br></div><div>Thanks & Regards<br></div></div><div><div>

<div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Sep 24, 2013 at 2:48 PM, Thomas Foster <span dir="ltr"><<a href="mailto:thomas.foster80@gmail.com" target="_blank">thomas.foster80@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



















<p dir="ltr">What does yum repolist say from the client?</p><div><div>
<div class="gmail_quote">On Sep 24, 2013 1:12 AM, "Chirag Choudhary" <<a href="mailto:chirag200666@gmail.com" target="_blank">chirag200666@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




















<div dir="ltr">Hi, <div>   I can already see the system on my sytem bar, It was kickstarted by spacewalk itself, its registered with spacewalk from the key I generated, I can restart the machine and remove packages, but installation of packages is not working. I have created two channels having ~300 and its child with ~2400 packages and the parent channel was assigned to the client. <br>






















<br>I guess the problem is that <a href="http://spacewalk-server/XMLRPC/" target="_blank">http://spacewalk-server/XMLRPC/</a> gives empty empty tree after it displays  "This XML file does not appear to have any style information associated with it. The document tree is shown below." in browser.<br>






















rhn_check -vvv shows it cannot find the repodata.xml</div><div> <br><br>Thanks & Regards,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 23, 2013 at 2:11 PM, Thomas Foster <span dir="ltr"><<a href="mailto:thomas.foster80@gmail.com" target="_blank">thomas.foster80@gmail.com</a>></span> wrote:<br>






















<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Which way do you want to go Spacewalk or local repo?  Assuming you want to go Spacewalk go to the spacewalk ui and verify you have packages in the channel first.   Next, register your server to the SW server (rhn_register or rhnks_reg)  verify that you can see the system in the systems bar on the Spacewalk ui..then reply back.</p>
























<div class="gmail_quote"><div><div>On Sep 23, 2013 1:48 AM, "Chirag Choudhary" <<a href="mailto:chirag200666@gmail.com" target="_blank">chirag200666@gmail.com</a>> wrote:<br type="attribution">

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div class="gmail_extra"><div>Hi,</div><div>    I have two issues.First installing packages from spacwalk UI, second just instaling packages. </div><div> When i tried installing packages from spacewalk UI, I got the error "error in python code" . I digged deeper and found that the repodata.xml was not accessible.</div>

























<div>on running rhn_check I got the error in /var/logs/up2date </div><div>"<class 'yum.Errors.RepoError'>: Cannot retrieve repository metadata (repomd.xml) for repository: channel1. Please verify its path and try again</div>

























<div>"</div><div>I added channel1 from the UI so don't know how to verify the path.</div><div><br></div><div>    I added one local repository(in yum.repos.d/RHEL6.repo) and connected the system to that network(removing it from spacewalk server), even now when I am using yum I am getting the error "The SSL certificate failed verification.".   </div>

























<div>So I cannot install or update any package and stuck.</div><div>How to fix this issue ?</div><div><br></div><div>Server: Spacewalk 2.0 on Centos 6.4(final)</div><div>Client : RHEL 6.2</div>

<div><br></div><div>Thanks & Regards</div><div>-- <br></div><div dir="ltr">Chirag Choudhary,<div>Software Engineer</div></div>
</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>_______________________________________________<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><br clear="all"><div><br></div>-- <br><div dir="ltr">Chirag Choudhary,<div>






















Software Engineer</div></div>
</div>
<br>_______________________________________________<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>
</div></div><br>_______________________________________________<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><br clear="all"><br>-- <br><div dir="ltr">Chirag Choudhary,<div>



















Software Engineer</div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Chirag Choudhary,<div>Software Engineer</div></div>
</div>
<br>_______________________________________________<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>
</div></div><br>_______________________________________________<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><br clear="all"><div><br></div>-- <br><div dir="ltr">Chirag Choudhary,<div>















Software Engineer</div></div>
</div>
<br>_______________________________________________<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>
</div></div><br>_______________________________________________<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><br clear="all"><div><br></div>-- <br><div dir="ltr">Chirag Choudhary,<div>












Software Engineer</div></div>
</div>
<br>_______________________________________________<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>
</div></div><br>_______________________________________________<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><br clear="all"><div><br></div>-- <br><div dir="ltr">Chirag Choudhary,<div>









Software Engineer</div></div>
</div>
<br>_______________________________________________<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>
</div></div><br>_______________________________________________<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><br clear="all"><div><br></div>-- <br><div dir="ltr">Chirag Choudhary,<div>






Software Engineer</div></div>
</div></div>
<br>_______________________________________________<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>
</blockquote></div>
</div></div><br>_______________________________________________<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><br clear="all"><div><br></div>-- <br><div dir="ltr">Chirag Choudhary,<div>


Software Engineer</div></div>
</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>