log rotation needed for guestagent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Low
|
Masaki Matsushita |
Bug Description
Currently, there is no log rotation for the guest-agent.
Guest agent logs are stored in log_dir/log_file config gathered from /etc/trove/
Right now, it's set to /tmp/logfile.txt. This can fill up the root-disk on the guest-agent instance.
AFAIK, this requires setting up logrotate in the diskimage-builder elements.
Things to consider for this bug:
1) How much logrotate config should we give the user in guest-agent CONF? -=> Might be a better idea to just keep it simple and just add log_rotate_
2) This leads me to the next point... this approach requires that diskimage-builder is called in order to create an image with the logrotate config setup (for any db instances to be provisioned with log rotation).
Changed in trove: | |
status: | New → In Progress |
assignee: | nobody → Michael Yu (michayu-c) |
description: | updated |
Changed in trove: | |
importance: | Undecided → Medium |
Changed in trove: | |
assignee: | Michael Yu (michayu-c) → nobody |
milestone: | none → ongoing |
status: | In Progress → Confirmed |
Updating importance to "Low" (bugscrub, 2014-10-23)