Fix handling hardware types and drivers when generating fencing parameters
First, it still supports the pxe_ssh driver which was removed long ago. Second, it expects driver names to contain _, which is not true even for some classic drivers, and is never true for hardware types. Finally, it supports the deprecated pxe_ilo and pxe_drac, but not the newer ilo and idrac. Also removes the leftover code handling pxe_ssh from nodes.py. Closes-Bug: #1770700 Change-Id: Iecb9ed779f311a9cf17006902732fe63bfb0713a
This commit is contained in:
@@ -10,6 +10,7 @@ workflows:
|
||||
a deployment.
|
||||
input:
|
||||
- nodes_json
|
||||
# TODO(dtantsur): remove in Stein (after it is no longer used)
|
||||
- os_auth
|
||||
- fence_action
|
||||
- delay
|
||||
@@ -29,7 +30,6 @@ workflows:
|
||||
action: tripleo.parameters.generate_fencing
|
||||
input:
|
||||
nodes_json: <% $.nodes_json %>
|
||||
os_auth: <% $.os_auth %>
|
||||
fence_action: <% $.fence_action %>
|
||||
delay: <% $.delay %>
|
||||
ipmi_level: <% $.ipmi_level %>
|
||||
|
||||
Reference in New Issue
Block a user