Allow pxe_drac as an available drop-down option for registering nodes in UI
Bug #1609912 reported by
Dan Trainor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Julie Pichon |
Bug Description
When "Upload From File" is used to Register nodes in the UI, the dialogue provides post-import configuration options. One of these options is for the value of 'Driver'. The option only seems to support the 'pxe_ssh' and 'pxe_ipmitool' Drivers.
Allowing the specification of the 'pxe_drac' Driver in this drop-down - or better yet, dynamically sourcing from Ironic a list of supported drivers - should be added.
To post a comment you must log in.
This might be better approached by providing values in the UI that 'ironic driver-list' provides:
[stack@ macd43d7ebcad02 ~]$ ironic driver-list ------- ------- -+----- ------- ------- ----+ ------- ------- -+----- ------- ------- ----+ localdomain | localdomain | localdomain | localdomain | localdomain | localdomain | localdomain | ------- ------- -+----- ------- ------- ----+ macd43d7ebcad02 ~]$
+------
| Supported driver(s) | Active host(s) |
+------
| fake_pxe | localhost.
| pxe_amt | localhost.
| pxe_drac | localhost.
| pxe_ilo | localhost.
| pxe_ipmitool | localhost.
| pxe_ssh | localhost.
| pxe_wol | localhost.
+------
[stack@
The UI can build form fields based on the available parameters of each driver, as provided by the 'ironic driver-properties' command:
[stack@ macd43d7ebcad02 ~]$ ironic driver-properties fake_pxe ------- ------- ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+ ------- ------- ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+ forces_ oob_reboot | Whether Ironic should force a reboot of the Node via the out-of-band channel after deployment is complete. Provides compatiblity with older deploy ramdisks. Defaults to False. Optional. | ------- ------- ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+ macd43d7ebcad02 ~]$ ironic driver-properties pxe_ipmitool ------- ------- ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------- ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --...
+------
| Property | Description |
+------
| deploy_
| deploy_kernel | UUID (from Glance) of the deployment kernel. Required. |
| deploy_ramdisk | UUID (from Glance) of the ramdisk that is mounted at boot time. Required. |
+------
[stack@
+------
| Property | Description |
+------