[Spacewalk-list] Cannot retrieve repository metadata
sureshskja skja
sureshskja at gmail.com
Wed Aug 2 13:40:55 UTC 2017
Hi All,
Also please find some more output when I enabled debug mode in
/etc/sysconfig/rhn/up2date file , before registering client with spacewalk
server. Please share your input on this.
[root at ip-10-65-228-47 ec2-user]# cat /etc/sysconfig/rhn/up2date | grep
debug=1
debug=1
[root at ip-10-65-228-47 ec2-user]#
While registering client with Spacewalk East Region getting strange issue
when debug mode is enabled from /var/log/up2date.
Traceback (most recent call last):
File "/usr/sbin/rhn_check", line 371, in __run_action
(status, message, data) = CheckCli.__do_call(method, params, kwargs)
File "/usr/sbin/rhn_check", line 363, in __do_call
method = getMethod.getMethod(method, "/usr/share/rhn/", "actions")
File "/usr/share/rhn/up2date_client/getMethod.py", line 83, in getMethod
actions = __import__(modulename)
File "/usr/share/rhn/actions/packages.py", line 294, in <module>
yum_base = YumAction()
File "/usr/share/rhn/actions/packages.py", line 68, in __init__
self.doSackSetup()
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 650, in
doSackSetup
return self._getSacks(archlist=archlist, thisrepo=thisrepo)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 687, in
_getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 324, in
populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 165, in
populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 223, in
_check_db_version
return repo._check_db_version(mdtype)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1263, in
_check_db_version
repoXML = self.repoXML
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1462, in
<lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/share/yum-plugins/rhnplugin.py", line 580, in _getRepoXML
return YumRepository._getRepoXML(self)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1458, in
_getRepoXML
raise Errors.RepoError, msg
<class 'yum.Errors.RepoError'>: Cannot retrieve repository metadata
(repomd.xml) for repository: tmobile_channel_oel_server_v6. Please verify
its path and try again
Thanks
Suresh S
On Wed, Aug 2, 2017 at 10:51 AM, sureshskja skja <sureshskja at gmail.com>
wrote:
> Hi All,
>
> Anybody has any update for above spacewalk issue ?
>
> Thanks
> Suresh S
>
> On Tue, Aug 1, 2017 at 4:01 PM, sureshskja skja <sureshskja at gmail.com>
> wrote:
>
>> Hi All,
>>
>> I need some quick help from some one immediately as I am facing problem
>> when registering RedHat 6.7 client with Spacewalk Server and below is the
>> error. Kindly help on this.
>>
>> Below is the error details.
>>
>> REGISTRATION
>> ------------
>> * registering
>> /usr/sbin/rhnreg_ks --force --activationkey 1-East_Non_Prod_Enterprise
>>
>> *** this system should now be registered, please verify ***
>>
>>
>> OTHER ACTIONS
>> ------------------------------------------------------
>> Installing Spacewalk certficate
>> yum -y upgrade yum yum-rhn-plugin; rhn-profile-sync
>> but any post configuration action can be added here.
>> ------------------------------------------------------
>> * ensuring yum itself is updated
>> Loaded plugins: amazon-id, rhnplugin, rhui-lb, search-disabled-repos,
>> security
>> This system is receiving updates from RHN Classic or Red Hat Satellite.
>> Setting up Upgrade Process
>> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
>> channel_oracle_linux6_x86_64. Please verify its path and try again
>> Updating package profile...
>> Updating hardware profile...
>> -bootstrap complete-
>> % Total % Received % Xferd Average Speed Time Time Time
>> Current
>> Dload Upload Total Spent Left
>> Speed
>> 0 19 0 19 0 0 12500 0 --:--:-- --:--:-- --:--:--
>> 19000
>> null[root at stg-mgt-spwtest_e1a tmp]# yum update
>> Loaded plugins: amazon-id, rhnplugin, rhui-lb, search-disabled-repos,
>> security
>> This system is receiving updates from RHN Classic or Red Hat Satellite.
>> Setting up Update Process
>> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
>> channel_oracle_linux6_x86_64. Please verify its path and try again
>> [root at stg-mgt-spwtest_e1a tmp]#
>>
>> Thanks
>> Suresh S
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170802/095646f8/attachment.htm>
More information about the Spacewalk-list
mailing list