-
Notifications
You must be signed in to change notification settings - Fork 58
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
admin-vm: logging module to centralize logs collection #565
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vilvo
temporarily deployed
to
internal-build-workflow
April 16, 2024 07:22
— with
GitHub Actions
Inactive
vilvo
temporarily deployed
to
internal-build-workflow
April 19, 2024 14:12
— with
GitHub Actions
Inactive
Hi @vilvo with following patch |
Thanks, please push directly to the PR branch. |
vunnyso
temporarily deployed
to
internal-build-workflow
April 24, 2024 11:17
— with
GitHub Actions
Inactive
vunnyso
temporarily deployed
to
internal-build-workflow
April 24, 2024 11:24
— with
GitHub Actions
Inactive
vunnyso
temporarily deployed
to
internal-build-workflow
April 24, 2024 11:25
— with
GitHub Actions
Inactive
vunnyso
temporarily deployed
to
internal-build-workflow
April 24, 2024 13:58
— with
GitHub Actions
Inactive
vunnyso
temporarily deployed
to
internal-build-workflow
April 25, 2024 08:50
— with
GitHub Actions
Inactive
vunnyso
temporarily deployed
to
internal-build-workflow
April 25, 2024 13:54
— with
GitHub Actions
Inactive
vilvo
temporarily deployed
to
internal-build-workflow
April 29, 2024 06:55
— with
GitHub Actions
Inactive
This was referenced Apr 29, 2024
* Design https://ssrc.atlassian.net/wiki/x/GYA4Pw * log-vm scaffolding based on copy of net-vm - sets up systemd-journal-remote on default port 19532 Signed-off-by: Ville Ilvonen <ville.ilvonen@unikie.com>
* run service to upload journal to log-vm - tested only to start without errors * formatting (nix fmt) Signed-off-by: Ville Ilvonen <ville.ilvonen@unikie.com>
Without this patch if ghaf-host tries to do `systemd-journal-upload` there will be following error "Failed to connect to 192.168.101.66 port 19532 after 0 ms: Couldn't connect to server". As there will be no listener running in log-vm to accept logs. With this patch we add listener in log-vm on 19532 port to accept logs. Logs will be stored at "/var/log/journal/remote" in log-vm. `ghaf-host` logs are getting stored in log-vm successfully. Signed-off-by: Vunny Sodhi <vunny.sodhi@unikie.com>
This patch will extend support of logging of different vms such as gui-vm, net-vm and app-vms. Central logs will be stored `/var/log/journal/remote` on ghaf-host Same logs can be viewed in log-vm as well. App-vms logs will be saved as remote-192.168.101.1.journal. Journal logs will be persistent even after reboot. Signed-off-by: Vunny Sodhi <vunny.sodhi@unikie.com>
Signed-off-by: Ville Ilvonen <ville.ilvonen@unikie.com> Signed-off-by: Vunny Sodhi <vunny.sodhi@unikie.com>
Signed-off-by: Vunny Sodhi <vunny.sodhi@unikie.com>
vunnyso
temporarily deployed
to
internal-build-workflow
May 17, 2024 14:38
— with
GitHub Actions
Inactive
vilvo
changed the title
log-vm: VM to secure and centralize logs
admin-vm: logging module to centralize logs collection
Jun 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Concepting to support the design:
log-vm
scaffolding based on copy ofnet-vm
cloud-hypervisor
instead ofqemu
net-vm
andgui-vm
) redirected to a share (/var/log/journal/remote
)...
Description of changes
Checklist for things done
x86_64
aarch64
riscv64
nix flake check --accept-flake-config
and it passesTesting