Project

General

Profile

Bug #76243

Convert 1M to 1024K for use within new UI

Added by Chris Jensen almost 3 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
-
Category:
GUI (new)
Target version:
Seen in:
Severity:
New
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

Error: [recordsize] Invalid choice: 1M

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 165, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1141, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1081, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.6/site-packages/middlewared/service.py", line 284, in create
f'{self._config.namespace}.create', self, self.do_create, [data]
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1081, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 663, in nf
args, kwargs = clean_and_validate_args(args, kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 620, in clean_and_validate_args
value = attr.clean(args[args_index + i])
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 389, in clean
data[key] = attr.clean(value)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 122, in clean
value = super(Str, self).clean(value)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 40, in clean
raise Error(self.name, f'Invalid choice: {value}')
middlewared.schema.Error: [recordsize] Invalid choice: 1M

recordsize1M.png (93.2 KB) recordsize1M.png Chris Jensen, 02/20/2019 05:04 PM
55308

Associated revisions

Revision b4550696 (diff)
Added by Erin Clark almost 3 years ago

Need to convert 1M to 1024K for middleware Ticket: #76243

Revision d8c22138 (diff)
Added by Erin Clark almost 3 years ago

Need to convert 1M to 1024K for middleware Ticket: #76243 (cherry picked from commit b455069682974acdf128520bd34f928dd6303da0)

History

#1 Updated by Chris Jensen almost 3 years ago

  • File debug-NASUS-20190221005851.txz added
  • Private changed from No to Yes

#2 Updated by Chris Jensen almost 3 years ago

55308

#3 Updated by Chris Jensen almost 3 years ago

  • Private changed from Yes to No

#4 Updated by Dru Lavigne almost 3 years ago

  • Assignee changed from Release Council to Anonymous
  • Target version changed from Backlog to 11.2-U3

#5 Updated by Anonymous almost 3 years ago

  • Status changed from Unscreened to In Progress

Master PR: https://github.com/freenas/webui/pull/1958
Stable PR: https://github.com/freenas/webui/pull/1959

Testing criteria: Selecting 1M for recordsize on a new dataset should work

#6 Updated by Anonymous almost 3 years ago

  • File deleted (debug-NASUS-20190221005851.txz)

#7 Updated by IT IGP almost 3 years ago

+1 ...

oh boy, just updated to u2 :/

#8 Updated by Anonymous almost 3 years ago

  • Status changed from In Progress to Ready for Testing
  • Needs Merging changed from Yes to No

#9 Updated by Dru Lavigne almost 3 years ago

  • Subject changed from Cannot add dataset with 1M recordsize from GUI to Convert 1M to 1024K for use within new UI
  • Needs Doc changed from Yes to No

#11 Updated by Bonnie Follweiler over 2 years ago

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

Test Passed in FreeNAS-11.2-U2-INTERNAL97

#12 Updated by Dru Lavigne over 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF