Bug 1985318
| Summary: | Introduce a valid solution to fix the error "Katello::Errors::CandlepinError: Environment with id XXXX could not be found" in Satellite 6 | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | James Jeffers <jjeffers> |
| Component: | Content Views | Assignee: | Jonathon Turel <jturel> |
| Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.8.0 | CC: | ahumbe, jturel, mmccune, thadzhie, zhunting |
| Target Milestone: | 6.9.5 | Keywords: | PrioBumpGSS, Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-katello-3.18.1.35-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1951878 | Environment: | |
| Last Closed: | 2021-08-31 12:04:00 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: | |||
|
Comment 2
Bryan Kearney
2021-07-27 16:05:39 UTC
Steps to retest:
1. Create a new LCE
2. Create a custom product with custom repo and sync
3. Create a cv and add the repo from step 2
4. Tail candlepin.log
5. Publish cv from 3 and do a promote
6. Confirm that new environment was created in log
7. Delete environment from rails console: Katello::Resources::Candlepin::Environment.destroy('<environment id from candlepin.log>')
8. Publish cv again and promote and see the environment is recreated in candlepin.log
9. Delete the environment again from Rails console (the new lce created from step 1)
10. Delete the LCE that you created in step 1 from UI as well.
11. Ensure that no error appear in candlepin.log
Expected result:
6) Should be able to see new environment being created in log
8) Should be able to see environment is created in log
11) Should not see any errors being raised in log
Actual:
6) Able to see new environment being created in log
8) Able to see environment being recreated in log
org.candlepin.common.filter.LoggingFilter - Request: verb=GET, uri=/candlepin/environments/a281582d8bb77cb49caf517541472e74
11) There was no errors appearing in log after deleting environments on both rake console and the webUI
Verified in 6.9.5_01 with tfm-rubygem-katello-3.18.1.36-1.el7sat.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Satellite 6.9.5 Async Bug Fix Update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3387 |