Skip to content
Snippets Groups Projects
Commit ec11c312 authored by Rafal Lewandowski's avatar Rafal Lewandowski
Browse files

Add a separate interface address for tgtd

Closes-Bug: #2031237
Change-Id: I7a4eaeab0c106ebdcb4d4cf9825c53dd8ad62dbf
parent 13ba75cc
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ iscsi_services:
volumes: "{{ tgtd_default_volumes + tgtd_extra_volumes }}"
dimensions: "{{ tgtd_dimensions }}"
tgtd_interface_address: "{{ api_interface_address }}"
####################
# Docker
......
......@@ -16,7 +16,7 @@
- name: Checking free port for iscsi
wait_for:
host: "{{ api_interface_address }}"
host: "{{ tgtd_interface_address }}"
port: "{{ iscsi_port }}"
connect_timeout: 1
timeout: 1
......
{
"command": "tgtd -d 1 -f --iscsi portal={{ api_interface_address | put_address_in_context('url') }}:{{ iscsi_port }}",
"command": "tgtd -d 1 -f --iscsi portal={{ tgtd_interface_address | put_address_in_context('url') }}:{{ iscsi_port }}",
"config_files": []
}
---
fixes:
- |
Added ability to define address for a separate tgtd network interface.
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