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
This commit is contained in:
Jacob Estelle 2019-11-11 14:05:18 -08:00 committed by Mark Goddard
parent 4d0c442b88
commit 49b30a267f
2 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,7 @@
placement_api: "{{ placement_services['placement-api'] }}" placement_api: "{{ placement_services['placement-api'] }}"
wait_for: wait_for:
host: "{{ api_interface_address }}" host: "{{ api_interface_address }}"
port: "{{ placement_api_port }}" port: "{{ placement_api_listen_port }}"
connect_timeout: 1 connect_timeout: 1
timeout: 1 timeout: 1
state: stopped state: stopped

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes an issue with port prechecks for the Placement service. See `bug
1861189 <https://launchpad.net/bugs/1861189>`__ for details.