How to reconstruct etcd data in an already existing node on OpenShift?

Solution Unverified - Updated -

Issue

  • The etcd pod in project kube-system is in CrashLoopBackOff status. Logs shows corruption after a server crash:

    raft: tocommit(226811495) is out of range [lastIndex(226811263)]. Was the raft log corrupted, truncated, or lost?
    panic: tocommit(226811495) is out of range [lastIndex(226811263)]. Was the raft log corrupted, truncated, or lost?
    
  • Need to recreate an etcd member using the same node instead of creating another server;

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 3.11
    • 3.10

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