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
0e5c6b27
Commit
0e5c6b27
authored
8 years ago
by
Jenkins
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Start nova-conductor earlier"
parents
401137a0
7e9e5fd7
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/nova/handlers/main.yml
+25
-24
25 additions, 24 deletions
ansible/roles/nova/handlers/main.yml
with
25 additions
and
24 deletions
ansible/roles/nova/handlers/main.yml
+
25
−
24
View file @
0e5c6b27
...
...
@@ -94,14 +94,14 @@
or policy_json.changed | bool
or nova_api_container.changed | bool
-
name
:
Restart nova-
consoleauth
container
-
name
:
Restart nova-
scheduler
container
vars
:
service_name
:
"
nova-
consoleauth
"
service_name
:
"
nova-
scheduler
"
service
:
"
{{
nova_services[service_name]
}}"
config_json
:
"
{{
config_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_conf
:
"
{{
nova_confs.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
policy_json
:
"
{{
policy_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_
consoleauth
_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_
scheduler
_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
kolla_docker
:
action
:
"
recreate_or_restart_container"
common_options
:
"
{{
docker_common_options
}}"
...
...
@@ -116,16 +116,16 @@
-
config_json.changed | bool
or nova_conf.changed | bool
or policy_json.changed | bool
or nova_
consoleauth
_container.changed | bool
or nova_
scheduler
_container.changed | bool
-
name
:
Restart nova-
novncproxy
container
-
name
:
Restart nova-
conductor
container
vars
:
service_name
:
"
nova-
novncproxy
"
service_name
:
"
nova-
conductor
"
service
:
"
{{
nova_services[service_name]
}}"
config_json
:
"
{{
config_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_conf
:
"
{{
nova_confs.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
policy_json
:
"
{{
policy_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_
novncproxy
_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_
conductor
_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
kolla_docker
:
action
:
"
recreate_or_restart_container"
common_options
:
"
{{
docker_common_options
}}"
...
...
@@ -140,16 +140,17 @@
-
config_json.changed | bool
or nova_conf.changed | bool
or policy_json.changed | bool
or nova_
novncproxy
_container.changed | bool
or nova_
conductor
_container.changed | bool
-
name
:
Restart nova-spicehtml5proxy container
-
name
:
Restart nova-consoleauth container
vars
:
service_name
:
"
nova-
spicehtml5proxy
"
service_name
:
"
nova-
consoleauth
"
service
:
"
{{
nova_services[service_name]
}}"
config_json
:
"
{{
config_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_conf
:
"
{{
nova_confs.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
policy_json
:
"
{{
policy_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_
spicehtml5proxy
_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_
consoleauth
_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
kolla_docker
:
action
:
"
recreate_or_restart_container"
common_options
:
"
{{
docker_common_options
}}"
...
...
@@ -164,16 +165,16 @@
-
config_json.changed | bool
or nova_conf.changed | bool
or policy_json.changed | bool
or nova_
spicehtml5proxy
_container.changed | bool
or nova_
consoleauth
_container.changed | bool
-
name
:
Restart nova-
serial
proxy container
-
name
:
Restart nova-
novnc
proxy container
vars
:
service_name
:
"
nova-
serial
proxy"
service_name
:
"
nova-
novnc
proxy"
service
:
"
{{
nova_services[service_name]
}}"
config_json
:
"
{{
config_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_conf
:
"
{{
nova_confs.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
policy_json
:
"
{{
policy_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_
serial
proxy_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_
novnc
proxy_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
kolla_docker
:
action
:
"
recreate_or_restart_container"
common_options
:
"
{{
docker_common_options
}}"
...
...
@@ -188,16 +189,16 @@
-
config_json.changed | bool
or nova_conf.changed | bool
or policy_json.changed | bool
or nova_
serial
proxy_container.changed | bool
or nova_
novnc
proxy_container.changed | bool
-
name
:
Restart nova-s
cheduler
container
-
name
:
Restart nova-s
picehtml5proxy
container
vars
:
service_name
:
"
nova-s
cheduler
"
service_name
:
"
nova-s
picehtml5proxy
"
service
:
"
{{
nova_services[service_name]
}}"
config_json
:
"
{{
config_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_conf
:
"
{{
nova_confs.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
policy_json
:
"
{{
policy_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_s
cheduler
_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_s
picehtml5proxy
_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
kolla_docker
:
action
:
"
recreate_or_restart_container"
common_options
:
"
{{
docker_common_options
}}"
...
...
@@ -212,16 +213,16 @@
-
config_json.changed | bool
or nova_conf.changed | bool
or policy_json.changed | bool
or nova_s
cheduler
_container.changed | bool
or nova_s
picehtml5proxy
_container.changed | bool
-
name
:
Restart nova-
conductor
container
-
name
:
Restart nova-
serialproxy
container
vars
:
service_name
:
"
nova-
conductor
"
service_name
:
"
nova-
serialproxy
"
service
:
"
{{
nova_services[service_name]
}}"
config_json
:
"
{{
config_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_conf
:
"
{{
nova_confs.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
policy_json
:
"
{{
policy_jsons.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_
conductor
_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
nova_
serialproxy
_container
:
"
{{
check_nova_containers.results|selectattr('item.key',
'equalto',
service_name)|first
}}"
kolla_docker
:
action
:
"
recreate_or_restart_container"
common_options
:
"
{{
docker_common_options
}}"
...
...
@@ -236,7 +237,7 @@
-
config_json.changed | bool
or nova_conf.changed | bool
or policy_json.changed | bool
or nova_
conductor
_container.changed | bool
or nova_
serialproxy
_container.changed | bool
-
name
:
Restart nova-compute container
vars
:
...
...
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