nova: Define service cleaner sleep time
This makes the service cleaner sleep time if any service is down provisionable. Change-Id: If55a22c4f22ff0a48767dae3d57aca6c3c8cccac
This commit is contained in:
parent
0c80a415bf
commit
b75545d0c6
@ -14,7 +14,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Nova
|
description: OpenStack-Helm Nova
|
||||||
name: nova
|
name: nova
|
||||||
version: 0.2.18
|
version: 0.2.19
|
||||||
home: https://docs.openstack.org/nova/latest/
|
home: https://docs.openstack.org/nova/latest/
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -20,7 +20,7 @@ set -xe
|
|||||||
# to confirm service is still down.
|
# to confirm service is still down.
|
||||||
DISABLED_SVC="$(openstack compute service list -f value | grep -v 'nova-compute' | grep 'down')"
|
DISABLED_SVC="$(openstack compute service list -f value | grep -v 'nova-compute' | grep 'down')"
|
||||||
if [ ! -z "${DISABLED_SVC}" ]; then
|
if [ ! -z "${DISABLED_SVC}" ]; then
|
||||||
sleep $((2 * {{ .Values.conf.nova.DEFAULT.report_interval }}))
|
sleep $((2 * {{ .Values.jobs.service_cleaner.sleep_time }}))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
NOVA_SERVICES_TO_CLEAN="$(openstack compute service list -f value -c Binary | sort | uniq | grep -v '^nova-compute$')"
|
NOVA_SERVICES_TO_CLEAN="$(openstack compute service list -f value -c Binary | sort | uniq | grep -v '^nova-compute$')"
|
||||||
|
@ -111,6 +111,7 @@ jobs:
|
|||||||
history:
|
history:
|
||||||
success: 3
|
success: 3
|
||||||
failed: 1
|
failed: 1
|
||||||
|
sleep_time: 60
|
||||||
archive_deleted_rows:
|
archive_deleted_rows:
|
||||||
cron: "0 */1 * * *"
|
cron: "0 */1 * * *"
|
||||||
starting_deadline: 600
|
starting_deadline: 600
|
||||||
@ -1439,7 +1440,6 @@ conf:
|
|||||||
instance_usage_audit_period: hour
|
instance_usage_audit_period: hour
|
||||||
notify_on_state_change: vm_and_task_state
|
notify_on_state_change: vm_and_task_state
|
||||||
resume_guests_state_on_host_boot: True
|
resume_guests_state_on_host_boot: True
|
||||||
report_interval: 10
|
|
||||||
vnc:
|
vnc:
|
||||||
novncproxy_host: 0.0.0.0
|
novncproxy_host: 0.0.0.0
|
||||||
vncserver_listen: 0.0.0.0
|
vncserver_listen: 0.0.0.0
|
||||||
|
@ -39,4 +39,5 @@ nova:
|
|||||||
- 0.2.16 Remove the policy document in values file
|
- 0.2.16 Remove the policy document in values file
|
||||||
- 0.2.17 Fix disablement of helm.sh/hook for Helm v2
|
- 0.2.17 Fix disablement of helm.sh/hook for Helm v2
|
||||||
- 0.2.18 Give service time to restore
|
- 0.2.18 Give service time to restore
|
||||||
|
- 0.2.19 Define service cleaner sleep time
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user