Scale - NUT powers off UPS even when "Power Off UPS" is unchecked

Description

When configuring the UPS service, there is a checkbox in the "shutdown" category for "Power Off UPS". I believe this modifies the line "POWERDOWNFLAG /etc/nokillpower" in "/etc/nut/upsmon.conf". However, the presence of this line at all (regardless of whether it is "/etc/nokillpower" or "/etckillpower") results in my UPS powering off before TrueNAS can shutdown safely. Removing this line, results in a clean TrueNAS shutdown without powering off the UPS. 

However, after a reboot, this line is added back into upsmon.conf. And since this line is specifically used during a shutdown when UPS is on battery power, it is not a useful work around to manually remove this line every time TrueNAS restarts. 

Suggestion: remove the entire line when "Power Off UPS" is unchecked, rather than simply chaning it from 'killpower' to 'nokillpower'.

---System---
TrueNAS-SCALE-22-02.0.1
Supermicro X11SPL-F
Xeon Gold 6144

---UPS---
CyberPower PR1500RT2U
driver.name: usbhid-ups
driver.version: 2.7.4
driver.version.internal: 0.4.1

Problem/Justification

None

Impact

None

Activity

Show:

Bonnie FollweilerApril 25, 2022 at 2:23 PM

Thank you for your ticket submission .

This ticket has been moved into our queue to review.

An engineering representative will update with any further questions or details in the near future.

Duplicate

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created April 23, 2022 at 9:26 PM
Updated July 6, 2022 at 8:56 PM
Resolved April 25, 2022 at 5:55 PM