Add machine does not show all supported options

Bug #1887699 reported by Lee Trager
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Low
Unassigned
maas-ui
Triaged
Low
Unassigned

Bug Description

I was helping a customer setup MAAS and I realized that a number of options available on the API when adding a new machine are missing from the UI. Options that are missing include whether commissioning runs, what custom commissioning scripts run, and whether the BMC is configured. I believe these were omitted due to space, I'm creating this bug to revisit that decision since we are adding collapsible options to deploying.

Missing options:

 :param commission: Optional. Request
the newly created machine to be created with status set to
COMMISSIONING. Machines will wait for COMMISSIONING results and not
time out.
:type commission: Boolean

:param enable_ssh: Optional. Whether to enable SSH for
the commissioning environment using the user's SSH key(s). '1' == True,
'0' == False.
:type enable_ssh: Int

 :param skip_bmc_config: Optional. Whether to skip
re-configuration of the BMC for IPMI based machines. '1' == True, '0'
== False.
:type skip_bmc_config: Int

 :param commissioning_scripts: Optional. A comma
seperated list of commissioning script names and tags to be run. By
default all custom commissioning scripts are run. Built-in
commissioning scripts always run. Selecting 'update_firmware' or
'configure_hba' will run firmware updates or configure HBA's on
matching machines.
:type commissioning_scripts: String

 :param testing_scripts: Optional. A comma seperated
list of testing script names and tags to be run. By default all tests
tagged 'commissioning' will be run. Set to 'none' to disable running
tests.
:type testing_scripts: String

 :param description: Optional. A optional description.
:type description: String

Tags: ux
Revision history for this message
Bill Wear (billwear) wrote :

I can verify that these options are indeed part of the CLI, and are indeed missing from the UI when adding a machine. Triaging.

Changed in maas:
status: New → Triaged
Changed in maas-ui:
importance: Undecided → Unknown
Changed in maas:
importance: Undecided → Medium
Lee Trager (ltrager)
Changed in maas:
milestone: 2.9.0b1 → 2.9.0b2
Lee Trager (ltrager)
Changed in maas:
milestone: 2.9.0b2 → 2.9.0b3
milestone: 2.9.0b3 → 2.9.0b4
Lee Trager (ltrager)
Changed in maas:
milestone: 2.9.0b4 → 2.9.0b7
Lee Trager (ltrager)
Changed in maas:
milestone: 2.9.0b7 → 2.9.x
Revision history for this message
Amy Pattanasethanon (amylily) wrote :

Do I need to set any default values in the UI for any of these fields?

Revision history for this message
Lee Trager (ltrager) wrote :

commission - Default to true

enable_ssh - Default to false

skip_bmc_config - Default to false

commissioning_scripts - If "commission" is false then this field should be disabled. If "commission" is true then all commissioning scripts should be selected unless they are tagged "noauto", just like the commissioning form does now.

testing_scripts - If "commission" is false then this field should be disabled. If "commission" is true then any testing script tagged "commissioning", just like the commissioning/testing form does now.

description - Empty field is fine for the default.

Changed in maas-ui:
status: New → Fix Released
Changed in maas-ui:
status: Fix Released → Unknown
Changed in maas-ui:
status: Unknown → New
Changed in maas:
milestone: 2.9.2 → 2.9.x
Revision history for this message
Thorsten Merten (thorsten-merten) wrote :

Designs have been created here: https://github.com/canonical/maas-ui/issues/1570
Bug was tracked here but is now being tracked in Launchpad: https://github.com/canonical/maas-ui/issues/1884

Changed in maas:
milestone: 2.9.x → none
Changed in maas-ui:
importance: Unknown → Medium
status: New → Triaged
Revision history for this message
Thorsten Merten (thorsten-merten) wrote :

Need to double check what has been fixed already and might need UX work as well.

Changed in maas:
milestone: none → 3.5.0
Changed in maas-ui:
milestone: none → 3.5.0
Changed in maas:
importance: Medium → Low
Changed in maas-ui:
importance: Medium → Low
tags: added: ux
removed: ui
tags: added: ui
tags: removed: ui
Changed in maas:
milestone: 3.5.0 → 3.5.x
Changed in maas-ui:
milestone: 3.5.0 → 3.5.x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.