[Engine-devel] about ticket

ÕâÊÇÒ»·â MIME žñÊœµÄ¶à²¿·ÖÓÊŒþ¡£ ------=_NextPart_000_0009_01CE5BDD.2829C850 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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't know how long can a ticket to use? For example, when I got a ticket, it's 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, VDSM get it from ovirt-node and return it to ovirt-engine. ovirt-engine-sdk use GET action to get it. ------=_NextPart_000_0009_01CE5BDD.2829C850 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:\5B8B\4F53; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:"\@\5B8B\4F53"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:10.5pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"\6279\6CE8\6846\6587\672C Char"; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; font-size:9.0pt; font-family:"Calibri","sans-serif";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.Char {mso-style-name:"\6279\6CE8\6846\6587\672C Char"; mso-style-priority:99; mso-style-link:\6279\6CE8\6846\6587\672C;} .MsoChpDefault {mso-style-type:export-only;} /* Page Definitions */ @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DZH-CN link=3Dblue vlink=3Dpurple = style=3D'text-justify-trim:punctuation'> <div class=3DSection1> <p class=3DMsoNormal><span lang=3DEN-US>Hi all:<o:p></o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US> When I connect to a vm via spicec or spicy, I need a ticket, so I get a = ticket from ovirt-engine via <o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>ovirt-engine-sdk, and it works = well.<o:p></o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US> But I don’t know how long can a ticket to use? For example, when I = got a ticket, it’s validated <o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>In many minutes, or several = hours, or always. Or in some other condition, a ticket will = invalidate.<o:p></o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US> If a ticket have a time limits, where and how could I change it, let it = always can validated.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p> <p class=3DMsoNormal><span = lang=3DEN-US> I guess the ticket come from ovirt-node, when I via ovirt-engine-sdk get = a ticket, sdk will get <o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>ovirt-engine a POST action, and = then engine-core give VDSM a command, VDSM get it from = ovirt-node<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>and return it to ovirt-engine. ovirt-engine-sdk use GET action to get it.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p> </div> </body> </html> ------=_NextPart_000_0009_01CE5BDD.2829C850--

------=_Part_13298649_1903013722.1369745124283 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ----- Original Message -----
From: "wlbleaboy@126" <wlbleaboy@126.com> To: engine-devel@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
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=
------=_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" <wlbleaboy@126.com><br><b>To: </b>engine-deve= l@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"= 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@ovirt.o= rg<br>http://lists.ovirt.org/mailman/listinfo/engine-devel<br></blockquote>= <div><br></div></div></body></html> ------=_Part_13298649_1903013722.1369745124283--

On 05/28/2013 02:54 PM, wlbleaboy@126 wrote:
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’t know how long can a ticket to use? For example, when I got a ticket, it’s 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, VDSM get it from ovirt-node
and return it to ovirt-engine. ovirt-engine-sdk use GET action to get it.
not exactly. engine generates the ticket, and sends it to the node. the ticket expiration is on how long you have until you use it. once you do, the session can last "forever". omer answered on ability to change the expiration
participants (3)
-
Itamar Heim
-
Omer Frenkel
-
wlbleaboy@126