Skip to content

Commit

Permalink
Add workaround for test on Red Hat 8 POWER
Browse files Browse the repository at this point in the history
Due to an issue with SSSD, this commit adds a workaround for the test to
modify a user's password on Red Hat 8 POWER machines (ppc64le). We have
submitted an ITHELP ticket (ITHELP-100250) for a more permanent fix.
  • Loading branch information
mhashizume committed Oct 25, 2024
1 parent b2b381b commit e02fed5
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
end

step 'modify the user with a different password' do
# There is a known issue with SSSD and Red Hat 8, this is a temporary workaround until a permanent fix is
# implemented in our images. See ITHELP-100250
# https://access.redhat.com/solutions/7031304
if agent['platform'] = 'el-8-ppc64le'
on(agent, 'systemctl stop sssd; rm -f /var/lib/sss/db/*; systemctl start sssd', acceptable_exit_codes: 0)
end

apply_manifest_on(agent, <<-MANIFEST, catch_failures: true)
user { '#{name}':
ensure => present,
Expand Down

0 comments on commit e02fed5

Please sign in to comment.