OpenShift 4 recovery etcd-snapshot-restore.sh fails due to "Error: snapshot restore requires exactly one argument"

Solution In Progress - Updated -

Issue

  • Following the disaster recovery steps for a lost master are failing with the following:
[core@etcd-1 ~]$ export INITIAL_CLUSTER="etcd-0.example.com=https://etcd-0.example.com:2380,etcd-1.example.com=https://etcd-1.example.com:2380,etcd-2.example.com=https://etcd-2.example.com:2380"
[core@etcd-1 ~]$ sudo /usr/local/bin/etcd-snapshot-restore.sh /home/core/assets/backup/snapshot.db $INITIAL_CLUSTER
...
Removing etcd data-dir /var/lib/etcd
Restoring etcd member etcd-1.example.com
etcd-1.example.com from snapshot..
Error: snapshot restore requires exactly one argument

Environment

  • Red Hat OpenShift Container Platform
    • 4.2
    • 4.3

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