Skip to content

Commit

Permalink
Fix configuration of the log file name for the neutron-sriov-agent
Browse files Browse the repository at this point in the history
It needs to be passed as the command line argument to be working fine
so this patch moves it from the config dir to the command line
arguments.
  • Loading branch information
slawqo committed Sep 21, 2023
1 parent 959e29f commit 0c9b652
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: "/usr/bin/neutron-sriov-nic-agent"
command: "/usr/bin/neutron-sriov-nic-agent --log-file /var/log/neutron/neutron-sriov-nic-agent.log"
permissions:
- owner: neutron:neutron
path: /var/log/neutron
Expand Down
1 change: 0 additions & 1 deletion roles/edpm_neutron_sriov/templates/neutron.conf.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[DEFAULT]
log_file = /var/log/neutron/neutron-sriov-nic-agent.log
debug = {{ edpm_neutron_sriov_DEFAULT_debug }}
rpc_response_timeout = {{ edpm_neutron_sriov_DEFAULT_rpc_response_timeout }}
transport_url = {{ edpm_neutron_sriov_DEFAULT_transport_url }}
Expand Down

0 comments on commit 0c9b652

Please sign in to comment.