Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

CORTX-33899 : Delayed Motr service start makes cortx-rgw container restart #2115

Merged
merged 4 commits into from
Sep 8, 2022

Commits on Sep 1, 2022

  1. CORTX-33899 : Delayed Motr service starts makes cortx-rgw container

    failing on startup
    
    Issue: During startup, if data PODs are delayed, then server PODs are
    retarting with error "Couldn't init storage provider"
    
    Root Cause: During startup, radosgw calling m0_clinet_init() api to
    initialze motr client. This api initializes different components in
    order, one of which is IL_IDX_SERVICE. Initialization of this service is
    failng with -EIO OR -EPROTO, as data PODs are not yet up.
    
    Solution: During startup, if PODs are started in out of order, then
    server POD should not crash. Added a retry mechanism in initialization
    of IL_IDX_SERVICE.
    
    Signed-off-by: Naga Kishore Kommuri <nagakishore.kommuri@seagate.com>
    Naga Kishore Kommuri committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    7ac4529 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2022

  1. CORTX-33899 : Made retry_count static, instead of global. Used M0_IN

    macro, instead of manual comparision.
    
    Signed-off-by: Naga Kishore Kommuri <nagakishore.kommuri@seagate.com>
    Naga Kishore Kommuri committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    da08523 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. Merge branch 'main' of https://www.github.com/nkommuri/cortx-motr int…

    …o cortx-33899
    Naga Kishore Kommuri committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    0836323 View commit details
    Browse the repository at this point in the history
  2. CORTX-33899 : Introduced sleep between retries in exponential backoff

    manner to retry for atmost 4min
    
    Signed-off-by: Naga Kishore Kommuri <nagakishore.kommuri@seagate.com>
    Naga Kishore Kommuri committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    c91085f View commit details
    Browse the repository at this point in the history