[Spacewalk-list] The SSL certificate failed verification.

Chirag Choudhary chirag200666 at gmail.com
Wed Sep 25 11:03:14 UTC 2013


Yes , I removed the / from up2date file and did yum clean all
and yum list :
still the error persists:
[root at 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.foster80 at gmail.com>wrote:

> You ran yum list after removing the trailing slash correct?
> On Sep 25, 2013 6:45 AM, "Chirag Choudhary" <chirag200666 at 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.foster80 at 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" <chirag200666 at 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 at 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.foster80 at gmail.com> wrote:
>>>>
>>>>> Also, try yum clean metadata, then yum list
>>>>> On Sep 25, 2013 1:35 AM, "Chirag Choudhary" <chirag200666 at 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 at 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 <
>>>>>> chirag200666 at 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.foster80 at gmail.com> wrote:
>>>>>>>
>>>>>>>> What does yum repolist say from the client?
>>>>>>>> On Sep 24, 2013 1:12 AM, "Chirag Choudhary" <chirag200666 at 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.foster80 at 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" <
>>>>>>>>>> chirag200666 at 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 at redhat.com
>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Spacewalk-list mailing list
>>>>>>>>>> Spacewalk-list at redhat.com
>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Chirag Choudhary,
>>>>>>>>> Software Engineer
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Spacewalk-list mailing list
>>>>>>>>> Spacewalk-list at redhat.com
>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Spacewalk-list mailing list
>>>>>>>> Spacewalk-list at redhat.com
>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Chirag Choudhary,
>>>>>>> Software Engineer
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Chirag Choudhary,
>>>>>> Software Engineer
>>>>>>
>>>>>> _______________________________________________
>>>>>> Spacewalk-list mailing list
>>>>>> Spacewalk-list at redhat.com
>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Spacewalk-list mailing list
>>>>> Spacewalk-list at redhat.com
>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Chirag Choudhary,
>>>> Software Engineer
>>>>
>>>> _______________________________________________
>>>> Spacewalk-list mailing list
>>>> Spacewalk-list at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>
>>
>>
>> --
>> Chirag Choudhary,
>> Software Engineer
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
Chirag Choudhary,
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130925/37471c06/attachment.htm>


More information about the Spacewalk-list mailing list