Project

General

Profile

Bug #67845

UPS shutdown to late (and even as power was allready available again)

Added by Bernd Mueller over 2 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Severity:
New
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

Jan 5 07:13:36 bmr-freenas upsmon2576: UPS ups on battery
Jan 5 07:13:36 bmr-freenas upssched16016: Timer daemon started
Jan 5 07:13:37 bmr-freenas upssched16016: New timer: ONBATT (600 seconds)
Jan 5 07:13:37 bmr-freenas upssched16015: Executing command: EMAIL
Jan 5 07:23:37 bmr-freenas upssched16016: Event: ONBATT
Jan 5 07:23:37 bmr-freenas upssched-cmd: issuing shutdown
Jan 5 07:23:37 bmr-freenas upsmon2576: Signal 30: User requested FSD
Jan 5 07:23:37 bmr-freenas upsd2568: Client set FSD on UPS [ups]
Jan 5 07:23:37 bmr-freenas upsmon2576: Executing automatic power-fail shutdown
Jan 5 07:23:37 bmr-freenas upsmon2576: Auto logout and shutdown proceeding
Jan 5 07:23:37 bmr-freenas upssched17074: Executing command: EMAIL
Jan 5 07:23:53 bmr-freenas upssched16016: Timer queue empty, exiting
Jan 5 07:33:37 bmr-freenas shutdown: power-down by root:

There is an extra 10 minutes delay between shutdown wish and real shutdown.

I think the FINALDELAY 600 in nut/upsmon.conf is the problem.
In my opinion, it should be much smaller (5 seconds) because it is an additional delay AFTER the FSD command fired by the custom-upssched-cmd AFTER the 600 ONBATT timer.


Related issues

Copied to FreeNAS - Bug #69787: Fix UPS shutdown logicDone

History

#1 Updated by Bernd Mueller over 2 years ago

  • File debug-bmr-freenas-20190105154509.txz added
  • Private changed from No to Yes

#2 Updated by Dru Lavigne over 2 years ago

  • Assignee changed from Release Council to William Grzybowski

#3 Updated by William Grzybowski over 2 years ago

  • Assignee changed from William Grzybowski to Vladimir Vinogradenko
  • Target version changed from Backlog to 11.2-U3

#5 Updated by Bug Clerk over 2 years ago

  • Status changed from Unscreened to In Progress

#6 Updated by Bug Clerk over 2 years ago

  • Status changed from In Progress to Ready for Testing

#7 Updated by Bug Clerk over 2 years ago

  • Target version changed from 11.2-U3 to 11.3

#8 Updated by Bug Clerk over 2 years ago

  • Copied to Bug #69787: Fix UPS shutdown logic added

#9 Updated by Dru Lavigne over 2 years ago

  • File deleted (debug-bmr-freenas-20190105154509.txz)

#10 Updated by Dru Lavigne over 2 years ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies
  • Private changed from Yes to No
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF