ironic/releasenotes/notes/check_protocol_for_ironic_api-32f35c93a140d3ae.yaml
Joanna Taryma 30a4340175 Fail ironic startup if no protocol prefix in ironic api address
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
2016-12-13 12:08:18 +01:00

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.