enroll-server
Perform server discovery and update Nautobot and Ironic
Defined in workflows/argo-events/workflowtemplates/enroll-server.yaml
Workflow Diagram
graph TB;
subgraph enroll-server
direction TB
style enroll-server fill:#fafaff;
enroll-server__main{{<span style="font-size:20px">main</span>}}
style enroll-server__main fill:lightgray,stroke:#aaa;
enroll-server__main__avail-server[<span style="font-size:20px">avail-server</span><pre style="color:red">when: steps.server-manage-state.outputs.result == manageable</pre><pre style="color:dimgray;margin-top:8px">operation=provide<br></pre>]
style enroll-server__main__avail-server fill:white;
enroll-server__main__enroll-server[<span style="font-size:20px">enroll-server</span>]
style enroll-server__main__enroll-server fill:white;
enroll-server__main__manage-server[<span style="font-size:20px">manage-server</span><pre style="color:red">when: steps.server-enroll-state.outputs.result == enroll</pre><pre style="color:dimgray;margin-top:8px">operation=manage<br></pre>]
style enroll-server__main__manage-server fill:white;
enroll-server__main__openstack-set-baremetal-node-raid-config[<span style="font-size:20px">openstack-set-baremetal-node-raid-config</span>]
style enroll-server__main__openstack-set-baremetal-node-raid-config fill:white;
enroll-server__main__server-enroll-state[<span style="font-size:20px">server-enroll-state</span>]
style enroll-server__main__server-enroll-state fill:white;
enroll-server__main__server-manage-state[<span style="font-size:20px">server-manage-state</span>]
style enroll-server__main__server-manage-state fill:white;
enroll-server__enroll-server{{<span style="font-size:20px">enroll-server</span>\n<span style="color:green">image: ironic-nautobot-client</span>}}
style enroll-server__enroll-server fill:lightgray,stroke:#aaa;
enroll-server__openstack-wait-cmd{{<span style="font-size:20px">openstack-wait-cmd</span>\n<span style="color:green">image: openstack-client</span>}}
style enroll-server__openstack-wait-cmd fill:lightgray,stroke:#aaa;
enroll-server__openstack-set-baremetal-node-raid-config{{<span style="font-size:20px">openstack-set-baremetal-node-raid-config</span>\n<span style="color:green">script: ghcr.io/rackerlabs/understack/openstack-client:2024.2-ubuntu_jammy</span>}}
style enroll-server__openstack-set-baremetal-node-raid-config fill:lightgray,stroke:#aaa;
enroll-server__openstack-state-cmd{{<span style="font-size:20px">openstack-state-cmd</span>\n<span style="color:green">image: openstack-client</span>}}
style enroll-server__openstack-state-cmd fill:lightgray,stroke:#aaa;
end
enroll-server__main --> enroll-server__main__avail-server
enroll-server__main__avail-server --> enroll-server__main__enroll-server
enroll-server__main__enroll-server --> enroll-server__main__manage-server
enroll-server__main__manage-server --> enroll-server__main__openstack-set-baremetal-node-raid-config
enroll-server__main__openstack-set-baremetal-node-raid-config --> enroll-server__main__server-enroll-state
enroll-server__main__server-enroll-state --> enroll-server__main__server-manage-state
enroll-server__main__avail-server -.-> enroll-server__openstack-wait-cmd
enroll-server__main__enroll-server -.-> enroll-server__enroll-server
enroll-server__main__manage-server -.-> enroll-server__openstack-wait-cmd
enroll-server__main__openstack-set-baremetal-node-raid-config -.-> enroll-server__openstack-set-baremetal-node-raid-config
enroll-server__main__server-enroll-state -.-> enroll-server__openstack-state-cmd
enroll-server__main__server-manage-state -.-> enroll-server__openstack-state-cmd
linkStyle 0,1,2,3,4,5 stroke:#888,stroke-width:2px;
linkStyle 6,7,8,9,10,11 stroke:#888,stroke-width:2px;