From e6dd5f0830e90b86223f8b47d467b34b933b80ac Mon Sep 17 00:00:00 2001 From: "chenshuai@huawei.com" Date: Wed, 13 Jan 2016 16:41:52 +0800 Subject: bugfix: opencontrail remove nova para modification in nova.conf on controller JIRA: COMPASS-265 Change-Id: Ic8463dbb5acfc98d049e5468789b88934aca3ff7 Signed-off-by: chenshuai@huawei.com (cherry picked from commit 816e0f01e57666c4f6c8c03b780a81bd5a35e89a) --- .../tasks/provision/provision-config.yml | 38 +++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-config.yml b/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-config.yml index 7a75528a..943214fd 100755 --- a/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-config.yml +++ b/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-config.yml @@ -284,24 +284,24 @@ -- name: "set values to nova config" - ini_file: - dest: "/etc/nova/nova.conf" - section: "{{ item.section }}" - option: "{{ item.option }}" - value: "{{ item.value }}" - with_items: - - { section: "DEFAULT", option: "network_api_class", value: "nova_contrail_vif.contrailvif.ContrailNetworkAPI" } +#- name: "set values to nova config" +# ini_file: +# dest: "/etc/nova/nova.conf" +# section: "{{ item.section }}" +# option: "{{ item.option }}" +# value: "{{ item.value }}" +# with_items: +# - { section: "DEFAULT", option: "network_api_class", value: "nova_contrail_vif.contrailvif.ContrailNetworkAPI" } -- name: "restart nova-server" - service: - name: "{{ item }}" - state: "restarted" - with_items: - - nova-api - - nova-cert - - nova-conductor - - nova-consoleauth - - nova-novncproxy - - nova-scheduler +#- name: "restart nova-server" +# service: +# name: "{{ item }}" +# state: "restarted" +# with_items: +# - nova-api +# - nova-cert +# - nova-conductor +# - nova-consoleauth +# - nova-novncproxy +# - nova-scheduler -- cgit 1.2.3-korg