Skip to content

Commit 0d84833

Browse files
committed
Use the new type HostDomainOpt.
Use the new oslo.confg type HostDomainOpt to support underscore in the name. You can see the bugzilla[1] to have more information. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1868940 Related-Bug: #1892044 Change-Id: Ib6c8fc1e3d90b79b10066c429670fcb957bddd23
1 parent 82141b1 commit 0d84833

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lower-constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ os-xenapi==0.3.4
6969
osc-lib==1.10.0
7070
oslo.cache==1.26.0
7171
oslo.concurrency==4.4.0
72-
oslo.config==6.8.0
72+
oslo.config==8.6.0
7373
oslo.context==3.1.1
7474
oslo.db==4.44.0
7575
oslo.i18n==5.0.1

nova/conf/libvirt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
* ``live_migration_uri``: If ``live_migration_uri`` value is not None, the
236236
scheme used for live migration is taken from ``live_migration_uri`` instead.
237237
"""),
238-
cfg.HostAddressOpt('live_migration_inbound_addr',
238+
cfg.HostDomainOpt('live_migration_inbound_addr',
239239
help="""
240240
IP address used as the live migration address for this host.
241241

nova/conf/netconf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
5050
* my_ip - if my_block_storage_ip is not set, then my_ip value is used.
5151
"""),
52-
cfg.StrOpt("host",
52+
cfg.HostDomainOpt("host",
5353
default=socket.gethostname(),
5454
sample_default='<current_hostname>',
5555
help="""

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ stevedore>=1.20.0 # Apache-2.0
3333
websockify>=0.9.0 # LGPLv3
3434
oslo.cache>=1.26.0 # Apache-2.0
3535
oslo.concurrency>=4.4.0 # Apache-2.0
36-
oslo.config>=6.8.0 # Apache-2.0
36+
oslo.config>=8.6.0 # Apache-2.0
3737
oslo.context>=3.1.1 # Apache-2.0
3838
oslo.log>=4.4.0 # Apache-2.0
3939
oslo.reports>=1.18.0 # Apache-2.0

0 commit comments

Comments
 (0)