Project

General

Profile

Bug #36228

Fix traceback in new UI when checking the force button in the create a zvol screen

Added by Bonnie Follweiler 10 months ago. Updated 10 months ago.

Status:
Done
Priority:
No priority
Assignee:
Vaibhav Chauhan
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

This is in FreeNAS 11.2-INTERNAL12 in the new GUI - Legacy works
If I try to force the size of a zvols passed 80% by checking the button results in a traceback when clicking the Save button and it doesn't save.
Error saving dataset
EINVAL] pool_dataset_create.volsize: It is not recommended to use more than 80% of your available space for VOLUME

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 154, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1013, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 953, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/service.py", line 277, in create
f'{self._config.namespace}.create', self, self.do_create, [data]
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 953, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 658, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 110, in next
return self.gen.send(None)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/pool.py", line 629, in do_create
raise verrors
middlewared.service_exception.ValidationErrors: [EINVAL] pool_dataset_create.volsize: It is not recommended to use more than 80% of your available space for VOLUME


Related issues

Has duplicate FreeNAS - Bug #35398: Size exception when creating zvolumesClosed
Blocked by FreeNAS - Bug #33900: Force size option added for zvol creation in MiddlewaredDone

History

#1 Updated by Bonnie Follweiler 10 months ago

  • Related to Bug #33900: Force size option added for zvol creation in Middlewared added

#2 Updated by Erin Clark 10 months ago

  • Status changed from Unscreened to Screened
  • Target version changed from Backlog to 11.2-RC2

#3 Updated by Vaibhav Chauhan 10 months ago

  • Related to deleted (Bug #33900: Force size option added for zvol creation in Middlewared)

#4 Updated by Vaibhav Chauhan 10 months ago

  • Blocked by Bug #33900: Force size option added for zvol creation in Middlewared added

#5 Updated by Vaibhav Chauhan 10 months ago

  • Subject changed from In the new GUI - Checking the force button in the create/edit a zvol screen results in a Traceback error when trying to save to In the new GUI - Checking the force button in the create a zvol screen results in a Traceback error when trying to save

#6 Updated by Dru Lavigne 10 months ago

  • Target version changed from 11.2-RC2 to 11.2-BETA2

#7 Updated by Vaibhav Chauhan 10 months ago

#8 Updated by Dru Lavigne 10 months ago

  • Subject changed from In the new GUI - Checking the force button in the create a zvol screen results in a Traceback error when trying to save to Fix traceback in new UI when checking the force button in the create a zvol screen
  • Status changed from Screened to In Progress
  • Assignee changed from Erin Clark to Vaibhav Chauhan
  • Target version changed from 11.2-BETA2 to 11.2-BETA1

#9 Updated by Vaibhav Chauhan 10 months ago

  • Assignee changed from Vaibhav Chauhan to Erin Clark

we needs review

#10 Updated by Erin Clark 10 months ago

  • Status changed from In Progress to Ready for Testing
  • Assignee changed from Erin Clark to Vaibhav Chauhan

#11 Updated by Erin Clark 10 months ago

  • Related to Bug #35398: Size exception when creating zvolumes added

#12 Updated by Dru Lavigne 10 months ago

  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#13 Updated by Dru Lavigne 10 months ago

  • Related to deleted (Bug #35398: Size exception when creating zvolumes)

#14 Updated by Dru Lavigne 10 months ago

  • Has duplicate Bug #35398: Size exception when creating zvolumes added

#16 Updated by Timothy Moore II 10 months ago

  • Needs QA changed from No to Yes

#17 Updated by Dru Lavigne 10 months ago

  • Status changed from Failed Testing to Ready for Testing

#19 Updated by Bonnie Follweiler 10 months ago

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

Test Passing in FreeNAS-11.2-MASTER-201807021506

#20 Updated by Dru Lavigne 10 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF