Bug #14145
closedAbility to remove synced contents from Red Hat Satellite Capsule server.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1261184
Description of problem:
As like satellite there is no /etc/cron.weekly/katello-remove-orphans to remove the contents of environment which are no more associated with capsule.
Version-Release number of selected component (if applicable):
Red Hat Satellite Capsule 6.0/6.1
How reproducible:
Always
1. Get Satellite and capsule setup with lifycycle-environment synced on capsule server.
2. On satellite remove the lifecycle environment from capsule.
- hammer capsule content remove-lifecycle-environment --lifecycle-environment-id <lifecycle-environment-id> --id <capsule-id>
- hammer capsule content synchronize --id <capsule-id>
4. Refresh the capsule from webui
Login satellite webui --> Infrastructure --> Capsule --> Refresh
Actual results:
The data synced from the environment which is no more part of capsule do not get removed.
Expected results:
Removing the environment from capsule should remove the data of that environment from capsule when sync done.
OR
Should have somewhat similar script /etc/cron.weekly/katello-remove-orphans as we have on satellite server to remove the orphan repositories and other contents.
Additional info:
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to John Mitsch
- Pull request https://github.com/Katello/katello/pull/5868 added
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86
Updated by John Mitsch over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|765384e8127bca764c5bac024dd93b3fa3b1947a.