30a4340175
Add regex validation of api_url specified in configuration file. Oslo config will raise exception if no supported protocol prefix is included in Ironic api address in configuration file. Supported protocols are http and https. Regenerated the config file. Change-Id: Iabe576134d804211d7f552bfd5a76c404524ffef Closes-Bug: #1630785
9 lines
406 B
YAML
9 lines
406 B
YAML
---
|
|
fixes:
|
|
- Accepting ``[conductor]/api_url`` value specified in the configuration
|
|
file that does not start with either ``https://`` or ``http://``.
|
|
Such value leads to deployment failure on ironic-python-agent side.
|
|
This misconfiguration will be detected during ironic-conductor
|
|
and ironic-api start. An exception will be raised and an error about
|
|
the invalid value will be logged.
|