-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Calling "pkg update -n" on Solaris too frequently causes problems with zones #9199
Comments
I've been running with the following now for about a year and it appears to address the issue.
Limiting calls to this pkg command reduces the chances of this problem occurring. There are some optimisations that can be made in In An argument could be made that we could determine everything from the Also in |
It's worth noting that the "normal" case for |
It's important for |
The block of code from |
Describe the Bug
On a Solaris system, running "pkg update -n" in the global zone at the same time that it is running in a non-global zone, can cause the command to fail in one or the other.
If we have puppet running this command, it causes the puppet run to fail for that specific resource.
On a T7-4 with more than 70 non-global zones, this happens, ... a lot.
Expected Behavior
insync? to return either true or false without having unexpected errors in the package subsystem.
Steps to Reproduce
Not so much steps as having an environment with a lot of non-global zones with puppet running on the global zone AND the non-global zones. If we find ourselves running pkg update -n in more than one place at once, one of them will fail.
Environment
Additional Context
The existence of puppet running in no-global zones as well as the global zone. I've been running something that addresses this now for about a year.
The text was updated successfully, but these errors were encountered: