log when set host on maintenance
Change-Id: I44b1db763d3a0ed9eb4c007278c8f131db9b57dd
This commit is contained in:
parent
c6afc1bc8f
commit
bad1f2fe6e
@ -212,6 +212,7 @@ class MasakariManager(manager.Manager):
|
||||
if host_obj.reserved:
|
||||
update_data['reserved'] = False
|
||||
|
||||
LOG.info("Set host %s on maintenance.", host_name)
|
||||
host_obj.update(update_data)
|
||||
host_obj.save()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user