Create /var/log/ironic directory
This directory is used by ironic to write logs collected from ironic-python-agent on nodes being deployed to the disk of the controller. Without the directory errors occur and it is not possible to read the log from the agent. "Failed to store the logs from the node <uuid> deployment due a file-system related error. Error: [Errno 13] Permission denied: '/var/log/ironic'" Change-Id: I25a03e35f29ad7a835dfd72447fa7d20c50fd85c
This commit is contained in:
parent
7fa685167c
commit
7521ced334
@ -57,6 +57,7 @@
|
||||
- path: "/etc/ironic-inspector/rootwrap.d"
|
||||
condition: inventory_hostname in groups['ironic-inspector']
|
||||
- { path: "/etc/sudoers.d", mode: "0750", owner: "root", group: "root" }
|
||||
- { path: "/var/log/ironic" }
|
||||
- { path: "{{ ironic_system_home_folder }}" }
|
||||
- { path: "{{ ironic_system_home_folder }}/.ssh", mode: "0700" }
|
||||
- { path: "{{ ironic_system_home_folder }}/images" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user