Opened 6 years ago
Closed 6 years ago
Last modified 5 years ago
#13593 closed Patch - Bug Fix (fixed)
Python: Use 'MasterServerName' instead of 'MasterServerIP'
Reported by: | rcrdnalor | Owned by: | rcrdnalor |
---|---|---|---|
Priority: | minor | Milestone: | 31.1 |
Component: | Bindings - Python | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Ticket #13024 : Networking Improvements introduced new settings for 'MasterServerName', 'BackendServerAddr' and 'BackendServerPort' and deprecates '!MasterServerIP' and 'MasterServerPort'.
'BackendServerAddr' can be an IPv4 or IPv6 in the classical "dot/colon" notation, or is provided in it's canonical form.
From settings table: | value | data | hostname | +-------------------+---------------------+----------+ | BackendServerAddr | 192.168.1.100 | myserver | | BackendServerPort | 6543 | myserver | | MasterServerName | myserver | NULL | +-------------------+---------------------+----------+ or | value | data | hostname | +-------------------+---------------------+----------+ | BackendServerAddr | server.example.com | myserver | | BackendServerPort | 6543 | myserver | | MasterServerName | myserver | NULL | +-------------------+---------------------+----------+
Thanks to Ross Boylan for pointing this out in the user mailing list and to and to Peter Bennett for additional explanation.
The workaround until this ticket gets fixed is to use only IP addresses in the ".dot" notation and take care, that the "!MasterServerIP" is identical to the "BackendServerAddr".
Attached patch uses these new settings for the Python Bindings instead of the deprecated ones.
Attachments (2)
Change History (7)
by , 6 years ago
Attachment: | Python_Replace_deprecated_settings.patch added |
---|
by , 6 years ago
Attachment: | 0001-BackendServerAddr-and-MasterServerName-replaced-Mast.patch added |
---|
Updated patch for replacing deprecated setting 'MasterServerIP'
comment:2 by , 5 years ago
Roland,
does this need to be cherry-picked back to fixes/31?
Regards Stuart
comment:3 by , 5 years ago
Milestone: | needs_triage → 32.0 |
---|
comment:4 by , 5 years ago
Milestone: | 32.0 → 31.1 |
---|
Replace deprecated settings 'MasterServerIP' and 'MasterServerPort'