cephadm-adopt.yml playbook fails with multiple range of public_networks
Issue
-
cephadm-adopt.ymlplaybook fails with multiple range ofpublic_networks. -
cephadm-adopt.ymlplaybook fails at below task :
2023-08-09 12:53:21,971 p=3194765 u=admin n=ansible | TASK [manage nodes with cephadm - ipv4] ****************************************************************************************************************************************************
2023-08-09 12:53:21,971 p=3194765 u=admin n=ansible | Wednesday 09 August 2023 12:53:21 +0000 (0:00:01.213) 0:02:28.115 ******
2023-08-09 12:53:22,041 p=3194765 u=admin n=ansible | skipping: [node1] => changed=false
skip_reason: Conditional result was False
[...]
2023-08-09 12:53:22,458 p=3194765 u=admin n=ansible | skipping: [node012] => changed=false
skip_reason: Conditional result was False
2023-08-09 12:53:22,476 p=3194765 u=admin n=ansible | TASK [manage nodes with cephadm - ipv6] ****************************************************************************************************************************************************
2023-08-09 12:53:22,477 p=3194765 u=admin n=ansible | Wednesday 09 August 2023 12:53:22 +0000 (0:00:00.505) 0:02:28.621 ******
2023-08-09 12:53:22,536 p=3194765 u=admin n=ansible | skipping: [node1] => changed=false
[...]
2023-08-09 12:53:22,927 p=3194765 u=admin n=ansible | skipping: [node012] => changed=false
skip_reason: Conditional result was False
2023-08-09 12:53:22,951 p=3194765 u=admin n=ansible | TASK [add ceph label for core component] ***************************************************************************************************************************************************
2023-08-09 12:53:22,952 p=3194765 u=admin n=ansible | Wednesday 09 August 2023 12:53:22 +0000 (0:00:00.474) 0:02:29.096 ******
2023-08-09 12:53:24,591 p=3194765 u=admin n=ansible | fatal: [node004 -> node1]: FAILED! => changed=false
cmd:
- podman
- run
- --rm
- --net=host
- -v
- /etc/ceph:/etc/ceph:z
- -v
- /var/lib/ceph:/var/lib/ceph:ro
- -v
- /var/run/ceph:/var/run/ceph:z
- --entrypoint=ceph
- registry.redhat.io/rhceph/rhceph-5-rhel8:latest
- --cluster
- ceph
- orch
- host
- label
- add
- node004
- ceph
delta: '0:00:01.176446'
end: '2023-08-09 12:53:24.523947'
msg: non-zero return code
rc: 22
start: '2023-08-09 12:53:23.347501'
stderr: 'Error EINVAL: host node004 does not exist'
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
```
Environment
- Red Hat Ceph Storage 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.