etcd data migration failed - "stderr": "error: --lease-duration must be at least one second"

Solution In Progress - Updated -

Issue

  • Running /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-etcd/migrate.yml failed to finish playbook.
  failed: [xxx.example.com] (item={u'keys': u'/openshift.io/leases/controllers', u'ttl': u'0s'}) => {"changed": true, "cmd": ["oadm", "migrate", "etcd-ttl", "--cert", "/etc/origin/master/mast$
  r.etcd-client.crt", "--key", "/etc/origin/master/master.etcd-client.key", "--cacert", "/etc/origin/master/master.etcd-ca.crt", "--etcd-address", "https://<etcdip>:2379", "--ttl-keys-prefix", "<built-in$
  , "method", "keys", "of", "dict", "object", "at", "0x7faff2b984b0>", "--lease-duration", "0s"], "delta": "0:00:00.230322", "end": "2018-08-26 14:43:21.794366", "item": {"keys": "/openshift.io/leases/control$
  ers", "ttl": "0s"}, "msg": "non-zero return code", "rc": 1, "start": "2018-08-26 14:43:21.564044", "stderr": "error: --lease-duration must be at least one second", "stderr_lines": ["error: --lease-duration $
  ust be at least one second"], "stdout": "", "stdout_lines": []}

Environment

  • OpenShift Container Platform
    • 3.x (migration etcdv2 to etcdv3)

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