-
Notifications
You must be signed in to change notification settings - Fork 546
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
Add kdump support for COS #1548
Conversation
Add a basic policy class for Container-Optimized OS (COS). A new CosPlugin tagging class is introduced for COS-specific plugin cases. Signed-off-by: Xuewei Zhang <[email protected]>
9 exisiting plugins already works on Container-Optimized OS. Marking it to reflect that. Signed-off-by: Xuewei Zhang <[email protected]>
Signed-off-by: Xuewei Zhang <[email protected]>
This pull request is to add kdump support in COS, which is the third commit in this series. |
Sorry, I submitted the code against the wrong branch. Discarding this pull request. Will create a new one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're going to want a PackageManager for this policy, or few plugins will be triggered to execute.
Hi Bryan, the problem is that COS is a locked-down OS, without any PackageManager. It is similar to CoreOS in this way. You can see the documentation at [1]. Basically since COS should only be used to run docker/k8s containers, it simply don't have a package manager. I think for now, only triggering the "whitelisted" plugins on COS is good enough for now. Later I can do a through scan, and get a more complete list of plugins that works on COS. Thanks! |
It's Bryn - no 'a'.
It will still have a set of installed packages - much like e.g. Atomic with RPMOSTree (albeit by a different mechanism). The policy should emulate this - if necessary by providing or obtaining a static list of all packages and their versions, and exposing this through the
It's more a matter of having a policy and plugin set that fits in with the overall |
ChromiumOS is the development version of ChromeOS, so it is based on Gentoo, which uses the Portage package manager: there should be files available in the read-only root file system that will provide the information that sos needs. Note that even after doing this, working on this OS may be challenging since most commands and higher level tools are containerised. You can look at the work that we did for Atomic to get an idea of what is involved but it is non-trivial to support this kind of system today. |
Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines