Bug #3051

UPS in slave mode always reports an error when saving from Web UI

Added by Giacomo Sanchietti over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nut
Target version:v6.6
Security class: Resolution:
Affected version:v6.5 NEEDINFO:No

Description

When configuring an UPS in slave mode, after saving the configuration from web interface, the system always report a generic error.
But the configuration is correctly applied.

The bug is caused by a bad init script belonging to nut-client package: /etc/rc.d/init.d/ups always exist with code 1 even if the client is correctly restarted.

History

#1 Updated by Giacomo Sanchietti over 6 years ago

  • Category set to nethserver-nut
  • Status changed from NEW to TRIAGED
  • Target version set to v6.6
  • % Done changed from 0 to 20
  • Affected version set to v6.5

Updates with latest package from EPEL: nut-client-2.6.5-2.el6.i686 [120 KiB]

Changelog by Michal Hlavinka (2013-05-15):
- fix return code from init script (#962937)

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Filippo Carletti
  • % Done changed from 20 to 30

#3 Updated by Filippo Carletti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

Nut package updated from upstream:
nut-2.6.5-2.el6.x86_64.rpm
nut-client-2.6.5-2.el6.x86_64.rpm

#4 Updated by Filippo Carletti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

Disable and re-enable ups, no error should be reported.

#5 Updated by Filippo Carletti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

ups enabled, no errors.

#6 Updated by Filippo Carletti over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Tested on a fresh install of 6.6, slave connected to master and no error displayed.

#7 Updated by Giacomo Sanchietti over 6 years ago

  • Subject changed from UPS in slave mode always reports and error when saving from Web UI to UPS in slave mode always reports an error when saving from Web UI

#8 Updated by Giacomo Sanchietti over 6 years ago

  • Assignee deleted (Filippo Carletti)

Also available in: Atom PDF