Actions
Bug #22155
openteuthology expects .vault_pass.txt to exist and be non-empty.
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
Teuthology running with this yaml:
interactive-on-error: true roles: - [mon.a, osd.0, osd.1, osd.2, client.0] tasks: - print: "aaaaaaaaaaaaaaaaaaaaargh"
fails with:
2017-11-17 18:20:12,577.577 INFO:teuthology.task.ansible.out:Using /home/wusui/src/github.com_ceph_ceph-cm-ansible_master/ansible.cfg as config file 2017-11-17 18:20:12,578.578 INFO:teuthology.task.ansible.out: [WARNING]: Error in vault password file loading (default): Invalid vault password was provided from file (/home/wusui/.vault_pass.txt) 2017-11-17 18:20:12,579.579 INFO:teuthology.task.ansible.out:ERROR! Invalid vault password was provided from file (/home/wusui/.vault_pass.txt) 2017-11-17 18:20:12,702.702 ERROR:teuthology.run_tasks:Saw exception from tasks. Traceback (most recent call last): File "/home/wusui/teuthology/teuthology/run_tasks.py", line 89, in run_tasks manager.__enter__()
when ~/.vault_pass.txt does not exist. It ends up creating an empty .vault_pass.txt file but the next time it is run, it still fails in the same way.
It works if you put anything into that .vault_pass.txt file.
Updated by Kefu Chai about 6 years ago
yeah, just confirmed that an empty .vault_pass.txt does not work =)
Updated by Dan Mick almost 6 years ago
https://github.com/ansible/ansible/pull/28186 This is a change in ansible behavior.
Updated by Dan Mick almost 6 years ago
$ git tag --contains e287af1ac8fb614a0dd2f6e8cf7475ef721fbce1
v2.4.0.0-0.1.rc1
.
.
.
Actions