Bug 15310 - UNIVENTION_JOINSTATUS erkennt Join-Scripte als nicht gelaufen
UNIVENTION_JOINSTATUS erkennt Join-Scripte als nicht gelaufen
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Monitoring (Prometheus or Nagios)
UCS 2.2
All All
: P5 normal (vote)
: UCS 2.3
Assigned To: Sönke Schwardt-Krummrich
Philipp Hahn
:
: 16026 (view as bug list)
Depends on:
Blocks: 14432
  Show dependency treegraph
 
Reported: 2009-08-10 15:26 CEST by Janis Meybohm
Modified: 2010-02-12 17:09 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2009-08-10 15:26:15 CEST
***** Nagios  *****
 
Notification Type: PROBLEM
 
Service: UNIVENTION_JOINSTATUS
Host: Host billy.knut.univention.de
State: WARNING for 3d 16h 37m 15s
Address: 192.168.0.3
 
Info:
 
WARNING: 3 join scripts have to be called
 
Date/Time: Mon Aug 10 12:43:41 CEST 2009
 
ACK by: 
Comment: 

---


Lt. univention-run-join-scripts sind aber alle installierten Join-Scripte schon erfolgreich gelaufen.
Comment 1 Janis Meybohm univentionstaff 2009-08-24 10:17:39 CEST
Tritt auch bei einem Kunden auf. Dort ebenfalls auf dem DC-Master.
Ticket#: 2009082110000269
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2009-08-24 13:31:13 CEST
Im Skript wird z.B.

grep -q univention-xx-yy-zz v"2" successful /usr/lib/univention-install/.index.txt

aufgerufen. Passiert dann, wenn im Join-Skript
VERSION="2"
statt
VERSION=2
gesetzt ist. Die gleiche Ursache hat auch ein Traceback in UMC (gehabt).
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2009-09-25 12:23:06 CEST
UNIVENTION_JOINSTATUS entfernt jetzt ungültige Zeichen aus dem Versionsstring.

Paket ist gebaut. Changelogeintrag ist vorhanden.
Comment 4 Stefan Gohmann univentionstaff 2009-10-20 10:38:41 CEST
*** Bug 16026 has been marked as a duplicate of this bug. ***
Comment 5 Philipp Hahn univentionstaff 2009-11-11 14:58:26 CET
Tut.
ChaneLog-Eintrag ist vorhanden.

Aber statt
 VERSION=$(egrep "^VERSION=" $i | head -n1 | sed -e 's|VERSION=||' | tr -d -c "[0-9]")
wäre ein
 eval $(grep -m1 "^VERSION=" "$i")
sicherer(quoting von "$i"), universeller(klappt mit '"\-quoting), übersichtlicher und effizienter(1 statt 4 forks).
Comment 6 Stefan Gohmann univentionstaff 2009-12-21 08:48:52 CET
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".