Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
rhsm_register resource creates high load on Red Hat Satellite #9295
Please let me know if you need and data or testing from me. I realize that satellite is a pretty niche thing, so I will be more than happy to help or contribute to get this resolved.
Here is some more information:
As you can see, if you have several nodes running these process, especially multiple times if you are enabling multiple repos, this could cause the number of tasks to build up on the satellite, increasing the load. I am trying to see if Red Hat can provide any type of cache data that can be reviewed on the node vs having to reach out to the satellite all of the time. Seems silly to me that has to do this.
Here is more information. I saw the following displayed when running the
The way I am doing the subscription attachment is I am looping through an array of subscription IDs. Maybe not ideal, but not sure how else it should be done since you can't pass an array to the resource itself.
As far as checking subscription, we could possible use
The best option for reviewing the repos that are enabled at this point seems to be to read through the