Raise parallel orchestration limit
Increase the max-parallel-subclouds value from 100 to 500. Test Plan: - Create a subcloud group with max-parallel-subclouds set to 101 or 500 (success cases) and 501 (failure case). - Increase max-parallel-subclouds number of an existing subcloud group to 500 (success case) and 501 (failure case). - Create and apply a patch strategy to install an in-service patch in 500 subclouds simultaneously using Horizon. Story: 2009725 Task: 44129 Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/820415 Change-Id: I5b67d9f762cd8b76ab3072258741532b83ea2ccb Signed-off-by: Tee Ngo <tee.ngo@windriver.com>
This commit is contained in:
parent
01d9c56e05
commit
c2ab16c874
|
@ -136,10 +136,10 @@ class CreateCloudStrategyForm(forms.SelfHandlingForm):
|
|||
label=_("Maximum Parallel Subclouds"),
|
||||
initial=20,
|
||||
min_value=2,
|
||||
max_value=100,
|
||||
max_value=500,
|
||||
required=True,
|
||||
error_messages={'invalid': _('Maximum Parallel Subclouds must be '
|
||||
'between 2 and 100.')},
|
||||
'between 2 and 500.')},
|
||||
widget=forms.TextInput(
|
||||
attrs={
|
||||
'class': 'switched',
|
||||
|
@ -330,10 +330,10 @@ class CreateSubcloudGroupForm(forms.SelfHandlingForm):
|
|||
label=_("Maximum Parallel Subclouds"),
|
||||
initial=2,
|
||||
min_value=2,
|
||||
max_value=100,
|
||||
max_value=500,
|
||||
required=True,
|
||||
error_messages={'invalid': _('Maximum Parallel Subclouds must be '
|
||||
'between 2 and 100.')},
|
||||
'between 2 and 500.')},
|
||||
widget=forms.TextInput())
|
||||
|
||||
def handle(self, request, data):
|
||||
|
@ -390,10 +390,10 @@ class UpdateSubcloudGroupForm(forms.SelfHandlingForm):
|
|||
max_parallel_subclouds = forms.IntegerField(
|
||||
label=_("Maximum Parallel Subclouds"),
|
||||
min_value=2,
|
||||
max_value=100,
|
||||
max_value=500,
|
||||
required=True,
|
||||
error_messages={'invalid': _('Maximum Parallel Subclouds must be '
|
||||
'between 2 and 100.')},
|
||||
'between 2 and 500.')},
|
||||
widget=forms.TextInput())
|
||||
|
||||
def handle(self, request, data):
|
||||
|
|
Loading…
Reference in New Issue