Project

General

Profile

Bug #35542

Fix traceback when updating zvol size

Added by Paul Walker 11 months ago. Updated 11 months ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Seen in:
Severity:
High
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

After trying to change the zvol size I received a traceback error.
I tried to adjust zvol size and received a traceback. Upon receiving this error I attempted to switch to the legacy UI This caused the system to become complete unresponsive. Looking at the console showed the following message flooding the console.
swap pager: indefinite wait buffer: bufobj: 0, blkno: XXXX size: XXXX (See attached screen shot)
Rebooting the machine hung for 5+ minutes importing zfs (See attached for the console message.)

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 282, in update
f'{self._config.namespace}.update', self, self.do_update, [id, 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 710, in do_update
data['volblocksize'] = dataset[0]['properties']['volblocksize']['value']
KeyError: 'properties'
Slow boot.PNG (92.4 KB) Slow boot.PNG Paul Walker, 06/21/2018 12:14 PM
swap_pager error.PNG (509 KB) swap_pager error.PNG Paul Walker, 06/21/2018 12:14 PM
19210
19213

Related issues

Related to FreeNAS - Bug #35551: Fix creating zvol with volblocksizeDone

Associated revisions

Revision 3c641df6 (diff)
Added by Waqar Ahmed 11 months ago

Bug fix for traceback when updating zvol size
Ticket: #35542

Revision ebd3903e (diff)
Added by Waqar Ahmed 11 months ago

Bug fix for traceback when updating zvol size
Ticket: #35542

Revision b2ed3652 (diff)
Added by Waqar Ahmed 11 months ago

Bug fix for traceback when updating zvol size
Ticket: #35542

History

#1 Updated by Dru Lavigne 11 months ago

  • Assignee changed from Joe Maloney to William Grzybowski

#2 Updated by William Grzybowski 11 months ago

  • Assignee changed from William Grzybowski to Waqar Ahmed
  • Target version changed from 11.2-RC2 to 11.2-BETA2

#3 Updated by Dru Lavigne 11 months ago

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

#4 Updated by Waqar Ahmed 11 months ago

  • Status changed from Unscreened to In Progress

#5 Updated by Dru Lavigne 11 months ago

  • Subject changed from Traceback after trying to change zvol size. to Fix traceback when updating zvol size
  • Needs QA changed from No to Yes
  • Needs Merging changed from No to Yes

#6 Updated by Waqar Ahmed 11 months ago

  • Status changed from In Progress to Ready for Testing

#7 Updated by Dru Lavigne 11 months ago

  • Needs Merging changed from Yes to No

#10 Updated by Dru Lavigne 11 months ago

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

#11 Updated by Paul Walker 11 months ago

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

Passing this issue as the traceback is longer occurs.
See Bug #35551 for the remaining issue.

#12 Updated by Dru Lavigne 11 months ago

  • Related to Bug #35551: Fix creating zvol with volblocksize added

#13 Updated by Dru Lavigne 11 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF