
Currently placement records REMOTE_ADDR environment as source ip but this environment points load balancer ips instead of actual client ips when placmenet runs behind load balancers like haproxy. This change enables HTTPProxyToWSGI middleware to parse request headers to look up actual client address. Story: 2009049 Task: 42819 Change-Id: I4d15201dd2f94d00f4f2b53f773511ea020ef4ac
Sample policy and config files
This directory contains sample placement.conf
and
policy.yaml
files.
Sample Config
To generate the sample placement.conf
file, run the
following command from the top level of the placement directory:
tox -e genconfig
For a pre-generated example of the latest
placement.conf
, see:
https://docs.openstack.org/placement/latest/configuration/sample-config.html
Sample Policy
To generate the sample policy.yaml
file, run the
following command from the top level of the placement directory:
tox -e genpolicy
For a pre-generated example of the latest placement
policy.yaml
, see:
https://docs.openstack.org/placement/latest/configuration/sample-policy.html