Don't create placement.conf in perfload.yaml
With the merge of Iefa8ad22dcb6a128293ea71ab77c377db56e8d70 placement can run without a config file, so in this change we remove the creation of an empty one. All the relevant config is managed by environment variables, as provided by oslo.config 6.7.0. Change-Id: Ibf285e1da57be57f8f66f3c20d5631d07098ec1c
This commit is contained in:
parent
3ae8653338
commit
8bace2bdf3
|
@ -28,9 +28,7 @@
|
|||
python -m virtualenv -p python3 .placement
|
||||
. .placement/bin/activate
|
||||
pip install . PyMySQL uwsgi
|
||||
# set empty config, we shouldn't need a file, see https://review.openstack.org/#/c/619049
|
||||
sudo mkdir /etc/placement
|
||||
sudo touch /etc/placement/placement.conf
|
||||
# set config via environment
|
||||
export OS_PLACEMENT_DATABASE__CONNECTION=mysql+pymysql://root:secret@127.0.0.1/placement?charset=utf8
|
||||
export OS_DEFAULT__DEBUG=True
|
||||
export OS_API__AUTH_STRATEGY=noauth2
|
||||
|
|
Loading…
Reference in New Issue