ironic-python-agent/ironic_python_agent
Lucas Alvares Gomes af81914ce7 Add a log extension
The log extension is responsible for retrieving logs from the system,
if journalctl is present the logs will come from it, otherwise we
fallback to getting the logs from the /var/log directory + dmesg logs.

In the coreos ramdisk, we need to bind mount /run/log in the container
so the IPA service can have access to the journal.

For the tinyIPA ramdisk, the logs from IPA are now being redirected to
/var/logs/ironic-python-agent.log instead of only going to the default
stdout.

Inspector now shares the same method of collecting logs, extending its
capabilities for non-systemd systems.

Partial-Bug: #1587143
Change-Id: Ie507e2e5c58cffa255bbfb2fa5ffb95cb98ed8c4
2016-06-28 17:02:11 +01:00
..
api TinyIPA: Precompile python code for faster load 2016-05-11 18:58:57 +01:00
cmd Consolidate IPA configuration into a config module 2016-05-31 15:24:23 +01:00
extensions Add a log extension 2016-06-28 17:02:11 +01:00
shell Prevent failure on 'copy_configdrive_to_disk.sh' 2016-05-17 18:09:03 -03:00
tests Add a log extension 2016-06-28 17:02:11 +01:00
__init__.py Use # instead of """ for copyright blocks 2014-04-10 07:14:06 -07:00
agent.py Wait for at least one interface before node lookup 2016-06-14 12:36:52 +00:00
config.py Support LLDP data as part of interfaces in inventory 2016-06-22 18:26:04 +01:00
encoding.py Create a SerializableComparable class 2015-09-11 13:44:09 -07:00
errors.py Bind to interface routable to the ironic host, not a random one 2016-03-21 14:21:12 +00:00
hardware.py Support LLDP data as part of interfaces in inventory 2016-06-22 18:26:04 +01:00
inspector.py Add a log extension 2016-06-28 17:02:11 +01:00
ironic_api_client.py Fix programmatic error in heartbeat() 2016-03-11 16:58:28 +00:00
netutils.py Consolidate IPA configuration into a config module 2016-05-31 15:24:23 +01:00
utils.py Add a log extension 2016-06-28 17:02:11 +01:00
version.py Add sphinx build + basic documentation 2015-03-31 16:22:12 -07:00