Avoid restarting dbus service
Restarting the dbus service is not necessary and is now triggering a bug[1] in systemd-logind in CentOS Stream 9. [1] https://issues.redhat.com/browse/RHEL-21004 Conflicts: manifests/compute/libvirt/services.pp Change-Id: Iae47044d7a58ba6316ff5f4b5ffdc01b03eddeba (cherry picked from commit8d88b7bf4f
) (cherry picked from commit63030d6837
) (cherry picked from commitfb4e7883f8
)
This commit is contained in:
@@ -115,11 +115,14 @@ class nova::compute::libvirt::services (
|
|||||||
|
|
||||||
# messagebus
|
# messagebus
|
||||||
if($::osfamily == 'RedHat') {
|
if($::osfamily == 'RedHat') {
|
||||||
|
# NOTE(tkajinam): Do not use libvirt-service tag to avoid unnecessary
|
||||||
|
# restart.
|
||||||
service { 'messagebus':
|
service { 'messagebus':
|
||||||
ensure => running,
|
ensure => running,
|
||||||
enable => true,
|
enable => true,
|
||||||
name => $::nova::params::messagebus_service_name,
|
name => $::nova::params::messagebus_service_name,
|
||||||
tag => 'libvirt-service',
|
require => Anchor['nova::service::begin'],
|
||||||
|
before => Anchor['nova::service::end'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user