def _StoreInstReasonTrail(instance_name, trail):
  json = serializer.DumpJson(trail)
  filename = _GetInstReasonFilename(instance_name)
  utils.WriteFile(filename, data=json)
Put the node in maintenance mode.
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/_StoreInstReasonTrail--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/api/controllers/v1/node.py/NodeMaintenanceController.put