Skip to content

ansible installs but fails to run #115

Closed

Description

Ansible 1.9 and up install but on execution results in the following output:

root@localhost:~# ansible
Traceback (most recent call last):
File "/usr/bin/ansible", line 40, in
from ansible.utils.display import Display
File "/usr/lib/pymodules/python2.7/ansible/utils/display.py", line 49, in
debug_lock = Lock()
File "/usr/lib/python2.7/multiprocessing/init.py", line 176, in Lock
return Lock()
File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 147, in init
SemLock.init(self, SEMAPHORE, 1, 1)
File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in init sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 38] Function not implemented

Activity

  1. patryk9200 commented on Apr 12, 2016

    @patryk9200

    Same problem as here: #16

  2. stehufntdev commented on Apr 14, 2016

    @stehufntdev

    Thanks for reporting the issue. We recently added tmpfs mounts for run (e.g. /run, /run/lock, /run/user, and /run/shm) with permissions that match native Ubuntu. This change should be out for insiders soon.

    Locally I was able to confirm the issue above and that it was resolved after the fix.

  3. robotmaxtron commented on May 19, 2016

    @robotmaxtron

    I'm running build 14342.rs1_release.160506-1708 and can confirm that Ansible 2.0.2.0 has been able to install and seems to be working as expected from the Ansible PPA.

  4. sunilmut commented on May 19, 2016

    @sunilmut
    Member

    Max Whittingham (@robotmaxtron) - Thanks for validating this. Marking it fixed as per the comment above.

  5. danhuss commented on May 19, 2016

    @danhuss

    I'm in the same boat as Max Whittingham (@robotmaxtron). Ansible 2.2.0 from source looks like it's working as I'd expect.

  6. benhillis commented on May 28, 2016

    @benhillis
    Member

    Closing this out as this issue is now fixed, please reopen if you continue to have issues with Ansible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions