Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove attached subscriptions if an host didn't match any sub entry #65

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

mossicrue
Copy link
Contributor

Add the code that will remove attached subscriptions of a content hosts if it doesn't match any rule in subscription entries

NB: depend on #64

Added needed_entitlment function in Utils class that handle how much entitlment need a subscriptions to be attached
Add the code and the options for the functions that check if a content hosts has attached multiple subscriptions of the same parsed product from the yaml
Add the status of ELS server for every cluster
Fix the ratio count by "guest / host" to "guest / (socket / 2)"
making more scalable
If kas check subs of an hypervisors, next the script will check its guests subscription, in order to avoid a long subscription "down time"  if something changed
Now it supports mixed subs parsing:
eg
host with rhel vdc and els physical if hypervisor hasn't els vdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant