primalmotion/Archipel — Issue #377: Stop, pause, reboot, destroy doesn't work
Author: gehasia
Created: 2011-12-29 21:11:27+00:00
State: open

Hi,

i'm running under latest nightly build, everything's fine except that stop, pause, reboot, destroy doesn't work. Start works.
Start/Shutdown work under virsh with no problem.
When i try to stop a vm, here are my logs :

Ejabberd (which seems normal) :
=INFO REPORT==== 2011-12-29 21:13:01 ===
I(<0.464.0>:ejabberd_listener:281) : (#Port<0.3737>) Accepted connection {{92,134,13,65},53417} -> {{94,23,237,202},5280}

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.895.0>:ejabberd_http:141) : S: [{["admin"],ejabberd_web_admin},
{["http-bind"],mod_http_bind},
{["http-poll"],ejabberd_http_poll}]

=INFO REPORT==== 2011-12-29 21:13:01 ===
I(<0.895.0>:ejabberd_http:143) : started: {gen_tcp,#Port<0.3737>}

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.895.0>:ejabberd_http:260) : (#Port<0.3737>) http query: 'POST' /http-bind

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.895.0>:ejabberd_http:430) : client data: "

"

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.895.0>:ejabberd_http:329) : ["http-bind"] matches ["http-bind"]

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.895.0>:mod_http_bind:69) : Incoming data:

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.895.0>:ejabberd_http_bind:1131) : --- incoming data ---

--- END ---

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.895.0>:ejabberd_http_bind:807) : Looking for session: "06488665549a8a84172f8dea626f07b09b3ddcce"

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.618.0>:ejabberd_http_bind:429) : New request: {http_put,1019947625,
[{"xmlns",
"http://jabber.org/protocol/httpbind"},
{"rid","1019947625"},
{"sid",
"06488665549a8a84172f8dea626f07b09b3ddcce"}],
[{xmlelement,"iq",
[{"xmlns",
"jabber:client"},
{"type","set"},
{"id","5158"},
{"to",
"287379a4-2fd9-11e1-aa3a-003048bdee14@hostserver.loc/hostserver.loc"}],
[{xmlelement,"query",
[{"xmlns",
"archipel:vm:control"}],
[{xmlelement,
"archipel",
[{"action",
"shutdown"}],
[]}]}]}],
343,1,[],
{{92,134,13,65},53417}}

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.618.0>:ejabberd_http_bind:569) : New request: {http_put,1019947625,
[{"xmlns",
"http://jabber.org/protocol/httpbind"},
{"rid","1019947625"},
{"sid",
"06488665549a8a84172f8dea626f07b09b3ddcce"}],
[{xmlelement,"iq",
[{"xmlns",
"jabber:client"},
{"type","set"},
{"id","5158"},
{"to",
"287379a4-2fd9-11e1-aa3a-003048bdee14@hostserver.loc/hostserver.loc"}],
[{xmlelement,"query",
[{"xmlns",
"archipel:vm:control"}],
[{xmlelement,
"archipel",
[{"action",
"shutdown"}],
[]}]}]}],
343,1,[],
{{92,134,13,65},53417}}

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.618.0>:ejabberd_http_bind:870) : Previous rid / New rid: 1019947624/1019947625

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.618.0>:ejabberd_http_bind:606) : Actually processing request: {http_put,
1019947625,
[{"xmlns",
"http://jabber.org/protocol/httpbind"},
{"rid",
"1019947625"},
{"sid",
"06488665549a8a84172f8dea626f07b09b3ddcce"}],
[{xmlelement,
"iq",
[{"xmlns",
"jabber:client"},
{"type",
"set"},
{"id",
"5158"},
{"to",
"287379a4-2fd9-11e1-aa3a-003048bdee14@hostserver.loc/hostserver.loc"}],
[{xmlelement,
"query",
[{"xmlns",
"archipel:vm:control"}],
[{xmlelement,
"archipel",
[{"action",
"shutdown"}],
[]}]}]}],
343,1,[],
{{92,134,
13,65},
53417}}

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.618.0>:ejabberd_http_bind:669) : -- SaveKey:

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.618.0>:ejabberd_http_bind:687) : reqlist: [{hbr,1019947625,[],[]},
{hbr,1019947624,[],[]}]

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.618.0>:ejabberd_http_bind:735) : really sending now: [{xmlelement,"iq",
[{"xmlns",
"jabber:client"},
{"type","set"},
{"id","5158"},
{"to",
"287379a4-2fd9-11e1-aa3a-003048bdee14@hostserver.loc/hostserver.loc"}],
[{xmlelement,
"query",
[{"xmlns",
"archipel:vm:control"}],
[{xmlelement,
"archipel",
[{"action",
"shutdown"}],
[]}]}]}]

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.620.0>:ejabberd_router:313) : route
from {jid,"admin","hostserver.loc","ArchipelController",
"admin","hostserver.loc","ArchipelController"}
to {jid,"287379a4-2fd9-11e1-aa3a-003048bdee14",
"hostserver.loc","hostserver.loc",
"287379a4-2fd9-11e1-aa3a-003048bdee14",
"hostserver.loc","hostserver.loc"}
packet {xmlelement,"iq",
[{"type","set"},
{"id","5158"},
{"to",
"287379a4-2fd9-11e1-aa3a-003048bdee14@hostserver.loc/hostserver.loc"}],
[{xmlelement,"query",
[{"xmlns","archipel:vm:control"}],
[{xmlelement,"archipel",
[{"action","shutdown"}],
[]}]}]}

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.620.0>:ejabberd_local:300) : local route
from {jid,"admin","hostserver.loc","ArchipelController",
"admin","hostserver.loc","ArchipelController"}
to {jid,"287379a4-2fd9-11e1-aa3a-003048bdee14",
"hostserver.loc","hostserver.loc",
"287379a4-2fd9-11e1-aa3a-003048bdee14",
"hostserver.loc","hostserver.loc"}
packet {xmlelement,"iq",
[{"type","set"},{"id",[...]},{[...],...}],
[{xmlelement,[...],...}]}

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.620.0>:ejabberd_sm:411) : session manager
from {jid,"admin","hostserver.loc","ArchipelController",
"admin","hostserver.loc","ArchipelController"}
to {jid,"287379a4-2fd9-11e1-aa3a-003048bdee14",
"hostserver.loc","hostserver.loc",
"287379a4-2fd9-11e1-aa3a-003048bdee14",
"hostserver.loc","hostserver.loc"}
packet {xmlelement,"iq",
[{"type","set"},{"id",[...]},{[...],...}],
[{xmlelement,[...],...}]}

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.620.0>:ejabberd_sm:510) : sending to process <0.468.0>

=INFO REPORT==== 2011-12-29 21:13:01 ===
D(<0.468.0>:ejabberd_c2s:1553) : Send XML on stream = <<"">>

Archipel :
Nothing logged when i click any of this action

Libvirtd :
Nothing logged too

As i said, everything else is ok + starting a vm is ok. Where could i search for more informations on what happens on the host ?

My system is :
Gentoo x86_64
Ejabberd 2.1.9 +
libvirtd 0.9.6
ArchipelAgent + Client last nightly (29 dec 11)

Thanks !