syntax error: EEXISTS should be EEXIST

Bug #1631996 reported by Serge Hallyn on 2016-10-10
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ansible (Ubuntu)
Medium
Unassigned
Xenial
Undecided
Unassigned

Bug Description

https://github.com/ansible/ansible-modules-core/issues/2585

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

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/PerformingSRUVerification . Thank you in advance!

Changed in ansible (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
Serge Hallyn (serge-hallyn) wrote :

Verified, thanks.

tags: added: verification-done
removed: verification-needed

The verification of the Stable Release Update for ansible has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ansible - 2.0.0.2-2ubuntu1

---------------
ansible (2.0.0.2-2ubuntu1) xenial; urgency=medium

  * Fix EEXISTS (should be EEXIST) (LP: #1631996)

 -- Serge Hallyn <email address hidden> Mon, 10 Oct 2016 12:59:42 -0500

Changed in ansible (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers