Unable to start redis-bundle on one of the controller node

Solution Verified - Updated -

Issue

  • In pcs status redis-bundle is showing in stopped state.

    * redis-bundle-0(ocf::heartbeat:redis):Master controller-0
    * redis-bundle-1(ocf::heartbeat:redis):Stopped controller-1
    * redis-bundle-2(ocf::heartbeat:redis):Slave controller-2
    
    [root@controller-1 ~]# pcs resource debug-start redis --full
    (unpack_rsc_op_failure) warning: Unexpected result (error) was recorded for start of redis:1 on redis-bundle-1 at Sep 28 09:39:07 2023 | rc=1 id=redis_last_failure_0
    (action_synced_wait) warning: redis_start_0:898791 - timed out after 200000ms
    Operation start for redis (ocf:heartbeat:redis) failed: 'Timed Out' (2)
    >  stdout: /run/redis not reset as customized by admin to system_u:object_r:container_file_t:s0
    >  stderr: + 09:45:36: ha_debug:293: echo 'redis(redis)[898791]:Sep' 28 09:45:36 'DEBUG: start: Waiting for pid file '\''/var/run/redis/redis-server.pid'\'' to appear'
    >  stderr: + 09:48:35: ha_debug:293: echo 'redis(redis)[898791]:Sep' 28 09:48:35 'DEBUG: start: Waiting for pid file '\''/var/run/redis/redis-server.pid'\'' to appear'
    >  stderr: + 09:48:35: ha_debug:296: '[' -z '' -a -z /dev/null ']'
    

Environment

  • RHOSP 16.x
  • Red Hat Enterprise 8.x

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