[openstack-dev] [Congress] Is it possible that congress policy do live-migration

Eric K ekcs.openstack at gmail.com
Thu Oct 19 02:10:25 UTC 2017

Hi Houzhian,

Great the see people doing fault tolerance with Congress. That's how
Congress is used in by the OpNFV Doctor project

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?
Also which version are you on and what environment are you running in?


Eric Kao

From:  houzhian <houzhian at gmail.com>
Reply-To:  "OpenStack Development Mailing List (not for usage questions)"
<openstack-dev at lists.openstack.org>
Date:  Wednesday, October 18, 2017 at 12:51 AM
To:  "openstack-dev at lists.openstack.org" <openstack-dev at lists.openstack.org>
Subject:  [openstack-dev] Is it possible that congress policy do

> 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.
> openstack congress policy rule create \
>     --name live_migrate_vm classification \
> 'execute[nova:servers.live_migrate(vmid,"overcloud-novacompute-1.opnfvlf.org",
> "False","False")] :-
>         host_down(host),
>         active_instance_in_host(vmid, host)'
> 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
>     nova pause vmid
>     'execute[nova:servers.pause(vmid)] :- condition' works properly
>     nova migrate vmid
>     'execute[nova:servers.pause(vmid)] :- condition' works properly
> there exist nova live-migration vmid
> 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,
> Am I able to use congress to do some automatic fault recovery like live
> migration?
> 发自网易邮箱大师
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions) Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20171018/1f2cd61f/attachment.html>

More information about the OpenStack-dev mailing list