[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-list] Spacewalk-list Digest, Vol 114, Issue 28



Thanks that's fixed the issue . 

-----Original Message-----
From: spacewalk-list-bounces redhat com [mailto:spacewalk-list-bounces redhat com] On Behalf Of spacewalk-list-request redhat com
Sent: Monday, November 27, 2017 7:00 PM
To: spacewalk-list redhat com
Subject: Spacewalk-list Digest, Vol 114, Issue 28

Send Spacewalk-list mailing list submissions to
	spacewalk-list redhat com

To subscribe or unsubscribe via the World Wide Web, visit
	https://www.redhat.com/mailman/listinfo/spacewalk-list
or, via email, send a message with subject or body 'help' to
	spacewalk-list-request redhat com

You can reach the person managing the list at
	spacewalk-list-owner redhat com

When replying, please edit your Subject line so it is more specific than "Re: Contents of Spacewalk-list digest..."


Today's Topics:

   1. AttributeError: 'RhnRepo' object has no attribute
      '_retry_no_cache' (Afify, Sherif S (IBS))
   2. Re: spacewalk info needed (Michael Mraka)


----------------------------------------------------------------------

Message: 1
Date: Sun, 26 Nov 2017 18:05:37 +0000
From: "Afify, Sherif S (IBS)" <Sherif Afify se1 bp com>
To: "'spacewalk-list redhat com'" <spacewalk-list redhat com>,
	"'spacewalk-devel redhat com'" <spacewalk-devel redhat com>
Subject: [Spacewalk-list] AttributeError: 'RhnRepo' object has no
	attribute	'_retry_no_cache'
Message-ID:
	<881F1B94C4B1A741BA93876FD0263BD22A75FCEE DE35S00FHST10 DSC BP COM>
Content-Type: text/plain; charset="us-ascii"

after the client join  the spacewalk  server , I got the below error message while running the yum command , did  any faced that before ?
AttributeError: 'RhnRepo' object has no attribute '_retry_no_cache'


Determining fastest mirrors
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 365, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 174, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 573, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 2149, in doCommand
    base.repos.populateSack()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 383, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 224, in populate
    if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 316, in _check_db_version
    return repo._check_db_version(mdtype)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1484, in _check_db_version
    repoXML = self.repoXML
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1670, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/share/yum-plugins/rhnplugin.py", line 564, in _getRepoXML
    return YumRepository._getRepoXML(self)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1666, in _getRepoXML
    self._loadRepoXML(text=self.ui_id)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1657, in _loadRepoXML
    return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1631, in _groupLoadRepoXML
    if self._commonLoadRepoXML(text):
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1456, in _commonLoadRepoXML
    result = self._getFileRepoXML(local, text)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1234, in _getFileRepoXML
    size=102400) # setting max size as 100K
  File "/usr/share/yum-plugins/rhnplugin.py", line 376, in _getFile
    start, end, copy_local, checkfunc, text, reget, cache, size)
  File "/usr/share/yum-plugins/rhnplugin.py", line 480, in _noExceptionWrappingGet
    retry_no_cache=self._retry_no_cache
AttributeError: 'RhnRepo' object has no attribute '_retry_no_cache'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/spacewalk-list/attachments/20171126/6d29875d/attachment.html>

------------------------------

Message: 2
Date: Mon, 27 Nov 2017 10:27:52 +0100
From: Michael Mraka <michael mraka redhat com>
To: spacewalk-list redhat com
Cc: "'spacewalk-devel redhat com'" <spacewalk-devel redhat com>
Subject: Re: [Spacewalk-list] spacewalk info needed
Message-ID: <20171127092752 GC3551 magni z31 cz>
Content-Type: text/plain; charset=utf-8

Afify, Sherif S (IBS):
> Hi , after joining  the spacewalk  , I got the below error message while running the yum command , did  any faced that before ?
> AttributeError: 'RhnRepo' object has no attribute '_retry_no_cache'

This issue has been fixed in Spacewalk 2.7.
Please update yum-rhn-plugin package.

--
Michael Mr?ka
System Management Engineering, Red Hat



------------------------------

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list redhat com
https://www.redhat.com/mailman/listinfo/spacewalk-list

End of Spacewalk-list Digest, Vol 114, Issue 28
***********************************************


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]