Bug 2131415
| Summary: | After changing Satellite hostname Capsules still have packages referring to old hostname | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Paul Dudley <pdudley> |
| Component: | satellite-change-hostname | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | NEW --- | QA Contact: | Satellite QE Team <sat-qe-bz-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.11.2 | CC: | ahumbe, ehelms |
| Target Milestone: | Unspecified | Keywords: | Triaged, WorkAround |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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: | |||
|
Description
Paul Dudley
2022-09-30 23:39:22 UTC
To update remote artifacts You can run this (assuming rhel8): ~~~ On Capsule: - # sudo -u pulp PULP_SETTINGS='/etc/pulp/settings.py' DJANGO_SETTINGS_MODULE='pulpcore.app.settings' pulpcore-manager dbshell pulpcore=> BEGIN; pulpcore=> update "core_remoteartifact" pulpcore=> set url = REPLACE(url, 'https://oldname.example.com','https://newname.example.com'); - verified old name no longer found - if problems, ROLLBACK; - COMMIT; ~~~ |