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 <yi.c.wang@intel.com>
This commit is contained in:
parent
f3e3de7cdc
commit
cb8f1b5faa
@ -119,20 +119,6 @@
|
|||||||
timeout: 360
|
timeout: 360
|
||||||
msg: Timeout waiting for service endpoints reconfiguration to complete
|
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
|
when: not replayed or reconfigure_endpoints
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
|
Loading…
Reference in New Issue
Block a user