We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3ed80a commit 0a2d836Copy full SHA for 0a2d836
ocaml/xapi/xapi_mgmt_iface.ml
@@ -183,6 +183,8 @@ let on_dom0_networking_change ~__context =
183
Db.Host.set_name_label ~__context ~self:localhost ~value:new_hostname;
184
begin match Helpers.get_management_ip_addr ~__context with
185
| Some ip ->
186
+ (* WARNING: this does NOT detect IP address changes that happen before
187
+ xapi's startup (see CA-242706) *)
188
if Db.Host.get_address ~__context ~self:localhost <> ip then begin
189
debug "Changing Host.address in database to: %s" ip;
190
Db.Host.set_address ~__context ~self:localhost ~value:ip;
0 commit comments