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

Add log rotation configuration for VM Agent #5366

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

mengdie-song
Copy link
Contributor

VM Agent crashes because log rotation configuration is nil.
This change adds log rotation configuration for VM Agent.

@mengdie-song
Copy link
Contributor Author

Hi @antoninbas , I just found VM Agent crashed on main branch because the newly added log rotation configurations are nil.
Could you help review this change?

Copy link
Contributor

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mengdie-song. I'll merge this PR as is.
However, the real issue is that I mistakenly added the code responsible for initializing the auditLogging configuration to setK8sNodeDefaultOptions instead of setDefaults in cmd/antrea-agent/options.go.

@antoninbas
Copy link
Contributor

/test-vm-e2e

@antoninbas
Copy link
Contributor

Follow-up PR to fix initialization in options.go: #5369

@XinShuYang
Copy link
Contributor

/test-vm-e2e

@antoninbas
Copy link
Contributor

@mengdie-song could you rebase the PR and run test-vm-e2e again?

VM Agent crashes because log rotation configuration is nil.
This change adds log rotation configuration for VM Agent.

Signed-off-by: Mengdie Song <[email protected]>
@mengdie-song
Copy link
Contributor Author

/test-vm-e2e

@mengdie-song
Copy link
Contributor Author

Hi @antoninbas, I has rebased the PR and VM e2e test has passed. Regarding the e2e cleanup issue, I have another change to fix it (#5406).

@antoninbas
Copy link
Contributor

/skip-conformance
/skip-networkpolicy

@antoninbas antoninbas merged commit 5199aa3 into antrea-io:main Aug 18, 2023
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.

3 participants