Is it possible to delete Inactive system profiles automatically via the Satellite Web UI?
Environment
- Red Hat Satellite 5.4
- Red Hat Satellite 5.5
Issue
- Is is possible to delete inactive system profiles automatically via the Satellite Web UI?
- Are there any tasks running in satellite to delete inactive system profiles automatically?
Resolution
- Currently this feature request is being tracked in Red Hat Bugzilla 988870 (bug not publicly accessible, please contact your Red Hat Support representative if more information is required). To get more information about this contact to Red Hat Support.
- The options available currently to delete inactive profiles are:
1) Command line tool:
# delete-old-systems-interactive --idle <timeframe> --password <yoursatellite adminpass> --force
For example:
# delete-old-systems-interactive --idle 10 --password <passwd> --force
- In the command above
--idle 10and--idle 10dis the same and means ten days,--idle 2wmeans two weeks.
2) To delete profiles using API:
-
system.listInactiveSystems: Lists systems that have been inactive for the specified number of days
- Refer: https://access.redhat.com/site/documentation/en-US/Red_Hat_Network_Satellite/5.5/html/API_Overview/files/singlepage/handlers/apilist.html#$handler.name-listInactiveSystems -
system.deleteSystems: Delete systems according to given list of system ids.
- Refer: https://access.redhat.com/site/documentation/en-US/Red_Hat_Network_Satellite/5.5/html/API_Overview/files/singlepage/handlers/apilist.html#$handler.name-deleteSystems
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
