OpenStack library for config
Go to file
Hervé Beraud 6480356928 Add a new type HostDomain.
HostDomain is like HostAddress with the support of
_ character - RFC1033

openstack services are failing to start when a hostname with underscore
_ is provided.

Example:

```
overcloud-novacompute_edge1-0.internalapi.localdomain
overcloud-novacompute_edge1-0.internalapi
```

Nova use `HostAddressOpt` to define `live_migration_inbound_addr`,
and if a hostname with underscore is present in the config file
then the service fail to start.

Example:

```
/etc/nova/nova.conf
live_migration_inbound_addr =
overcloud-novacompute_edge1-0.internalapi.localdomain
```

FQDN is a domain name that specifies its exact
location in the tree hierarchy of the Domain Name System (DNS).

Underscore are allowed by RFC1033 [1][2][3]. Indeed, while a hostname may not
contain other characters, such as the underscore character (_), other
DNS names may contain the underscore.[1][2].
Systems such as DomainKeys and service records use the underscore.

These changes allow us to use underscore with the `HostDomain`.

[1] https://www.ietf.org/rfc/rfc1912.txt
[2] https://www.ietf.org/rfc/rfc1033.txt
[3] http://domainkeys.sourceforge.net/underscore.html

Co-authored-by: Daniel Bengtsson <dbengt@redhat.com>
Change-Id: I0a0670207f96a987996d329e5efa9a5eb2ce000c
Closes-Bug: #1892044
2020-10-22 12:30:39 +02:00
.zuul.d Add Python3 victoria unit tests 2020-04-14 10:13:32 +00:00
doc Fix pygments style 2020-06-04 16:00:30 +08:00
oslo_config Add a new type HostDomain. 2020-10-22 12:30:39 +02:00
releasenotes Add a new type HostDomain. 2020-10-22 12:30:39 +02:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:20:49 -04:00
.gitignore mypy: Add boilerplate configuration 2020-02-12 09:56:58 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:35:49 +00:00
.stestr.conf Migrating oslo.config to use stestr 2019-01-15 16:15:34 +08:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:21:14 +02:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 22:32:03 +08:00
LICENSE Add LICENSE file 2013-02-17 09:25:32 +00:00
README.rst update source link in readme 2019-10-15 10:53:35 +08:00
bindep.txt [ussuri][goal] Drop python 2.7 support and testing 2020-02-03 15:12:02 +00:00
lower-constraints.txt drop use of pkg_resources 2020-07-05 19:37:01 -04:00
requirements.txt drop use of pkg_resources 2020-07-05 19:37:01 -04:00
setup.cfg Add py38 package metadata 2020-05-22 15:06:57 +08:00
setup.py remove outdated header 2020-02-10 18:34:03 +01:00
test-requirements.txt Bump bandit version 2020-07-24 17:32:21 +02:00
tox.ini Merge "mypy: Add boilerplate configuration" 2020-03-07 21:39:29 +00:00

README.rst

Team and repository tags

image

Oslo Configuration Library

Latest Version

Downloads

The Oslo configuration API supports parsing command line arguments and .ini style configuration files.