webUI not showing ValidationErrors

Description

When replacing a disk on a nightly image built from today, this validation error is not showing in the webUI:

[2023/02/06 10:01:33] (ERROR) middlewared.job.run():438 - Job <bound method accepts.<locals>.wrap.<locals>.nf of <middlewared.plugins.pool_.replace_disk.PoolService object at 0x7fb6c74d1790>> failed Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 426, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 461, in __run_body rv = await self.method(*([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1318, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1186, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/replace_disk.py", line 60, in replace verrors.check() File "/usr/lib/python3/dist-packages/middlewared/service_exception.py", line 70, in check raise self middlewared.service_exception.ValidationErrors: [EINVAL] options.force: Disk is not clean, partitions were found.

It just shows an empty screen:

Problem/Justification

None

Impact

None

Attachments

1
  • 06 Feb 2023, 06:07 PM

Activity

Show:

Automation for Jira February 17, 2023 at 2:52 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk February 16, 2023 at 6:41 AM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Original estimate

Time remaining

4h

Components

Affects versions

Priority

Katalon Platform

Created February 6, 2023 at 6:07 PM
Updated February 27, 2025 at 9:38 PM
Resolved February 17, 2023 at 2:52 PM