Repository synch failling with "mkdir failed: No such file or directory"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Markus Zoeller (markus_z) |
Bug Description
The sync repo task fails with
rsync: mkdir \"/var/
This bug has been introduced with patch [1]. It intended to fix the locations to which the distribution+arch repo masters synced its packages. This works fine as long as the first host in the repo_masters group is equal to repo_all[0]. In this case, the venv directory gets created on repo_all[0] and follow up repo containers can synchronize to it.
But if this is not the case (e.g. repo_all[0] is on x86 and an s390x repo hosts exists as well, the first container in the repo_masters group wil be the s390x node (due to alphabetical order I guess). In this case we fail.
The solution is to either
#1 pre-create the directories before executing the rsync or
#2 to let rsync create the directory structure - this can be achieved with the --relative option
If we pick #2 - it might make sense to undo the fix [1] and commit an repoen [2] again
[1] https:/
[2] https:/
description: | updated |
Changed in openstack-ansible: | |
assignee: | Andreas Scheuring (andreas-scheuring) → Markus Zoeller (markus_z) (mzoeller) |
tags: | added: ocata-backport-potential |
Fix proposed to branch: master /review. openstack. org/489187
Review: https:/