Project

General

Profile

Bug #45783

Fix traceback when removing mountpoint for jail

Added by William Grzybowski almost 2 years ago. Updated almost 2 years ago.

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 122, in main_worker
    res = loop.run_until_complete(coro)
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 468, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 82, in _run
    return await self._call(f'{service_name}.{method}', serviceobj, methodobj, params=args, job=job)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 75, in _call
    return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 75, in _call
    return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 555, in fstab
    dump, _pass, index=index)
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 973, in fstab
    if len(destination) > 88:
TypeError: object of type 'NoneType' has no len()

{
'id': '7f294c9e-9d46-4334-e86d-ef4116824aed', 
'method': 'jail.fstab', 
'msg': 'method', 
'params': [
'btsync', 
{
'action': 'REMOVE', 
'index': 14
}
]
}

https://sentry.ixsystems.com/ixsystems/freenas-middleware/issues/12840/


Related issues

Related to FreeNAS - Bug #47184: Show warning in new UI when deleting or editing a mount point of a running jailDone

History

#1 Updated by Waqar Ahmed almost 2 years ago

  • Status changed from Unscreened to In Progress

#2 Updated by Waqar Ahmed almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#3 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from Traceback when removing mountpoint for jail to Fix traceback when removing mountpoint for jail
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#4 Updated by Dru Lavigne almost 2 years ago

  • Related to Bug #47184: Show warning in new UI when deleting or editing a mount point of a running jail added

#5 Updated by Bonnie Follweiler almost 2 years ago

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

#7 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF