Comment 2 for bug 1961839

Revision history for this message
Billy Olsen (billy-olsen) wrote :

I wonder if this should be an action, since its unlikely you'll want to enable this across a fleet of compute nodes at the same time, since there's both performance and disk usage impacts of enabling this.

Maybe something like the following:

juju run-action nova-compute enable-rbd-debug debug_rbd=20/20 ...

juju run-action nova-compute disable-rbd-debug

Of course, the challenge is how to handle this without a guest restart. The logging levels could be dynamically changed of course via the admin socket. Implementing this will need to consider log rotation as well in order to avoid running out of disk space when capturing debug data. You may end up with less debug than intended, however its best not to take the host out with it either.