syntax error: EEXISTS should be EEXIST
Bug #1631996 reported by
Serge Hallyn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ansible (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
https:/
This is fixed in yakkety but broken in xenial. The single-line fix should be SRU'd.
Impact: when the file module fails, ansible fails trying to report the erorr message.
Test case:
ansible 127.0.0.1 -m file -a "path=/mp/xx state=directory mode=0755"
This should show permission denied, but instead fails saying "There was an issue creating /mp as requested: 'module' object has no attribute 'EEXISTS'"
Changed in ansible (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → High |
description: | updated |
Changed in ansible (Ubuntu): | |
importance: | High → Medium |
To post a comment you must log in.
Hello Serge, or anyone else affected,
Accepted ansible into xenial-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ ansible/ 2.0.0.2- 2ubuntu1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!