From 49b30a267f4f82472862405ed258d2ca0e284278 Mon Sep 17 00:00:00 2001 From: Jacob Estelle Date: Mon, 11 Nov 2019 14:05:18 -0800 Subject: [PATCH] Use listen port for Placement precheck Placement only needs its listen port to be free. During the Placement split from Nova in commit 2fc6d4cfc5 the wrong variable got moved into precheck for Placement, this fixes it. Change-Id: I71e3607c50110763259bfcd70ffb2f4c76e27f62 Closes-Bug: #1861189 --- ansible/roles/placement/tasks/precheck.yml | 2 +- .../notes/placement-listen-port-ebbd6aa61aa551da.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/placement-listen-port-ebbd6aa61aa551da.yaml diff --git a/ansible/roles/placement/tasks/precheck.yml b/ansible/roles/placement/tasks/precheck.yml index 8454f5266a..760c3f8f49 100644 --- a/ansible/roles/placement/tasks/precheck.yml +++ b/ansible/roles/placement/tasks/precheck.yml @@ -11,7 +11,7 @@ placement_api: "{{ placement_services['placement-api'] }}" wait_for: host: "{{ api_interface_address }}" - port: "{{ placement_api_port }}" + port: "{{ placement_api_listen_port }}" connect_timeout: 1 timeout: 1 state: stopped diff --git a/releasenotes/notes/placement-listen-port-ebbd6aa61aa551da.yaml b/releasenotes/notes/placement-listen-port-ebbd6aa61aa551da.yaml new file mode 100644 index 0000000000..f49397d4c2 --- /dev/null +++ b/releasenotes/notes/placement-listen-port-ebbd6aa61aa551da.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes an issue with port prechecks for the Placement service. See `bug + 1861189 `__ for details.