2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 11:30:23 +00:00

Redirect non-enclosure reseat to nodes

This allows new PSU AC cycle functionality to work.
This commit is contained in:
Jarrod Johnson 2021-03-03 13:01:25 -05:00
parent 5ed0b50110
commit 247838f70c

View File

@ -24,11 +24,8 @@ def update(nodes, element, configmanager, inputdata):
em = emebs[node]['enclosure.manager']['value']
eb = emebs[node]['enclosure.bay']['value']
except KeyError:
yield msg.ConfluentNodeError(
node,
'Reseat is only supported on servers in an enclosure, and '
'with enclosure.manager and enclosure.bay defined')
continue
em = node
eb = -1
try:
for rsp in core.handle_path(
'/nodes/{0}/_enclosure/reseat_bay'.format(em),