Serialize updates to global_filter in the AIO manifest
Right now, looking at the aio manifest: https://review.opendev.org/c/starlingx/stx-puppet/+/780600/15/puppet-manifests/src/manifests/aio.pp there are 3 classes that update in parallel the lvm global_filter: - include ::platform::lvm::controller - include ::platform::worker::storage - include ::platform::lvm::compute And this generates some errors. We fix this by adding dependencies between the above classes in order to update the global_filter in a serial mode. Closes-Bug: 1927762 Signed-off-by: Mihnea Saracin <Mihnea.Saracin@windriver.com> Change-Id: If6971e520454cdef41138b2f29998c036d8307ff
This commit is contained in:
parent
2c76a2f0fe
commit
eec3008f60
|
@ -18,7 +18,7 @@ include ::platform::filesystem::controller
|
|||
include ::platform::firewall::calico::oam
|
||||
include ::platform::dhclient
|
||||
include ::platform::partitions
|
||||
include ::platform::lvm::controller
|
||||
include ::platform::lvm::aio
|
||||
include ::platform::network
|
||||
include ::platform::drbd
|
||||
include ::platform::exports
|
||||
|
@ -108,7 +108,6 @@ include ::platform::pciirqaffinity
|
|||
include ::platform::docker::login
|
||||
include ::platform::kubernetes::aio
|
||||
|
||||
include ::platform::lvm::compute
|
||||
|
||||
class { '::platform::config::aio::post':
|
||||
stage => post,
|
||||
|
|
|
@ -140,6 +140,20 @@ class platform::lvm::compute::runtime {
|
|||
include ::platform::lvm::compute
|
||||
}
|
||||
|
||||
###############
|
||||
# AIO
|
||||
###############
|
||||
|
||||
class platform::lvm::aio
|
||||
inherits ::platform::lvm::params {
|
||||
include ::platform::lvm::controller
|
||||
include ::platform::lvm::compute
|
||||
Class['::platform::lvm::controller']
|
||||
-> Class['::platform::lvm::compute']
|
||||
-> Class['::platform::worker::storage']
|
||||
}
|
||||
|
||||
|
||||
###############
|
||||
# Storage Hosts
|
||||
###############
|
||||
|
|
Loading…
Reference in New Issue