You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, when executing the creation of a PGSQL node or cluster, due to the personnel quality issues of the R&D and operation and maintenance teams of small and medium-sized enterprises, it is very likely that the creation will not be completed before adding the nodes involved in the operation to pigsty for management. PGSQL or cluster, resulting in components such as pgbouncer not being created with business components first, which in turn caused the subsequent pgbouncer_exporter business to fail to be created.
Yes, you are right, i'm the guy just make this mistake
The text was updated successfully, but these errors were encountered:
Will be implemented via an extra check in task pg_check:
#--------------------------------------------------------------## Check PostgreSQL Exists [pg_check]#--------------------------------------------------------------#
- name: check postgres existstags: pg_checkblock:
# check node is managed by pigsty by the existence of ca.crt
- name: check if node is managed by pigstystat: path=/etc/pki/ca.crtregister: check_ca_crt_result
- name: ABORT due to install on unmanaged nodewhen: not check_ca_crt_result.stat.existsconnection: localany_errors_fatal: trueignore_errors: falsefail:
msg: >- Abort because the node {{ inventory_hostname }} seems not managed by pigsty, use ./node.yml to init node first.
When run pgsql.yml on a node that is not inited by Pigsty, The result would be like:
fatal: [10.10.10.41]: FAILED! => {"changed": false, "msg": "Abort because the node 10.10.10.41 seems not managed by pigsty, use ./node.yml to init node first. "}
For example, when executing the creation of a PGSQL node or cluster, due to the personnel quality issues of the R&D and operation and maintenance teams of small and medium-sized enterprises, it is very likely that the creation will not be completed before adding the nodes involved in the operation to pigsty for management. PGSQL or cluster, resulting in components such as pgbouncer not being created with business components first, which in turn caused the subsequent pgbouncer_exporter business to fail to be created.
Yes, you are right, i'm the guy just make this mistake
The text was updated successfully, but these errors were encountered: