3ccb176f13
This project [1] can provide a one-stop solution to log collection, cleaning, indexing, analysis, alarm, visualization, report generation and other needs, which involves helping operator or maintainer to quickly solve retrieve problems, grasp the operational health of the platform, and improve the level of platform management. [1] https://wiki.openstack.org/wiki/Venus Change-Id: If3562bbed6181002b76831bab54f863041c5a885
25 lines
562 B
YAML
25 lines
562 B
YAML
---
|
|
- import_role:
|
|
name: service-precheck
|
|
vars:
|
|
service_precheck_services: "{{ venus_services }}"
|
|
service_name: "{{ project_name }}"
|
|
|
|
- name: Get container facts
|
|
become: true
|
|
kolla_container_facts:
|
|
name:
|
|
- venus_api
|
|
register: container_facts
|
|
|
|
- name: Checking free port for Venus API
|
|
wait_for:
|
|
host: "{{ api_interface_address }}"
|
|
port: "{{ venus_api_port }}"
|
|
connect_timeout: 1
|
|
timeout: 1
|
|
state: stopped
|
|
when:
|
|
- container_facts['venus_api'] is not defined
|
|
- inventory_hostname in groups['venus-api']
|