ironic_python_agent.extensions.log module¶
- class ironic_python_agent.extensions.log.LogExtension(agent=None)[source]¶
Bases:
BaseAgentExtension
- collect_system_logs()[source]¶
Collect system logs.
Collect and package diagnostic and support data from the ramdisk.
- Raises:
CommandExecutionError if failed to collect the system logs.
- Returns:
A dictionary with the key system_logs and the value of a gzipped and base64 encoded string of the file with the logs.