Bug 1084703
| Summary: | Removing a repository that has filters assigned causes ISE. | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Dimitar Yordanov <dyordano> |
| Component: | API | Assignee: | Milan Zázrivec <mzazrivec> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dimitar Yordanov <dyordano> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 560 | CC: | cperry |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-13 09:55:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1127641 | ||
|
Description
Dimitar Yordanov
2014-04-05 17:54:44 UTC
spacewalk.git master: c0e39816a727b7a734ab5cf68a14bcf7c76fc9b4 Verified. spacewalk-java-2.3.8-57.el6sat.noarch In step 4. repository is sucessfuly removed via API. In step 5. repository is sucessfuly removed via WebUI. Reproduced on spacewalk-java-2.0.2-90.el6sat.noarch In step 4. appeard exception: xmlrpclib.ProtocolError: <ProtocolError for hp-ml370g4-01.rhts.eng.bos.redhat.com/rpc/api: 500 Internal Server Error> In step 5. appeard same output in log file as bugzilla said. #!/usr/bin/python import xmlrpclib RHN_SERVER='http://XXX.redhat.com/rpc/api' RHN_USER='XXX' RHN_PASS='XXX' try: client = xmlrpclib.Server(RHN_SERVER, verbose=0) key = client.auth.login(RHN_USER, RHN_PASS) client.channel.software.setRepoFilters(key,"test_repo_f",[{"filter":"test_f","flag":"-"}]) client.channel.software.listRepoFilters(key,"test_repo_f") client.channel.software.removeRepo(key,"test_repo_f") except Exception: print('error appears') raise With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is being moved to a Closed Current Release state. The Satellite 5.7 GA Errata: - https://rhn.redhat.com/errata/RHSA-2015-0033.html Satellite 5.7 Release Notes: - https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html Satellite Customer Portal Blog announcement for release: - https://access.redhat.com/blogs/1169563/posts/1315743 Cliff |