Ceph - filestore-to-bluestore.yml playbook fails on TASK [get osd metadata]
Issue
- Converting the OSDs from filestore to bluestore via the filestore-to-bluestore.yml playbook as outlined in RHCS 4.x Administration Guide, results in the following error on the following task:
TASK [get osd metadata] ***********************************************************************************
Wednesday 04 August 2021 12:14:56 -0400 (0:00:00.057) 0:00:04.256 ******
failed: [10.74.178.224 -> 10.74.181.196] (item=None) => changed=false
ansible_loop_var: item
cmd:
- ceph
- --cluster
- ceph
- osd
- metadata
- osd.
- -f
- json
delta: '0:00:00.598860'
end: '2021-08-04 12:14:56.864387'
item: null
msg: non-zero return code
rc: 22
start: '2021-08-04 12:14:56.265527'
stderr: |-
osd. not valid: osd id not integer
Invalid command: unused arguments: [u'osd.']
osd metadata {<osdname (id|osd.id)>} : fetch metadata for osd {id} (default all)
Error EINVAL: invalid command
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
Environment
- Red Hat Ceph Storage 4.x
- ceph-ansible using the filestore-to-bluestore.yml playbook
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.