Project

General

Profile

Bug #24951

cannot modify mac address in new ui

Added by biG dada over 3 years ago. Updated almost 3 years ago.

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

i'm getting the following error

(WARNING) application.call_method():177 - Exception while                                                                                        calling vm.update(*['3', {'devices': [{'dtype': 'NIC', 'attributes': {'type': 'V                                                                                       IRTIO', 'mac': '00:a0:98:FF:FF:Fa'}}, {'dtype': 'VNC', 'attributes': {'wait': Fa                                                                                       lse}}, {'dtype': 'DISK', 'attributes': {'type': 'AHCI', 'path': '/dev/zvol/vol_m                                                                                       ain/vm/Win10/hdd'}}]}])
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 163, i                                                                                       n call_method
    result = self.middleware.call_method(self, message)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 580, i                                                                                       n call_method
    return self._call(message['method'], methodobj, params, app=app)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 568, i                                                                                       n _call
    return methodobj(*args)
  File "/usr/local/lib/python3.6/site-packages/middlewared/service.py", line 125                                                                                       , in update
    return self.do_update(id, data)
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 329,                                                                                        in nf
    args[i + args_index] = nf.accepts[i].clean(args[i + args_index])
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 203,                                                                                        in clean
    raise Error(key, 'Field was not expected')
middlewared.schema.Error: [devices] Field was not expected
[2017/07/02 18:29:31] (DEBUG) middlewared.logger.CrashReporting.report():84 - Se                                                                                       nding a crash report...
[2017/07/02 18:29:32] (DEBUG) raven.base.Client.send_remote():635 - Sending mess                                                                                       age of length 3206 to https://sentry.ixsystems.com/api/2/store/

History

#1 Updated by biG dada over 3 years ago

something went wrong with the copy-paste
this is the error:

[2017/07/02 18:36:48] (WARNING) application.call_method():177 - Exception while calling vm.update(*['3', {'devices': [{'dtype': 'NIC', 'attributes': {'type': 'VIRTIO', 'mac': '00:a0:98:FF:FF:Fa'}}, {'dtype': 'VNC', 'attributes': {'wait': False}}, {'dtype': 'DISK', 'attributes': {'type': 'AHCI', 'path': '/dev/zvol/vol_main/vm/Win10/hdd'}}]}])
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 163, in call_method
    result = self.middleware.call_method(self, message)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 580, in call_method
    return self._call(message['method'], methodobj, params, app=app)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 568, in _call
    return methodobj(*args)
  File "/usr/local/lib/python3.6/site-packages/middlewared/service.py", line 125, in update
    return self.do_update(id, data)
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 329, in nf
    args[i + args_index] = nf.accepts[i].clean(args[i + args_index])
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 203, in clean
    raise Error(key, 'Field was not expected')
middlewared.schema.Error: [devices] Field was not expected
[2017/07/02 18:36:48] (DEBUG) middlewared.logger.CrashReporting.report():84 - Sending a crash report...
[2017/07/02 18:36:48] (DEBUG) raven.base.Client.send_remote():635 - Sending message of length 3112 to https://sentry.ixsystems.com/api/2/store/

#2 Updated by Vaibhav Chauhan over 3 years ago

  • Status changed from Unscreened to Screened

#3 Updated by Vaibhav Chauhan about 3 years ago

I will work on this, as part of working on vm section of new UI

#4 Updated by Vaibhav Chauhan almost 3 years ago

  • Status changed from Screened to Resolved

this was fixed a while ago, please try latest nightlies

#5 Updated by Dru Lavigne almost 3 years ago

  • Target version set to Master - FreeNAS Nightlies

Also available in: Atom PDF