------=_Part_13298649_1903013722.1369745124283
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
----- Original Message -----
From: "wlbleaboy@126" <wlbleaboy(a)126.com>
To: engine-devel(a)ovirt.org
Sent: Tuesday, May 28, 2013 2:54:24 PM
Subject: [Engine-devel] about ticket
Hi all:
When I connect to a vm via spicec or spicy, I need a ticket, so I get
a
ticket from ovirt-engine via
ovirt-engine-sdk, and it works well.
But I don=E2=80=99t know how long can a ticket to use? For example,
when =
I got a
ticket, it=E2=80=99s validated
In many minutes, or several hours, or always. Or in some other
condition,=
a
ticket will invalidate.
If a ticket have a time limits, where and how could I change it, let
it
always can validated.
I guess the ticket come from ovirt-node, when I via ovirt-engine-sdk
get =
a
ticket, sdk will get
ovirt-engine a POST action, and then engine-core give VDSM a command,
VDS=
M
get it from ovirt-node
and return it to ovirt-engine. ovirt-engine-sdk use GET action to get
it.
you can use expiry with the sdk,=20
default is 120sec=20
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel
------=_Part_13298649_1903013722.1369745124283
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: times new roman, new york,
times, se=
rif; font-size: 12pt; color:
#000000"><div><br></div><div><br></div><hr
id=
=3D"zwchr"><blockquote style=3D"border-left:2px solid
#1010FF;margin-left:5=
px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-de=
coration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Fr=
om: </b>"wlbleaboy@126"
&lt;wlbleaboy(a)126.com&gt;<br><b>To: </b>engine-deve=
l(a)ovirt.org<br><b>Sent: </b>Tuesday, May 28, 2013 2:54:24
PM<br><b>Subject:=
</b>[Engine-devel] about
ticket<br><div><br></div><style>
<!--
=20
@font-face
=09{font-family:\5B8B\4F53;
=09panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
=09{font-family:"Cambria Math";
=09panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
=09{font-family:Calibri;
=09panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
=09{font-family:"\@\5B8B\4F53";
=09panose-1:2 1 6 0 3 1 1 1 1 1;}
=20
p.MsoNormal, li.MsoNormal, div.MsoNormal
=09{margin:0cm;
=09margin-bottom:.0001pt;
=09text-align:justify;
=09text-justify:inter-ideograph;
=09font-size:10.5pt;
=09font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
=09{mso-style-priority:99;
=09color:blue;
=09text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
=09{mso-style-priority:99;
=09color:purple;
=09text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
=09{mso-style-priority:99;
=09mso-style-link:"\6279\6CE8\6846\6587\672C Char";
=09margin:0cm;
=09margin-bottom:.0001pt;
=09text-align:justify;
=09text-justify:inter-ideograph;
=09font-size:9.0pt;
=09font-family:"Calibri","sans-serif";}
span.EmailStyle17
=09{mso-style-type:personal-compose;
=09font-family:"Calibri","sans-serif";
=09color:windowtext;}
span.Char
=09{mso-style-name:"\6279\6CE8\6846\6587\672C Char";
=09mso-style-priority:99;
=09mso-style-link:\6279\6CE8\6846\6587\672C;}
.MsoChpDefault
=09{mso-style-type:export-only;}
=20
@page Section1
=09{size:612.0pt 792.0pt;
=09margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
=09{page:Section1;}
-->
</style><div class=3D"Section1"><p
class=3D"MsoNormal"><span lang=3D"EN-US"=
Hi all:</span></p><p
class=3D"MsoNormal"><span
lang=3D"EN-US"> =
When I connect to a vm via spicec or spicy, I need a ticket, so I get a tic=
ket
from ovirt-engine via </span></p><p
class=3D"MsoNormal"><span lang=3D"EN-US=
">ovirt-engine-sdk, and it works well.</span></p><p
class=3D"MsoNormal"><sp=
an
lang=3D"EN-US">
But I don=E2=80=99t know how long can a ticket to use? For example, when I =
got a
ticket, it=E2=80=99s validated </span></p><p
class=3D"MsoNormal"><span lang=
=3D"EN-US">In many minutes, or several hours, or
always. Or in some other condition, a ticket will invalidate.</span></p><p
=
class=3D"MsoNormal"><span
lang=3D"EN-US"> &nbs=
p;
If a ticket have a time limits, where and how could I change it, let it alw=
ays
can validated.</span></p><p class=3D"MsoNormal"><span
lang=3D"EN-US"> =
</span></p><p class=3D"MsoNormal"><span
lang=3D"EN-US"> &n=
bsp;
I guess the ticket come from ovirt-node, when I via ovirt-engine-sdk get a
ticket, sdk will get </span></p><p
class=3D"MsoNormal"><span lang=3D"EN-US"=
ovirt-engine a POST action, and then
engine-core give VDSM a
command, VDSM get it from ovirt-node</span></p><p c=
lass=3D"MsoNormal"><span lang=3D"EN-US">and return it to
ovirt-engine.
ovirt-engine-sdk use GET action to get it.</span></p><p
class=3D"MsoNormal"=
<span
lang=3D"EN-US"> </span></p></div></blockquote><div>you
can use =
expiry with the sdk,<br></div><div>default is
120sec<br></div><blockquote s=
tyle=3D"border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;colo=
r:#000;font-weight:normal;font-style:normal;text-decoration:none;font-famil=
y:Helvetica,Arial,sans-serif;font-size:12pt;"><br>_________________________=
______________________<br>Engine-devel mailing list<br>Engine-devel(a)ovirt.o=
rg<br>http://lists.ovirt.org/mailman/listinfo/engine-devel<br>...
<div><br></div></div></body></html>
------=_Part_13298649_1903013722.1369745124283--