Bug 1446727
Summary: | Repair repositories fail with 400 bad request in satellite 6.2 | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Satellite Program <pm-sat> |
Component: | Repositories | Assignee: | Justin Sherrill <jsherril> |
Status: | CLOSED ERRATA | QA Contact: | Radovan Drazny <rdrazny> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.2.0 | CC: | akarsale, aupadhye, bbuckingham, bkearney, jcallaha, jentrena, jsherril, mmccune, phess, pmoravec, rdrazny, vijsingh |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1375075 | Environment: | |
Last Closed: | 2018-02-21 16:45:20 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1425437, 1446729 |
Comment 2
Radovan Drazny
2017-10-10 14:00:23 UTC
Upstream bug assigned to jsherril Ok, my fault - I went by the initial report talking about "katello:generate_pulp_repositories", found out there is no such task, searched for it, found https://access.redhat.com/solutions/1453313 and assumed there was a problem with Sat 6.3. Should have go deeper in the original BZ1375075, as I have missed the comment 11 there. Sorry about that. Going through steps from BZ1375075 comment #11 on Sat 6.3 Snap 21: $ foreman-rake console Loading production environment (Rails 4.2.6) Failed to load console gems, starting anyway irb(main):001:0> Katello.pulp_server.resources.repository.delete(Katello::Repository.find(4).pulp_id) => {"spawned_tasks"=>[{"_href"=>"/pulp/api/v2/tasks/85934af6-f99a-466e-9d07-b1e76bcc50b9/", "task_id"=>"85934af6-f99a-466e-9d07-b1e76bcc50b9"}], "result"=>nil, "error"=>nil} irb(main):002:0> $ COMMIT=true foreman-rake katello:correct_repositories Processing Repository 1/2: Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server (1) Processing Repository 2/2: Satellite Tools 6.3 repo (4) Repository 4 Missing Recreating 4 $ foreman-rake katello:regenerate_repo_metadata Regenerating 2 repositories. You can monitor these on task id b895a75d-b57b-4579-9be8-36cff5d384b7 $ foreman-rake katello:refresh_pulp_repo_details Refreshing 2 repositories. You can monitor these on task id 8589af33-022b-4c99-a6a4-070560900f58 Tasks for katello:regenerate_repo_metadata and katello:refresh_pulp_repo_details both passed successfully. 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, 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/RHSA-2018:0336 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, 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/RHSA-2018:0336 |