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.

(cherry picked from commit e02fed5)
  • Loading branch information
mhashizume authored and github-actions[bot] committed Oct 28, 2024
1 parent ded3c99 commit b3befb9
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 b3befb9

Please sign in to comment.