<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</head>
<body>
<style>
font{
line-height: 1.7;
}
</style>
<div style = 'font-family:"微软雅黑"; font-size: 14px; color:#000000; line-height:1.7;'>
<div>
<div><span><br></span></div>
<div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;">Hey guys, thanks for your efforts on OpenStack Congress, I am very puzzled about policy of Congress on recent days and I decided to ask you for some help, I am looking forward to your reply.</div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;"><br></div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;"><div style="font-family: Consolas, 'Courier New', monospace; color: rgb(187, 187, 187); font-size: 18px; line-height: 24px; white-space: pre; background-color: rgb(0, 43, 54);"><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif !important;">openstack congress policy rule create <span style="color: rgb(203, 75, 22);">\</span></div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif !important;"> --name live_migrate_vm classification <span style="color: rgb(203, 75, 22);">\</span></div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif !important;"> <span style="color: rgb(42, 161, 152);">'execute[nova:servers.live_migrate(vmid,"overcloud-novacompute-1.opnfvlf.org","False","False")] :-</span></div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif !important;"><span style="color: rgb(42, 161, 152);"> host_down(host),</span></div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif !important;"><span style="color: rgb(42, 161, 152);"> active_instance_in_host(vmid, host)'</span></div><br style="font-family: Verdana, 微软雅黑, 宋体, sans-serif !important;"></div></div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;"><br></div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;">Is this a valid policy? Is there some connection between nova client api and execute in congress policy which are allowed to use? I noticed that </div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;"><span style="line-height: 1.7;"> </span>nova pause vmid</div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;"> 'execute[nova:servers.pause(vmid)] :- condition' works properly</div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;"> nova migrate vmid</div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;"><span style="line-height: 1.7;"> '</span><span style="line-height: 23.8px;">execute[nova:servers.pause(vmid)] :- condition' works properly</span></div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;"><span style="line-height: 23.8px;">there exist nova live-migration vmid</span></div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;"><span style="line-height: 23.8px;">but I can not add execute[nova:servers.live-migration(vmid,other params maybe)] to congress policy, nova:servers.live-migrate(vmid,other params) can be added successfuly but it didn't do live migration jobs, nothing happened.I am confused about this,</span></div><div style="font-family: Verdana, 微软雅黑, 宋体, sans-serif; line-height: 23.8px;"><span style="line-height: 23.8px;">Am I able to use congress to do some automatic fault recovery like live migration?</span></div></div>
<div><span><br></span></div>
<div id="ntes-pcmail-signature" style="font-family:'微软雅黑'">
<style type="text/css">
a#ntes-pcmail-signature-default:hover {
text-decoration: underline;
color: #199cff;
cursor: pointer;
}
a#ntes-pcmail-signature-default:active {
text-decoration: underline;
color: #246fce;
cursor: pointer;
}
</style>
<font style="padding: 0; margin:0;">
<div id="ntes-pcmail-signature-default" style="font-size:14px; color:#000; text-decoration: none;">发自网易邮箱大师</div> </font>
</div><br>
</div><!--😀-->
</div>
</body>
</html>