Project

General

Profile

Bug #35257

Fix disk identifier issue in new UI

Added by Waqar Ahmed about 1 year ago. Updated about 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Lola Yang
Category:
GUI (new)
Target version:
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

When trying to configure a S.M.A.R.T. task and adding available disk from the dropdown menu following error message is displayed on saving the task:

Select a valid choice. {devicename}ada1 is not one of the available choices.

Tested on FreeNAS-11.2-MASTER-201806170436


When making a call for creating smart tests, new UI is using API 1.0. API 1.0 requires the disk identifier to be sent when creating a smart test, right now the new UI sends the disk name. ```{serial}VBcb6ca06c-657f8756``` This is an example of the disk identifier. This can be further explored with midclt call disk.query, in the results please have a look at the identifier attribute. That is the one which should be used when creating smart tests with API 1.0


Related issues

Has duplicate FreeNAS - Bug #35938: Error when choosing drives for a S.M.A.R.T taskClosed
Copied from FreeNAS - Bug #35110: Update APIv1 documentation for smarttest_disksDone

History

#1 Updated by Waqar Ahmed about 1 year ago

  • Copied from Bug #35110: Update APIv1 documentation for smarttest_disks added

#2 Updated by Waqar Ahmed about 1 year ago

  • Status changed from Unscreened to Screened

#3 Updated by Erin Clark about 1 year ago

  • Assignee changed from Erin Clark to Lola Yang

#4 Updated by Lola Yang about 1 year ago

  • Status changed from Screened to In Progress
  • Assignee changed from Lola Yang to Erin Clark

#5 Updated by Erin Clark about 1 year ago

  • Status changed from In Progress to Ready for Testing

#6 Updated by Erin Clark about 1 year ago

Merged now and ready for testing

#7 Updated by Erin Clark about 1 year ago

  • Assignee changed from Erin Clark to Lola Yang

#8 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.2-RC2 to 11.2-BETA1
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#9 Updated by Dru Lavigne about 1 year ago

  • Has duplicate Bug #35938: Error when choosing drives for a S.M.A.R.T task added

#10 Updated by Dru Lavigne about 1 year ago

  • Subject changed from adding disk for S.M.A.R.T. task fails to Fix disk identifier issue in new UI
  • Seen in changed from 11.2-RC2 to Master - FreeNAS Nightlies

#11 Updated by Paul Walker about 1 year ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

This is working as expected, no error message is displayed.

#12 Updated by Dru Lavigne about 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF