Ceph - ceph-ansible upgrade from RHCS 2 to RHCS 3 is failing with "ceph-create-keys: error: unrecognized arguments: -t 600"
Issue
Upgrade from Red Hat Ceph Storage 2 to Red Hat Ceph Storage 3 the ceph-ansible playbook is failing on following task with error:
TASK [ceph-mon : collect admin and bootstrap keys] ********************************************************************************************************************************************
Saturday 30 November 2019 04:02:48 -0500 (0:00:00.144) 0:21:14.674 ******
fatal: [mons-0]: FAILED! => {"changed": false, "cmd": ["ceph-create-keys", "--cluster", "ceph", "-i", "mons-0", "-t", "30"], "delta": "0:00:00.044749", "end": "2019-11-26 04:07:15.040816", "msg": "non-zero return code", "rc": 2, "start": "2019-11-26 04:07:14.996067", "stderr": "usage: ceph-create-keys [-h] [-v] [--cluster NAME] --id ID\nceph-create-keys: error: unrecognized arguments: -t 30", "stderr_lines": ["usage: ceph-create-keys [-h] [-v] [--cluster NAME] --id ID", "ceph-create-keys: error: unrecognized arguments: -t 30"], "stdout": "", "stdout_lines": []}
Environment
Red Hat Ceph Storage 2
Red Hat Ceph Storage 3
ceph-ansible
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.