Project

General

Profile

Bug #35263

Parse devd messages that use "=" as a separator

Added by Bonnie Follweiler over 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Seen in:
Severity:
Low Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Seen in FreeNAS-11.2-INTERNAL2

I was checking out the middlewared.log for a test. The output included the following:
[2018/06/19 14:57:43] (WARNING) middlewared.devd_listen():93 - Failed to parse devd message: !system=ACPI subsystem=ACAD type=\ notify=0x01

[2018/06/19 14:57:44] (WARNING) middlewared.devd_listen():93 - Failed to parse devd message: !system=ZFS subsystem=ZFS type=misc.fs.zfs.history_event pool_name=freenas-boot pool_guid=13811200367743271130 history_hostname= history_internal_str=pool version 5000; software version 5000/5; uts 11.1-STABLE 1101515 amd64 history_internal_name=open history_txg=1033111 history_time=1529420187

[2018/06/19 14:57:45] (WARNING) middlewared.devd_listen():93 - Failed to parse devd message: !system=ZFS subsystem=ZFS type=misc.fs.zfs.history_event pool_name=bmini_tanka pool_guid=10767766775729721695 history_hostname= history_internal_str=pool version 5000; software version 5000/5; uts 11.1-STABLE 1101515 amd64 history_internal_name=open history_txg=377753 history_time=1529420228

[2018/06/19 14:57:45] (WARNING) middlewared.devd_listen():93 - Failed to parse devd message: !system=ZFS subsystem=ZFS type=misc.fs.zfs.history_event pool_name=bmini_tanka pool_guid=10767766775729721695 history_hostname= history_internal_str=pool version 5000; software version 5000/5; uts 11.1-STABLE 1101515 amd64 history_internal_name=import history_txg=377755 history_time=1529420228

[2018/06/19 14:57:46] (WARNING) middlewared.devd_listen():93 - Failed to parse devd message: !system=ZFS subsystem=ZFS type=misc.fs.zfs.history_event pool_name=testing pool_guid=10598206354998399588 history_hostname= history_internal_str=pool version 5000; software version 5000/5; uts 11.1-STABLE 1101515 amd64 history_internal_name=open history_txg=320 history_time=1529420229

[2018/06/19 14:57:46] (WARNING) middlewared.devd_listen():93 - Failed to parse devd message: !system=ZFS subsystem=ZFS type=misc.fs.zfs.history_event pool_name=testing pool_guid=10598206354998399588 history_hostname= history_internal_str=pool version 5000; software version 5000/5; uts 11.1-STABLE 1101515 amd64 history_internal_name=import history_txg=322 history_time=1529420229


Related issues

Related to FreeNAS - Feature #33630: Deterministic devd message formatClosed
Copied to FreeNAS - Bug #59598: Parse devd messages that use "=" as a separatorDone

Associated revisions

Revision 5823b8a8 (diff)
Added by William Grzybowski almost 2 years ago

fix(middlewared/device): parse devd messages using "=" as separator shlex fails to parse any messages with multiple words as value. Ticket: #35263

Revision 647809df (diff)
Added by William Grzybowski almost 2 years ago

fix(middlewared/device): parse devd messages using "=" as separator shlex fails to parse any messages with multiple words as value. Ticket: #35263

Revision 55c0585a (diff)
Added by William Grzybowski almost 2 years ago

fix(middlewared/device): parse devd messages using "=" as separator shlex fails to parse any messages with multiple words as value. Ticket: #35263 (cherry picked from commit 5823b8a8c6e39f135729e994d5c5bc7f26769931)

History

#1 Updated by William Grzybowski over 2 years ago

  • Status changed from Unscreened to Screened
  • Severity changed from New to Low Medium
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#2 Updated by Bonnie Follweiler over 2 years ago

  • File debug-bonnie_mini-20180619080104.tgz added
  • Private changed from No to Yes

Uploading the debug

#3 Updated by Bonnie Follweiler over 2 years ago

#4 Updated by William Grzybowski almost 2 years ago

  • File deleted (debug-bonnie_mini-20180619080104.tgz)

#5 Updated by Bug Clerk almost 2 years ago

  • Status changed from Screened to In Progress

#6 Updated by Bug Clerk almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#7 Updated by Bug Clerk almost 2 years ago

  • Target version changed from Backlog to 11.3

#8 Updated by Bug Clerk almost 2 years ago

  • Copied to Bug #59598: Parse devd messages that use "=" as a separator added

#9 Updated by William Grzybowski almost 2 years ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies

This will be tested in related ticket.

#10 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from There are several (WARNING) middlewared.devd_listen():93 - Failed to parse devd message: in the middlewared.log to Parse devd messages that use "=" as a separator
  • Private changed from Yes to No

Also available in: Atom PDF