Red Hat Satellite upgrade from version 6.7 to version 6.8 fails with the error - 'Could not find user redis'

Solution Verified - Updated -

Issue

  • Red Hat Satellite upgradation from version 6.7 to 6.8 fails with the following error:

    [ERROR 2021-07-03T16:04:08 main]  /Stage[main]/Redis::Config/File[/etc/opt/rh/rh-redis5/redis]/owner: change from 'root' to 'redis' failed: Could not find user redis
    [ WARN 2021-07-03T16:04:08 main]  /File[/etc/opt/rh/rh-redis5/redis]/seluser: seluser changed 'unconfined_u' to 'system_u'
    [ INFO 2021-07-03T16:04:08 main]  /Stage[main]/Redis::Config/File[/etc/opt/rh/rh-redis5/redis]: Evaluated in 0.03 seconds
    [ INFO 2021-07-03T16:04:08 main]  /Stage[main]/Redis::Config/File[/var/log/redis]: Starting to evaluate the resource (140 of 2239)
    [ERROR 2021-07-03T16:04:08 main]  Could not find user redis
    [ERROR 2021-07-03T16:04:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/file/owner.rb:21:in `block in insync?'
    .....
    
    [ERROR 2021-07-03T16:04:08 main]  /Stage[main]/Redis::Config/File[/var/log/redis]/owner: change from 'root' to 'redis' failed: Could not find user redis
    [ERROR 2021-07-03T16:04:08 main]  Could not find group redis
    [ERROR 2021-07-03T16:04:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/file/group.rb:26:in `block in insync?'
    [ERROR 2021-07-03T16:04:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/file/group.rb:25:in `map!'
    [ERROR 2021-07-03T16:04:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/file/group.rb:25:in `insync?'
    [ERROR 2021-07-03T16:04:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property.rb:276:in `safe_insync?'
    .....
    
    [ERROR 2021-07-03T16:04:08 main]  /Stage[main]/Redis::Config/File[/var/log/redis]/group: change from 'root' to 'redis' failed: Could not find group redis
    [ WARN 2021-07-03T16:04:08 main]  /File[/var/log/redis]/seluser: seluser changed 'unconfined_u' to 'system_u'
    [ WARN 2021-07-03T16:04:08 main]  /File[/var/log/redis]/seltype: seltype changed 'var_log_t' to 'redis_log_t'
    [ INFO 2021-07-03T16:04:08 main]  /Stage[main]/Redis::Config/File[/var/log/redis]: Evaluated in 0.03 seconds
    [ INFO 2021-07-03T16:04:08 main]  /Stage[main]/Redis::Config/File[/var/opt/rh/rh-redis5/lib/redis]: Starting to evaluate the resource (141 of 2239)
    [ERROR 2021-07-03T16:04:08 main]  Could not find user redis
    

Environment

  • Red Hat Satellite 6.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content