Bug 22769 - Instanzen werden nicht pausiert, wenn Session beendet wird
Summary: Instanzen werden nicht pausiert, wenn Session beendet wird
Status: CLOSED FIXED
Alias: None
Product: Z_UCS DVS
Classification: Unclassified
Component: Session Broker
Version: UCS DVS 1.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS DVS 1.0
Assignee: Philipp Hahn
QA Contact: Felix Botner
URL:
Keywords:
Depends on:
Blocks: 22747
  Show dependency treegraph
 
Reported: 2011-06-17 13:23 CEST by Felix Botner
Modified: 2023-03-25 06:51 CET (History)
1 user (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):
Customer ID:
Max CVSS v3 score:


Attachments
Log other exceptins as well (1.11 KB, patch)
2011-06-17 14:22 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2011-06-17 13:23:05 CEST
Zwei SessionBroker, auf beiden ist 

-> ucr get dvs/session/idle_timeout 
60

gesetzt. Die Instanzen werden aber nicht beendet. Alles was man im SB Log sieht ist folgendes:

2011-06-17 13:19:24,999 - SessionBroker - INFO - Pausing felix-vm of session 8fd70535-98d3-11e0-814a-5254005c4f99 in 60s.
2011-06-17 13:20:25,045 - SessionBroker - INFO - Looking up DVS Node for host felix-vm.

Die Instanz läuft dann weiter:

-> virsh  list --all
 Id Name                 State
----------------------------------
 16 felix-vm             running
Comment 1 Philipp Hahn univentionstaff 2011-06-17 14:19:40 CEST
Das wurde hervorgerufen durch ein fehlendes %s im Formatring an Bug #22747.

svn24962: univention-dvs-sessionbroker_1.0.168-1.230.201106171359
Comment 2 Philipp Hahn univentionstaff 2011-06-17 14:22:43 CEST
Created attachment 3331 [details]
Log other exceptins as well
Comment 3 Felix Botner univentionstaff 2011-06-17 14:40:30 CEST
OK, funktioniert:

2011-06-17 14:37:53,912 - SessionBroker - DEBUG - Cancelling previous timer <_Timer(8c0f7b26-98de-11e0-bb02-5254005ce5a7, started daemon)>
2011-06-17 14:38:03,915 - SessionBroker - DEBUG - Session 8c0f7b26-98de-11e0-bb02-5254005ce5a7 expired, next state: silent
2011-06-17 14:38:03,959 - SessionBroker - INFO - Pausing felix-vm of session 8c0f7b26-98de-11e0-bb02-5254005ce5a7 in 60s.


2011-06-17 14:39:04,003 - SessionBroker - INFO - Looking up DVS Node for host felix-vm.
2011-06-17 14:39:04,005 - SessionBroker - INFO - Pausing host felix-vm on DVS Node qemu://xen15.dvs10pt.local/system.


-> virsh list --all
 Id Name                 State
----------------------------------
  - felix-vm             shut off
  - winxp-start          shut off