Project

General

Profile

Actions

Bug #22155

open

teuthology expects .vault_pass.txt to exist and be non-empty.

Added by Anonymous over 6 years ago. Updated almost 6 years ago.

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.

Actions #1

Updated by Kefu Chai about 6 years ago

yeah, just confirmed that an empty .vault_pass.txt does not work =)

Actions #2

Updated by Dan Mick almost 6 years ago

https://github.com/ansible/ansible/pull/28186 This is a change in ansible behavior.

Actions #3

Updated by Dan Mick almost 6 years ago

$ git tag --contains e287af1ac8fb614a0dd2f6e8cf7475ef721fbce1
v2.4.0.0-0.1.rc1
.
.
.

Actions

Also available in: Atom PDF