Project

General

Profile

Bug #27838

New ui not returning iocage middlewared errors

Added by Nick Wolff over 3 years ago. Updated over 3 years ago.

Status:
Done
Priority:
Important
Assignee:
Lola Yang
Category:
GUI (new)
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

New UI spins indefinitely on change while /var/log/middlewared.log shows following.

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 150, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 128, in throw
return self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 895, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 128, in throw
return self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 873, in call
return await self.run_in_thread(methodobj, *args)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 128, in throw
return self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 838, in run_in_thread
return await self.run_in_thread_pool(self.
_threadpool, method, *args, **kwargs)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 128, in throw
return self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 834, in run_in_thread_pool
await task
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 495, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 121, in do_update
iocage.set(p, plugin)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/iocage.py", line 1412, in set
iocjson.json_set_value(prop)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_json.py", line 621, in json_set_value
self.json_check_prop(key, value, conf)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_json.py", line 1041, in json_check_prop
silent=self.silent)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_common.py", line 83, in logit
_callback({"level": level, "message": msg}, exit_on_error)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_common.py", line 62, in callback
raise RuntimeError(message)
RuntimeError: igb0 is not a valid value for interfaces.
Interfaces must be specified as a pair.
EXAMPLE: vnet0:bridge0, vnet1:bridge1

It seems UI should show failure and runtime error

History

#1 Updated by Dru Lavigne over 3 years ago

  • Status changed from Untriaged to Unscreened
  • Assignee changed from Release Council to Anonymous
  • Target version set to 11.2-BETA1

Erin: Vlad can assist your team if this turns out to be a middleware issue.

#2 Updated by Anonymous over 3 years ago

  • Assignee changed from Anonymous to Lola Yang
  • Priority changed from No priority to Important

#3 Updated by Lola Yang over 3 years ago

  • Status changed from Unscreened to Screened

#4 Updated by Lola Yang over 3 years ago

  • Status changed from Screened to Needs Developer Review
  • Assignee changed from Lola Yang to Anonymous

#5 Updated by Dru Lavigne over 3 years ago

  • Status changed from Needs Developer Review to In Progress
  • Assignee changed from Anonymous to Lola Yang
  • Target version changed from 11.2-BETA1 to Master - FreeNAS Nightlies

#6 Updated by Dru Lavigne over 3 years ago

  • Status changed from In Progress to Done

Also available in: Atom PDF