From cb8f1b5faacbaecfbcba14be28a37bc3537a1f00 Mon Sep 17 00:00:00 2001 From: Yi Wang Date: Fri, 28 Jun 2019 13:57:36 +0800 Subject: [PATCH] Fix only listening the floating mgmt ip issue Remove an ansible task which persists sysinv-api bind host setting. It is to prevent sysinv-api from only listening the floating management ip after bootstrap. Otherwise, end users can't confgure the system remotely. Change-Id: I7c2dc2759c7a5207dd1eaea1744f5f783b12b8e9 Closes-Bug: 1833459 Signed-off-by: Yi Wang --- .../bootstrap/roles/persist-config/tasks/main.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/playbookconfig/src/playbooks/bootstrap/roles/persist-config/tasks/main.yml b/playbookconfig/src/playbooks/bootstrap/roles/persist-config/tasks/main.yml index 63985efe9..6b06ea170 100644 --- a/playbookconfig/src/playbooks/bootstrap/roles/persist-config/tasks/main.yml +++ b/playbookconfig/src/playbooks/bootstrap/roles/persist-config/tasks/main.yml @@ -119,20 +119,6 @@ timeout: 360 msg: Timeout waiting for service endpoints reconfiguration to complete - - name: Update sysinv API bind host with new management floating IP - replace: - path: /etc/sysinv/sysinv.conf - regexp: "sysinv_api_bind_ip=.*$" - replace: "sysinv_api_bind_ip={{ controller_floating_address }}" - - - name: Restart sysinv-agent and sysinv-api to pick up sysinv.conf update - command: "{{ item }}" - with_items: - - /etc/init.d/sysinv-agent restart - - /usr/lib/ocf/resource.d/platform/sysinv-api reload - environment: - OCF_ROOT: "/usr/lib/ocf" - when: not replayed or reconfigure_endpoints - block: