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

Why world needs openscap_parser? #22

Open
isimluk opened this issue Nov 5, 2019 · 2 comments
Open

Why world needs openscap_parser? #22

isimluk opened this issue Nov 5, 2019 · 2 comments

Comments

@isimluk
Copy link
Member

isimluk commented Nov 5, 2019

Hello guys,

Congratulation to the new gem! I noticed that functionality currently in the repo can be replicated by exiting openscap gem.

There must be some reasons why to start new project. So, I was curious if you have any write up about design deficiencies of existing solution or bug reports or other kind of data. If you can share any of your findings I would be more than happy to learn from those.

Thanks!

@xprazak2
Copy link
Collaborator

Hi,
you are right, there is a lot of overlap with openscap gem. While using it in a long-running process, there was an excessive memory consumption, which eventually lead to the crash of the whole process. The exact cause is still unclear, the issue was resolved by calling any method from openscap gem in a shellout, which is far from a perfect solution.

The memory issue was also encountered by compliance-backend, but the same workaround could not be applied in a containerized environment, @dLobatog will have more details about that.

@redhatrises
Copy link
Member

Some statements that have been made:

- multiple segfaults
- much of the data attributes are not possible to obtain
- multiple memory leaks which are especially problematic in a containerized environment (Openshift)
- due to the issues above, we were failing performance testing which was a hard requirement for Cloud Services for RHEL Compliance to launch at summit.

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

No branches or pull requests

3 participants