Skip to content
Snippets Groups Projects
Commit 07453f34 authored by Mark Goddard's avatar Mark Goddard
Browse files

Use ironic-inspector user for ironic inspector

This change updates the ironic_inspector container deployment tasks
to use the new kolla ironic-inspector image (see kolla change
Ibdc5ba35db61f4974d4282aff34bcb5ccd952d45). The new image uses the
ironic-inspector user rather than the ironic user to execute the
ironic inspector service as this more closely aligns with what is
typically done by downstream packagers (specifically, Ubuntu and
RDO).

This change sets the owner and group to ironic-inspector when
copying configuration files into place, and uses the log directory
/var/log/kolla/ironic-inspector.

Change-Id: I8579d5c2d741636406ff60bececc74b50743b83e
Depends-On: Ibdc5ba35db61f4974d4282aff34bcb5ccd952d45
Closes-Bug: #1624457
parent d17fc568
No related branches found
No related tags found
No related merge requests found
[DEFAULT]
debug = {{ ironic_logging_debug }}
log_dir = /var/log/kolla/ironic
log_dir = /var/log/kolla/ironic-inspector
{% if orchestration_engine != 'KUBERNETES' %}
listen_address = {{ api_interface_address }}
......
......@@ -4,13 +4,13 @@
{
"source": "{{ container_config_directory }}/inspector.conf",
"dest": "/etc/ironic-inspector/inspector.conf",
"owner": "ironic",
"owner": "ironic-inspector",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",
"dest": "/etc/ironic/policy.json",
"owner": "ironic",
"dest": "/etc/ironic-inspector/policy.json",
"owner": "ironic-inspector",
"perm": "0600",
"optional": true
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment