run-playbook errors in ceph-ansible.py
The following text in ceph_ansible looks wrong:
run.Raw(';'), 'pip', 'install', 'setuptools>=11.3', run.Raw(ansible_ver), run.Raw(';'),
It ends up redirecting output to a file named =11.3
#3 Updated by Warren Usui over 2 years ago
It looks like there are two more problems here.
One is that an ansisble command 'ansible -vv ...' is included in this list. It should be broken into 'ansible', '-vv', ...
The second is that this code appears to be hit by: https://bugzilla.redhat.com/show_bug.cgi?id=1354701
Actions described in: https://access.redhat.com/solutions/2943461 seem to fix this problem.
#4 Updated by Warren Usui over 2 years ago
- Subject changed from missing run.Raw() in ceph-ansible.py to run-playbook errors in ceph-ansible.py
These problems probably also exist in run_rh_playbook (the ansible command being one line, and the potential problem with bugzilla 1354701).
I think that this code could be merged with run_playbook with some not super onerous modifications.
#9 Updated by Kyrylo Shatskyy about 1 month ago
Looks like the issue should not be reproducible any further, since I can see a fix for that:
> grep -A 2 -B 2 setuptools teuthology/task/ceph_ansible.py 'pip', 'install', run.Raw('setuptools>=11.3'), run.Raw('notario>=0.0.13'), # FIXME: use requirements.txt run.Raw('netaddr'),