From d5406a04f5cb0f5554ae25a861420f8e8399b31e Mon Sep 17 00:00:00 2001
From: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Date: Wed, 4 Jan 2017 11:21:13 +0800
Subject: [PATCH] Fix gate in iax-ord node when using libvirt 2.0

Change-Id: Ifacc2462db2bcd7c8091a23c30e9442ec0140c97
Closes-Bug: #1653863
---
 tools/deploy_aio.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh
index 334e47c260..e8642d2d13 100755
--- a/tools/deploy_aio.sh
+++ b/tools/deploy_aio.sh
@@ -84,6 +84,8 @@ EOF
     cat << EOF > /etc/kolla/config/nova/nova-compute.conf
 [libvirt]
 virt_type=qemu
+# NOTE(Jeffrey4l): fix the gate in iax-ord nodes for libvirt 2.0.
+cpu_mode=none
 EOF
 }