Skip to content

Commit 3068b8f

Browse files
authored
Merge pull request #9509 from mhashizume/maint/main/rhel8-sssd
Add workaround for test on Red Hat 8 POWER
2 parents b2b381b + e02fed5 commit 3068b8f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

acceptance/tests/resource/user/should_create_modify_with_password.rb

+7
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@
4141
end
4242

4343
step 'modify the user with a different password' do
44+
# There is a known issue with SSSD and Red Hat 8, this is a temporary workaround until a permanent fix is
45+
# implemented in our images. See ITHELP-100250
46+
# https://access.redhat.com/solutions/7031304
47+
if agent['platform'] = 'el-8-ppc64le'
48+
on(agent, 'systemctl stop sssd; rm -f /var/lib/sss/db/*; systemctl start sssd', acceptable_exit_codes: 0)
49+
end
50+
4451
apply_manifest_on(agent, <<-MANIFEST, catch_failures: true)
4552
user { '#{name}':
4653
ensure => present,

0 commit comments

Comments
 (0)