Request #5392
Store VM Log in DB
Status: | Pending | Start date: | 09/25/2017 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Core & System | |||
Target version: | - | |||
Pull request: |
Description
Actually all VM logs are stored on the virtualization hosts. Especially for larger deployments I think it is a good idea to store the VM logs in DB so that you can see the complete history. Now I can only see the last logs when having done a live-migration for example.
History
#1 Updated by Ruben S. Montero almost 4 years ago
- Tracker changed from Feature to Request
There is also a log file per VM stored at the front-end. The information in hosts should be the hypervisor related logs (i.e. qemu log files). I'm not sure if I fully understand this, are you referring to the KVM files to be stored at OpenNebula DB?
#2 Updated by Tobias Rehn almost 4 years ago
Ah Ruben, sorry.
I meant the logfiles stored on the sunstone servers. If you have a HA deployment with the new RAFT algorithm the logs are stored on the current leader. If the leader changes the logfiles are not accessible from the new leader - there is some part missing which is stored on the old leader. I think it would be nice to save the logfiles on die database so they are accessible from all sunstone host.