Project

General

Profile

Bug #17751

SMB shares in master may be sad

Added by Josh Paetzel about 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Nice to have
Assignee:
William Grzybowski
Category:
OS
Target version:
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 just updated my FreeNAS system to FreeNAS-9.10-MASTER-201609240510 (c5dc7d1)

and I get the following when generating smb4.conf:

Sep 24 10:50:42 fn notifier: No handlers could be found for logger "common.pipesubr"
Sep 24 10:50:42 fn notifier: Traceback (most recent call last):
Sep 24 10:50:42 fn notifier: File "/usr/local/libexec/nas/generate_smb4_conf.py", line 1615, in <module>
Sep 24 10:50:42 fn notifier: main()
Sep 24 10:50:42 fn notifier: File "/usr/local/libexec/nas/generate_smb4_conf.py", line 1607, in main
Sep 24 10:50:42 fn notifier: smb4_map_groups(client)
Sep 24 10:50:42 fn notifier: File "/usr/local/libexec/nas/generate_smb4_conf.py", line 1459, in smb4_map_groups
Sep 24 10:50:42 fn notifier: groups = get_groups(client)
Sep 24 10:50:42 fn notifier: File "/usr/local/libexec/nas/generate_smb4_conf.py", line 1418, in get_groups
Sep 24 10:50:42 fn notifier: u = client.call('datastore.query', 'account.bsdUsers', [('bsdusr_username', '=', m.bsdgrpmember_user)])
Sep 24 10:50:42 fn notifier: File "/usr/local/lib/python2.7/site-packages/middlewared/client/client.py", line 128, in call
Sep 24 10:50:42 fn notifier: 'params': c.params,
Sep 24 10:50:42 fn notifier: File "/usr/local/lib/python2.7/site-packages/middlewared/client/client.py", line 85, in send
Sep 24 10:50:42 fn notifier: self._ws.send(json.dumps(data))
Sep 24 10:50:42 fn notifier: File "/usr/local/lib/python2.7/json/
_init__.py", line 244, in dumps
Sep 24 10:50:42 fn notifier: return _default_encoder.encode(obj)
Sep 24 10:50:42 fn notifier: File "/usr/local/lib/python2.7/json/encoder.py", line 207, in encode
Sep 24 10:50:42 fn notifier: chunks = self.iterencode(o, _one_shot=True)
Sep 24 10:50:42 fn notifier: File "/usr/local/lib/python2.7/json/encoder.py", line 270, in iterencode
Sep 24 10:50:42 fn notifier: return _iterencode(o, 0)
Sep 24 10:50:42 fn notifier: File "/usr/local/lib/python2.7/json/encoder.py", line 184, in default
Sep 24 10:50:42 fn notifier: raise TypeError(repr(o) + " is not JSON serializable")
Sep 24 10:50:42 fn notifier: TypeError: <middlewared.client.utils.Struct instance at 0x8053b3b90> is not JSON serializable

I slacked you the access creds to this system

Associated revisions

Revision 7a03cba3 (diff)
Added by William Grzybowski about 3 years ago

fix(middlewared): error in orm -> middleware conversion for smb4.conf Ticket: #17751

Revision 6adf2db0 (diff)
Added by William Grzybowski about 3 years ago

fix(rc.d): do not catch query exception Ticket: #17751

History

#1 Updated by William Grzybowski about 3 years ago

  • Status changed from Unscreened to 19
  • Target version set to 9.10.2

Fix branches will be created after middlewared is merged

#2 Updated by Vaibhav Chauhan about 3 years ago

  • Target version changed from 9.10.2 to 9.10.1-U3

#3 Updated by Vaibhav Chauhan about 3 years ago

  • Target version changed from 9.10.1-U3 to 9.10.2

#4 Updated by William Grzybowski about 3 years ago

  • Status changed from 19 to Needs Developer Review

#5 Updated by William Grzybowski about 3 years ago

  • Assignee changed from William Grzybowski to Josh Paetzel

#6 Updated by Josh Paetzel about 3 years ago

  • Status changed from Needs Developer Review to Reviewed
  • Assignee changed from Josh Paetzel to William Grzybowski

#7 Updated by Vaibhav Chauhan about 3 years ago

  • Status changed from Reviewed to Ready For Release

#8 Updated by Dru Lavigne about 2 years ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF