Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
ec0a7fbd
Commit
ec0a7fbd
authored
8 years ago
by
caoyuan
Browse files
Options
Downloads
Patches
Plain Diff
Add watcher checking to port_checks.yml
TrivialFix Change-Id: Idf2a53025afb53a12cbe3c4e2feed1dd3dddfe02
parent
5661f72f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/prechecks/tasks/port_checks.yml
+16
-0
16 additions, 0 deletions
ansible/roles/prechecks/tasks/port_checks.yml
with
16 additions
and
0 deletions
ansible/roles/prechecks/tasks/port_checks.yml
+
16
−
0
View file @
ec0a7fbd
...
...
@@ -601,6 +601,22 @@
state
:
stopped
when
:
inventory_hostname in groups['haproxy']
-
name
:
Checking free port for Watcher API
wait_for
:
host
:
"
{{
hostvars[inventory_hostname]['ansible_'
+
api_interface]['ipv4']['address']
}}"
port
:
"
{{
watcher_api_port
}}"
connect_timeout
:
1
state
:
stopped
when
:
inventory_hostname in groups['watcher-api']
-
name
:
Checking free port for Watcher API HAProxy
wait_for
:
host
:
"
{{
kolla_internal_vip_address
}}"
port
:
"
{{
watcher_api_port
}}"
connect_timeout
:
1
state
:
stopped
when
:
inventory_hostname in groups['haproxy']
-
name
:
Checking if kolla_internal_vip_address and kolla_external_vip_address are not pingable from any node
command
:
ping -c 3 {{ item }}
register
:
ping_output
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment