Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It looks the 100K is controlled by the following code on compute node.

I changed the MAX_CONSOLE_BYTES on source file, and restarted openstack-nova-compute.service, then it works.

But I don't see MAX_CONSOLE_BYTES in any nova configuration files.


MAX_CONSOLE_BYTES = 100 * units.Ki
                with libvirt_utils.file_open(path, 'rb') as fp:
                    log_data, remaining = utils.last_bytes(fp,
                    if remaining > 0:
              'Truncated console log returned, '
                                     '%d bytes ignored'), remaining,
                    return log_data