summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-01-14 14:07:36 +0800
committershuai chen <chenshuai@huawei.com>2016-01-21 06:51:01 +0000
commita71082cd23709876b0477fadb794f65f95b2854b (patch)
tree0b7454ce4664f8faf751035d146f49b37a8de4b0 /deploy
parent9f974e0578f68f9e31807d07b4c47614054cae00 (diff)
bugfix: opencontrail parameter network_api_class in nova.conf to nova.network.neutronv2.api.API
JIRA: COMPASS-267 Change-Id: I8f74c61e2f1efe289c198ce4d1bd5f1ef72ac2b5 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com> (cherry picked from commit d8098aec2e2ba0be52bafd8ebdfb3954224d2cc7)
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml24
1 files changed, 12 insertions, 12 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml b/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml
index 495ba6b2..7b87622c 100755
--- a/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml
+++ b/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml
@@ -150,19 +150,19 @@
# - { section: "DEFAULT", option: "network_api_class", value: "nova.network.neutronv2.api.API" }
# - { section: "DEFAULT", option: "libvirt_vif_driver", value: "nova_contrail_vif.contrailvif.VRouterVIFDriver" }
-- 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 compute"
- service:
- name: "nova-compute"
- state: "restarted"
+#- name: "restart nova compute"
+# service:
+# name: "nova-compute"
+# state: "restarted"
#- name: "add vrouter to contrail"
# shell: "python /opt/contrail/utils/provision_vrouter.py --api_server_ip {{ contrail_haproxy_address }} --admin_user {{ contrail_admin_user }} --admin_password {{ contrail_admin_password }} --admin_tenant_name admin --openstack_ip {{ contrail_keystone_address }} --oper add --host_name {{ ansible_hostname }} --host_ip {{ contrail_address }}"