Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

TrueNAS Cobia (BETA) - Communication with UPS lost

Description

Hello,

After upgrading to the BETA version of Cobia, the UPS service fails with the “Communication with UPS ups lost.“ error message.

I am using a CyberPower CP1500EPFCLCD UPS that is connected to my NAS with a USB cable. I have used this UPS for a few months now with previous STABLE versions of TrueNAS and it has worked perfectly. However, after upgrading to Cobia, the UPS service is not working.

The first thing that I noticed was that the NUT driver that I used previously has been removed in Cobia. Previously, I used the Cyber Power Systems ups 2 CP1000PFCLCD USB (usbhid-ups) driver, but that is no longer an option. To my greatest surprise, there is now a driver for my exact model, called Cyber Power Systems ups 3 CP1500EPFCLCD USB (usbhid-ups), but that leads to the previously mentioned error message. The same goes for any other driver that uses usbhid-ups.

I use the exact same configuration, usb cable, etc. as previously, tried restarting the system multiple times, using different ports, restarting the service etc. but not nothing helped.

 

Using the

dmesg | grep -i usb

command, I can see that the system “sees” the UPS:

[ 1.620822] hid-generic 0003:0764:0501.0001: hiddev0,hidraw0: USB HID v1.10 Device [CPS CP1500EPFCLCD] on usb-0000:0d:00.3-1/input0

and the

nut-scanner -U

command also detects it:

Scanning USB bus. [nutdev1] driver = "usbhid-ups" port = "auto" vendorid = "0764" productid = "0501" product = "CP1500EPFCLCD" serial = "XXXX" // I omitted the serial number vendor = "CPS" bus = "005"

 

In the syslog, I can only see the following

message:

Sep 10 20:48:00 truenas nut-monitor[83745]: Poll UPS [ups@localhost:3493] failed - Driver not connected

 

Problem/Justification

None

Impact

None

Attachments

1
  • 10 Sep 2023, 06:54 PM

Activity

Show:

Bonnie Follweiler September 11, 2023 at 7:15 PM

Good afternoon .

Thank you for such a quick response! I have moved this ticket into our queue to review now.
An engineering representative will update with any further questions or details in the near future.

Gergo September 11, 2023 at 7:00 PM

Hello @Bonnie,

I have uploaded the debug file for this issue as well.

Just to be safe, I uploaded two debug files, one where the system was powered on for a longer time and I disabled the UPS service in the meantime, and another (called debug-truenas-ups-…) where I kept the service running despite the error message.

Feel free to let me know if you need any additional information.

Bonnie Follweiler September 11, 2023 at 1:02 PM

Good Morning again .

As it was with your other ticket, we will need a debug from the affected system to investigate this issue as well. Please upload your debug to our secure and private upload service located at https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153.

Thank you

Automation for Jira September 10, 2023 at 6:54 PM

Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.

https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

Duplicate

Details

Assignee

Reporter

Labels

Impact

Medium

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created September 10, 2023 at 6:54 PM
Updated September 20, 2023 at 3:38 PM
Resolved September 20, 2023 at 3:38 PM

Flag notifications