Error at task "generate ceph-ansible group vars mgrs" when deploy ceph with ceph-ansible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
New
|
Undecided
|
Unassigned |
Bug Description
Deploy ceph with ceph-ansible fails at the task "generate ceph-ansible group vars mgrs" with the error "Destination directory /home/stack/
#######
Reproduce the error:
- Deployed the environment with tripleo-quickstart
- Modified the config/
Memory: undercloud + controller: 16384, compute + ceph: 8192
CPU: undercloud 8, controller: 4, default: 2
- Deploying using the container register quay.io
On the undercloud:
- Install ceph-ansible
- deploy the overcloud ceph-ansible/
#### * Deploy the overcloud!
## ::
openstack overcloud deploy --stack overcloud --override-
--templates /usr/share/
--libvirt-type qemu --timeout 90 -e /home/stack/
"$@" && status_code=0 || status_code=$?
###### ansible.log
2021-05-25 16:43:03,759 p=852799 u=stack n=ansible | PLAY [External deployment step 1] *******
2021-05-25 16:43:03,772 p=852799 u=stack n=ansible | 2021-05-25 16:43:03.771556 | 00abc5a4-
2021-05-25 16:43:03,792 p=852799 u=stack n=ansible | 2021-05-25 16:43:03.791719 | 00abc5a4-
"changed": false,
"msg": "Use --start-at-task 'External deployment step 1' to resume from this task"
}
2021-05-25 16:43:03,926 p=852799 u=stack n=ansible | 2021-05-25 16:43:03.925354 | c72f754e-
2021-05-25 16:43:03,937 p=852799 u=stack n=ansible | 2021-05-25 16:43:03.937236 | 00abc5a4-
2021-05-25 16:43:03,969 p=852799 u=stack n=ansible | 2021-05-25 16:43:03.968794 | 00abc5a4-
2021-05-25 16:43:03,976 p=852799 u=stack n=ansible | 2021-05-25 16:43:03.975790 | 00abc5a4-
2021-05-25 16:43:04,449 p=852799 u=stack n=ansible | 2021-05-25 16:43:04.448416 | 00abc5a4-
2021-05-25 16:43:04,457 p=852799 u=stack n=ansible | PLAY RECAP *******
2021-05-25 16:43:04,457 p=852799 u=stack n=ansible | localhost : ok=1 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
2021-05-25 16:43:04,458 p=852799 u=stack n=ansible | overcloud-
2021-05-25 16:43:04,458 p=852799 u=stack n=ansible | overcloud-
2021-05-25 16:43:04,459 p=852799 u=stack n=ansible | overcloud-
2021-05-25 16:43:04,459 p=852799 u=stack n=ansible | overcloud-
2021-05-25 16:43:04,460 p=852799 u=stack n=ansible | overcloud-
2021-05-25 16:43:04,460 p=852799 u=stack n=ansible | overcloud-
2021-05-25 16:43:04,461 p=852799 u=stack n=ansible | overcloud-
2021-05-25 16:43:04,461 p=852799 u=stack n=ansible | overcloud-
2021-05-25 16:43:04,462 p=852799 u=stack n=ansible | undercloud : ok=20 changed=8 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
2021-05-25 16:43:04,467 p=852799 u=stack n=ansible | 2021-05-25 16:43:04.467518 | ~~~~~~~
######
the ceph-ansible directory does not exist on the config-
(undercloud) [stack@undercloud overcloud]$ pwd
/home/stack/
(undercloud) [stack@undercloud overcloud]$ ls -lhrt | grep -i ceph
drwx------. 2 stack stack 4.0K May 25 16:38 CephStorage
(undercloud) [stack@undercloud overcloud]$ cd /home/stack/
(undercloud) [stack@undercloud overcloud]$ ls -lhrt | grep -i ceph
drwx------. 2 stack stack 4.0K May 25 16:38 CephStorage
#####
(undercloud) [stack@undercloud ~]$ cat /etc/yum.
[quickstart-
name=quickstart
baseurl=http://
gpgcheck=0
enabled=1
#####
This bug sounds like pretty similar to [1], which is supposed to be fixed by [2].
If you inspect at [3], during step1 variables are dumped before the directory is created, and this is the root cause of the issue here.
[1] https:/ /bugs.launchpad .net/tripleo/ +bug/1925373 /review. opendev. org/c/openstack /heat/+ /787662 ix.io/3nTW
[2] https:/
[3] http://