Nova bootstrap job efficiency
This PS attempts to make the Nova bootstrap job a little speedier. It's been noticed that flavor check/creation on initial deployment are rather slow, so this backgrounds the creation of each flavor, so that the defined flavors can be checked/create in parallel, rather than one at a time. Waits for the jobs to finish at the end. Change-Id: Ib9ab345e5aee697a41414e927910335dd286072f
This commit is contained in:
parent
3ac3caa013
commit
9a8a476d9f
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Nova
|
||||
name: nova
|
||||
version: 0.2.11
|
||||
version: 0.2.12
|
||||
home: https://docs.openstack.org/nova/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
||||
sources:
|
||||
|
@ -23,15 +23,18 @@ export HOME=/tmp
|
||||
# longer treated specially. Though the same behavior can be achieved w/o specifying
|
||||
#--id flag.
|
||||
# https://review.opendev.org/c/openstack/python-openstackclient/+/750151
|
||||
openstack flavor show {{ .name }} || \
|
||||
openstack flavor create {{ .name }} \
|
||||
{
|
||||
openstack flavor show {{ .name }} || \
|
||||
openstack flavor create {{ .name }} \
|
||||
{{ if .id }} \
|
||||
--id {{ .id }} \
|
||||
--id {{ .id }} \
|
||||
{{ end }} \
|
||||
--ram {{ .ram }} \
|
||||
--disk {{ .disk }} \
|
||||
--vcpus {{ .vcpus }}
|
||||
--ram {{ .ram }} \
|
||||
--disk {{ .disk }} \
|
||||
--vcpus {{ .vcpus }}
|
||||
} &
|
||||
{{ end }}
|
||||
wait
|
||||
{{ end }}
|
||||
|
||||
{{ if .Values.bootstrap.wait_for_computes.enabled }}
|
||||
|
@ -32,4 +32,5 @@ nova:
|
||||
- 0.2.9 Add image clean up to rally test
|
||||
- 0.2.10 Add tls cert mounting to nova-novnc
|
||||
- 0.2.11 Add Victoria and Wallaby releases support
|
||||
- 0.2.12 Bootstrap flavor creation efficiencies
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user