Bug 438198
| Summary: | pup - backtrace on repository disabling via Repository Manager | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Michal Nowak <mnowak> | ||||||||||
| Component: | pirut | Assignee: | James Antill <james.antill> | ||||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||||||
| Severity: | medium | Docs Contact: | |||||||||||
| Priority: | medium | ||||||||||||
| Version: | 5.2 | CC: | bkearney, ohudlick | ||||||||||
| Target Milestone: | rc | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2008-03-19 20:22:01 UTC | Type: | --- | ||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||
| Documentation: | --- | CRM: | |||||||||||
| Verified Versions: | Category: | --- | |||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
| Embargoed: | |||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 298544 [details]
yum config file
Created attachment 298547 [details]
Our local server is dead this is "OK" from pup POV
Created attachment 298548 [details]
Unchecking the selected one backtraces immediately
Created attachment 298549 [details]
backtrace
|
Description of problem: started pup then I got msg that is not possible to get repomd.xml file (the rerver is dead AFAIK), then I choose to edit config file via Repository Manager, unchecked rhel-5-server and got backtrace Component: pirut Summary: TBff145c36 yumRepo.py:348:disablePersistent:AttributeError: 'RhnRepo' object has no attribute 'cfg' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/pirut/RepoSelector.py", line 395, in _repoToggled repo.disablePersistent() File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 348, in disablePersistent self.cfg.set(self.id, 'enabled', '0') AttributeError: 'RhnRepo' object has no attribute 'cfg' Local variables in innermost frame: self: rhel-i386-server-5 Version-Release number of selected component (if applicable): pirut-1.3.28-12.el5 How reproducible: always Actual results: traceback && quit Expected results: disabled repo Additional info: see attached /etc/yum.conf It's happening only on this one repo, others are possible to enable/disable.