Are you using the ssl cert from spacewalk or the default. .go to your satellite server webpage /pub directory and see if the one in your up2date file are the same (up2date will show location of your ssl cert). On Sep 25, 2013 8:38 AM, "Chirag Choudhary" <chirag200...@gmail.com> wrote:
> From Web, and one of them is spacewalk repo for rhel : > http://spacewalk.redhat.com/yum/2.0/RHEL/6/x86_64/ > > > > Thanks & Regards > > > On Wed, Sep 25, 2013 at 5:56 PM, Thomas Foster > <thomas.foste...@gmail.com>wrote: > >> Where are you synching packages from to you SW server from the net or a >> local repo you built using createrepo? >> On Sep 25, 2013 8:22 AM, "Chirag Choudhary" <chirag200...@gmail.com> >> wrote: >> >>> Hi, >>> I restarted spacewalk, nothing changed. rhn_check still giving same >>> error. >>> >>> I followed the above blog. I agan got an error : >>> >>> [root@space-walk ~]# satellite-sync --channel=channel1 >>> 17:36:32 Spacewalk - live synchronization >>> 17:36:32 ERROR: Can't use live synchronization in disconnected mode. >>> >>> I am connected to both internet as well as to the client, where else >>> does it needs me to connect it to ? >>> last thing suggested in the blog >>> find the Schedule Name "channel-repodata-default" and then click on >>> "channel-repodata-bunch" on the right (under Bunch) >>> There are no such things in spacewalk 2.0 >>> >>> More help is required. >>> >>> Thanks & Regards >>> >>> >>> On Wed, Sep 25, 2013 at 5:18 PM, Thomas Foster < >>> thomas.foste...@gmail.com> wrote: >>> >>>> Could possibly help: >>>> >>>> >>>> http://unixrevolution.blogspot.com/2013/07/rhn-satellite-server-spacewalk.html?m=1 >>>> On Sep 25, 2013 7:39 AM, "Thomas Foster" <thomas.foste...@gmail.com> >>>> wrote: >>>> >>>>> That should be working...try restarting spacewalk.. >>>>> On Sep 25, 2013 7:35 AM, "Chirag Choudhary" <chirag200...@gmail.com> >>>>> wrote: >>>>> >>>>>> server is 64 bit centos. >>>>>> Channel 1: >>>>>> Architecture: x86_64 >>>>>> >>>>>> Client Rhel is also a 64 bit machine. >>>>>> >>>>>> >>>>>> On Wed, Sep 25, 2013 at 4:46 PM, Thomas Foster < >>>>>> thomas.foste...@gmail.com> wrote: >>>>>> >>>>>>> Also, what is the channel arch and OS Arch? >>>>>>> On Sep 25, 2013 7:06 AM, "Chirag Choudhary" <chirag200...@gmail.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Yes , I removed the / from up2date file and did yum clean all >>>>>>>> and yum list : >>>>>>>> still the error persists: >>>>>>>> [root@localhost packages]# yum list >>>>>>>> Loaded plugins: product-id, rhnplugin, security, >>>>>>>> subscription-manager >>>>>>>> Updating certificate-based repositories. >>>>>>>> Error: Cannot retrieve repository metadata (repomd.xml) for >>>>>>>> repository: channel1. Please verify its path and try again >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Sep 25, 2013 at 4:26 PM, Thomas Foster < >>>>>>>> thomas.foste...@gmail.com> wrote: >>>>>>>> >>>>>>>>> You ran yum list after removing the trailing slash correct? >>>>>>>>> On Sep 25, 2013 6:45 AM, "Chirag Choudhary" < >>>>>>>>> chirag200...@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> The result of both pages(keeping / or not ) are same. >>>>>>>>>> I wonder what the issue is, I could only find "error in python >>>>>>>>>> code" and "unable to access repodata.xml" and nothing beyond this. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Wed, Sep 25, 2013 at 3:46 PM, Thomas Foster < >>>>>>>>>> thomas.foste...@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> 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. >>>>>>>>>>> On Sep 25, 2013 6:08 AM, "Chirag Choudhary" < >>>>>>>>>>> chirag200...@gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> 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 . >>>>>>>>>>>> >>>>>>>>>>>> content of /etc/sysconfig/rhn/up2date (important ones): >>>>>>>>>>>> serverURL=https://192.168.0.1/XMLRPC/ >>>>>>>>>>>> noSSLServerURL=http://192.168.0.1/XMLRPC >>>>>>>>>>>> sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT >>>>>>>>>>>> Full file >>>>>>>>>>>> http://pastebin.centos.org/4591/ >>>>>>>>>>>> >>>>>>>>>>>> I had created repos in yum.repos.d earlier to install a few >>>>>>>>>>>> packages like rhn-client for remote commands to work, now I >>>>>>>>>>>> removed the >>>>>>>>>>>> packages I added. >>>>>>>>>>>> yum clean metadata, >>>>>>>>>>>> [root@localhost packages]# yum list >>>>>>>>>>>> Loaded plugins: product-id, rhnplugin, security, >>>>>>>>>>>> subscription-manager >>>>>>>>>>>> Updating certificate-based repositories. >>>>>>>>>>>> Error: Cannot retrieve repository metadata (repomd.xml) for >>>>>>>>>>>> repository: channel1. Please verify its path and try again >>>>>>>>>>>> >>>>>>>>>>>> one thing that is bugging me a lot is >>>>>>>>>>>> http://spacewalk-server/XMLRPC/ shown no document tree. Is >>>>>>>>>>>> this correct ? >>>>>>>>>>>> >>>>>>>>>>>> Thanks & Regards >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Sep 25, 2013 at 2:27 PM, Thomas Foster < >>>>>>>>>>>> thomas.foste...@gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Also, try yum clean metadata, then yum list >>>>>>>>>>>>> On Sep 25, 2013 1:35 AM, "Chirag Choudhary" < >>>>>>>>>>>>> chirag200...@gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>> From spacewalk server to client I am able to execute >>>>>>>>>>>>>> remote commands. But package installation is still having >>>>>>>>>>>>>> problems. >>>>>>>>>>>>>> executing "rhn_check -vvvvv" I get the error "D: local >>>>>>>>>>>>>> action status: ((6,), 'Fatal error in Python code occured', {})" >>>>>>>>>>>>>> Here is the full log : http://pastebin.centos.org/4581/ >>>>>>>>>>>>>> >>>>>>>>>>>>>> from up2date log I am getting the error: >>>>>>>>>>>>>> <class 'yum.Errors.RepoError'>: Cannot retrieve repository >>>>>>>>>>>>>> metadata (repomd.xml) for repository: channel1. Please >>>>>>>>>>>>>> verify its >>>>>>>>>>>>>> path and try again >>>>>>>>>>>>>> Detailed log:http://pastebin.centos.org/4586/ >>>>>>>>>>>>>> >>>>>>>>>>>>>> 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. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Here is the output of yum repolist(I removed the rhel package >>>>>>>>>>>>>> repo ) : >>>>>>>>>>>>>> [root@localhost yum.repos.d]# yum repolist >>>>>>>>>>>>>> Loaded plugins: product-id, rhnplugin, security, >>>>>>>>>>>>>> subscription-manager >>>>>>>>>>>>>> Updating certificate-based repositories. >>>>>>>>>>>>>> repo id repo name >>>>>>>>>>>>>> status >>>>>>>>>>>>>> channel1 Channel 1 >>>>>>>>>>>>>> 0 >>>>>>>>>>>>>> channel2 Channel 2 >>>>>>>>>>>>>> 0 >>>>>>>>>>>>>> package FTP_REPOSITORY >>>>>>>>>>>>>> 0 >>>>>>>>>>>>>> repolist: 0 >>>>>>>>>>>>>> >>>>>>>>>>>>>> Any help is appreciated. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thanks & Regards, >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Tue, Sep 24, 2013 at 3:04 PM, Chirag Choudhary < >>>>>>>>>>>>>> chirag200...@gmail.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> hi, >>>>>>>>>>>>>>> Here is the output of yum repolist >>>>>>>>>>>>>>> repo id repo >>>>>>>>>>>>>>> name status >>>>>>>>>>>>>>> channel1 Channel >>>>>>>>>>>>>>> 1 0 >>>>>>>>>>>>>>> channel2 Channel >>>>>>>>>>>>>>> 2 0 >>>>>>>>>>>>>>> package >>>>>>>>>>>>>>> FTP_REPOSITORY 0 >>>>>>>>>>>>>>> rhel-source Red Hat Enterprise Linux 6Server - x86_64 - >>>>>>>>>>>>>>> Source 0 >>>>>>>>>>>>>>> repolist: 0 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I created channel1 and channel2 from spacewalk and trying to >>>>>>>>>>>>>>> install packages from there to client. >>>>>>>>>>>>>>> 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 ) >>>>>>>>>>>>>>> So package and rhel-source are fine. But its not sowing the >>>>>>>>>>>>>>> 26 packages in channel 1 and 2362 packages in channel 2. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thanks & Regards >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Tue, Sep 24, 2013 at 2:48 PM, Thomas Foster < >>>>>>>>>>>>>>> thomas.foste...@gmail.com> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> What does yum repolist say from the client? >>>>>>>>>>>>>>>> On Sep 24, 2013 1:12 AM, "Chirag Choudhary" < >>>>>>>>>>>>>>>> chirag200...@gmail.com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>>>> 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. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I guess the problem is that >>>>>>>>>>>>>>>>> http://spacewalk-server/XMLRPC/ 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. >>>>>>>>>>>>>>>>> rhn_check -vvv shows it cannot find the repodata.xml >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Thanks & Regards, >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Mon, Sep 23, 2013 at 2:11 PM, Thomas Foster < >>>>>>>>>>>>>>>>> thomas.foste...@gmail.com> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> 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. >>>>>>>>>>>>>>>>>> On Sep 23, 2013 1:48 AM, "Chirag Choudhary" < >>>>>>>>>>>>>>>>>> chirag200...@gmail.com> wrote: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>>>>>> I have two issues.First installing packages from >>>>>>>>>>>>>>>>>>> spacwalk UI, second just instaling packages. >>>>>>>>>>>>>>>>>>> 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. >>>>>>>>>>>>>>>>>>> on running rhn_check I got the error in >>>>>>>>>>>>>>>>>>> /var/logs/up2date >>>>>>>>>>>>>>>>>>> "<class 'yum.Errors.RepoError'>: Cannot retrieve >>>>>>>>>>>>>>>>>>> repository metadata (repomd.xml) for repository: channel1. >>>>>>>>>>>>>>>>>>> Please verify >>>>>>>>>>>>>>>>>>> its path and try again >>>>>>>>>>>>>>>>>>> " >>>>>>>>>>>>>>>>>>> I added channel1 from the UI so don't know how to verify >>>>>>>>>>>>>>>>>>> the path. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> 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.". >>>>>>>>>>>>>>>>>>> So I cannot install or update any package and stuck. >>>>>>>>>>>>>>>>>>> How to fix this issue ? >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Server: Spacewalk 2.0 on Centos 6.4(final) >>>>>>>>>>>>>>>>>>> Client : RHEL 6.2 >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Thanks & Regards >>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>> Chirag Choudhary, >>>>>>>>>>>>>>>>>>> Software Engineer >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>>>> Spacewalk-list mailing list >>>>>>>>>>>>>>>>>>> Spacewalk-list@redhat.com >>>>>>>>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>>> Spacewalk-list mailing list >>>>>>>>>>>>>>>>>> Spacewalk-list@redhat.com >>>>>>>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> Chirag Choudhary, >>>>>>>>>>>>>>>>> Software Engineer >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>>> Spacewalk-list mailing list >>>>>>>>>>>>>>>>> Spacewalk-list@redhat.com >>>>>>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>> Spacewalk-list mailing list >>>>>>>>>>>>>>>> Spacewalk-list@redhat.com >>>>>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Chirag Choudhary, >>>>>>>>>>>>>>> Software Engineer >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Chirag Choudhary, >>>>>>>>>>>>>> Software Engineer >>>>>>>>>>>>>> >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> Spacewalk-list mailing list >>>>>>>>>>>>>> Spacewalk-list@redhat.com >>>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> Spacewalk-list mailing list >>>>>>>>>>>>> Spacewalk-list@redhat.com >>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Chirag Choudhary, >>>>>>>>>>>> Software Engineer >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Spacewalk-list mailing list >>>>>>>>>>>> Spacewalk-list@redhat.com >>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Spacewalk-list mailing list >>>>>>>>>>> Spacewalk-list@redhat.com >>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Chirag Choudhary, >>>>>>>>>> Software Engineer >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Spacewalk-list mailing list >>>>>>>>>> Spacewalk-list@redhat.com >>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Spacewalk-list mailing list >>>>>>>>> Spacewalk-list@redhat.com >>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Chirag Choudhary, >>>>>>>> Software Engineer >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Spacewalk-list mailing list >>>>>>>> Spacewalk-list@redhat.com >>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Spacewalk-list mailing list >>>>>>> Spacewalk-list@redhat.com >>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Chirag Choudhary, >>>>>> Software Engineer >>>>>> >>>>>> _______________________________________________ >>>>>> Spacewalk-list mailing list >>>>>> Spacewalk-list@redhat.com >>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>>>> >>>>> >>>> _______________________________________________ >>>> Spacewalk-list mailing list >>>> Spacewalk-list@redhat.com >>>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>>> >>> >>> >>> >>> -- >>> Chirag Choudhary, >>> Software Engineer >>> >>> _______________________________________________ >>> Spacewalk-list mailing list >>> Spacewalk-list@redhat.com >>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>> >> >> _______________________________________________ >> Spacewalk-list mailing list >> Spacewalk-list@redhat.com >> https://www.redhat.com/mailman/listinfo/spacewalk-list >> > > > > -- > Chirag Choudhary, > Software Engineer > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list >
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list