Add aggregate to DX service group reprovisioning

The following prior update added service group reprovisioning on DX
nodes, but was missing the aggregate option necessary to ensure
certain groups were active on the same controller:
https://review.opendev.org/c/starlingx/stx-puppet/+/773277

As a result, failures during swact could lead to these groups being
assigned to different nodes, causing other failures in the system.

This update adds the missing aggregate option.

Partial-Bug: 1893669
Signed-off-by: Don Penney <don.penney@windriver.com>
Change-Id: I063d1549aa456bd4bb68c4c69c50dbc078ae7be0
This commit is contained in:
Don Penney 2021-03-30 18:10:02 -04:00
parent 07fcc92a79
commit 28ef813cda
1 changed files with 5 additions and 5 deletions

View File

@ -627,19 +627,19 @@ class platform::sm
}
exec { 'Configure oam-service redundancy model to DX':
command => "sm-configure service_group yes controller oam-services 'N + M' 1 1 \"\" directory-services",
command => "sm-configure service_group yes controller oam-services 'N + M' 1 1 \"controller-aggregate\" directory-services",
}
exec { 'Configure controller-services redundancy model to DX':
command => "sm-configure service_group yes controller controller-services 'N + M' 1 1 \"\" directory-services",
command => "sm-configure service_group yes controller controller-services 'N + M' 1 1 \"controller-aggregate\" directory-services",
}
exec { 'Configure cloud-services redundancy model to DX':
command => "sm-configure service_group yes controller cloud-services 'N + M' 1 1 \"\" directory-services",
command => "sm-configure service_group yes controller cloud-services 'N + M' 1 1 \"controller-aggregate\" directory-services",
}
exec { 'Configure vim-services redundancy model to DX':
command => "sm-configure service_group yes controller vim-services 'N + M' 1 1 \"\" directory-services",
command => "sm-configure service_group yes controller vim-services 'N + M' 1 1 \"controller-aggregate\" directory-services",
}
exec { 'Configure patching-services redundancy model to DX':
@ -664,7 +664,7 @@ class platform::sm
if $::platform::params::distributed_cloud_role == 'subcloud' {
exec { 'Configure distributed-cloud-services redundancy model to DX':
command => "sm-configure service_group yes controller distributed-cloud-services 'N + M' 1 1 \"\" \"\"",
command => "sm-configure service_group yes controller distributed-cloud-services 'N + M' 1 1 \"controller-aggregate\" \"\"",
}
}
}