--_000_1051EFB4D3A1704680C38CCAAC5836D292F02CDEWPTXMAIL2ptxaxw_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
When using shutdown from ovirt manager GUI , then on a Linux Guest , I ge=
t this massage :
System Administrator has initiated shutdown of this Virtual Machine. Virtua=
l Machine is shutting down."
The system is going down for power-off at Tue 2016-01-19 10:32:19 CET!
When , via ovirt Python SDK , I use this :
api =3D API(url=3DURL, username=3DUSERNAME, password=3DPASSWORD, ca_file=3D=
CA_FILE)
vm =3D api.vms.get(name=3DVM_NAME)
print 'Stopping this VM'
vm.stop()
Then the Guest is stopped in a 'non -gracefully =BB way.
Is it a way to achieve same behavior as via GUI shutdown ?
Thx for help.
Regards,
J.P. Ribeauville
P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
http://www.axway.com<http://www.axway.com/>
* Pensez =E0 l'environnement avant d'imprimer.
--_000_1051EFB4D3A1704680C38CCAAC5836D292F02CDEWPTXMAIL2ptxaxw_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html;
charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left:=
#800000 2px solid; } --></style>
</head>
<body>
<font face=3D"Calibri" size=3D"2"><span
style=3D"font-size:11pt;">
<div>Hi,</div>
<div> </div>
<div>When using shutdown from ovirt manager GUI , then on a
Lin=
ux Guest , I get this massage :</div>
<div> </div>
<div><i>System Administrator has initiated shutdown of this Virtual Machine=
. Virtual Machine is shutting down."</i></div>
<div><i>The system is going down for power-off at Tue 2016-01-19 10:32:19 C=
ET!</i></div>
<div> </div>
<div>When , via ovirt Python SDK , I use this :</div>
<div> </div>
<div><i>api =3D API(url=3DURL, username=3DUSERNAME, password=3DPASSWORD, ca=
_file=3DCA_FILE)</i></div>
<div><i> vm =3D
api.vms.get(name=3DVM_NAME)</i></div>
<div><i> print 'Stopping
this VM'</i></div>
<div><i>
</i><i>vm.stop()<br>
<br>
</i>Then the Guest is stopped in a ‘non –gracefully =BB
wa=
y.<br>
Is it a way to achieve same behavior as via GUI shutdown ?<br>
<br>
Thx for help.</div>
<div> </div>
<div>Regards,</div>
<table width=3D"189"
style=3D"width:113.7pt;margin-left:5.4pt;">
<col width=3D"189" style=3D"width:113.7pt;">
<tr>
<td><font color=3D"#888888">
<div> </div>
<div> </div>
<div><font face=3D"Arial" size=3D"2"><span
style=3D"font-size:8.5pt;"><b>J.=
P. Ribeauville</b></span></font></div>
<div><font color=3D"#737373"> </font></div>
</font></td>
</tr>
<tr>
<td><font face=3D"Arial" size=3D"2"
color=3D"red"><span style=3D"font-size:=
8.5pt;">P: <font
color=3D"#737373">+33.(0).1.47.17.20.49</font>
<div><font color=3D"#737373">.</font></div>
<div><font color=3D"#737373">Puteaux 3 Etage 5 Bureau
4</font></div>
<div><font color=3D"#737373"> </font></div>
<div><a href=3D"mailto:jpribeauville@axway.com"><font
face=3D"Calibri" size=
=3D"2" color=3D"blue"><span
style=3D"font-size:9pt;"><u>jpribeauville@axway=
.com</u></span></font></a><br>
<a
href=3D"http://www.axway.com/"><font face=3D"Calibri"
size=3D"2"><span s=
tyle=3D"font-size:9pt;"><u>http://www.axway.com</u></span></font></a></div>
<div><font color=3D"#737373"> </font></div>
</span></font></td>
</tr>
</table>
<div> </div>
<table width=3D"300"
style=3D"width:180.4pt;margin-left:5.4pt;">
<col width=3D"300" style=3D"width:180.4pt;">
<tr>
<td><font face=3D"Webdings" size=3D"5"
color=3D"#888888"><span style=3D"fon=
t-size:18pt;">P<font face=3D"Calibri"
size=3D"1"><span style=3D"font-size:8=
pt;"> </span></font><font face=3D"Arial"
size=3D"1"><span style=3D"fon=
t-size:8pt;">Pensez =E0 l’environnement avant
d’imprimer.</span=
</font></span></font></td>
</tr>
</table>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>
--_000_1051EFB4D3A1704680C38CCAAC5836D292F02CDEWPTXMAIL2ptxaxw_--