<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>Hi Houzhian,</div><div><br></div><div>Great the see people doing fault tolerance with Congress. That's how Congress is used in by the OpNFV Doctor project (https://wiki.opnfv.org/display/doctor)</div><div><br></div><div>I just tested the same rule on Pike release and it seems Congress delivered the correct request to nova. Do you have the Congress and Nova logs that can help us determine what happened?</div><div>Also which version are you on and what environment are you running in?</div><div><br></div><div>Cheers!</div><div><br></div><div>Eric Kao</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> houzhian <<a href="mailto:houzhian@gmail.com">houzhian@gmail.com</a>><br><span style="font-weight:bold">Reply-To: </span> "OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br><span style="font-weight:bold">Date: </span> Wednesday, October 18, 2017 at 12:51 AM<br><span style="font-weight:bold">To: </span> "<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span> [openstack-dev] Is it possible that congress policy do live-migration<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><div><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></div></div>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</blockquote></span></body></html>