Thank you Ivan. This seems to be the solution for it and I have done the 
same but still getting the same error. This is how the file permission in 
my box looks like

drwxrwxrwt. 2 root root 40 Aug 10 05:15 /dev/shm


On Wednesday, August 10, 2016 at 12:24:46 PM UTC+5:30, Ivan Necas wrote:
>
> Hi, 
>
> Seems like issue with permissions, described for example here 
> http://stackoverflow.com/a/2009505/457560 
>
> -- Ivan 
>
> On Wed, Aug 10, 2016 at 7:39 AM, Punyasloka Parida 
> <paridapu...@gmail.com <javascript:>> wrote: 
> > Hello All, 
> > 
> > I have integrated Ansible Plugin with foreman and it's working fine. 
> > Whenever i run a playbook, I could see reports getting generated in 
> foreman. 
> > However, when I create roles under /etc/ansible/roles and enable the 
> same 
> > for the particular host - i get the message that the roles are being run 
> in 
> > the background but when i check /var/log/foreman/production.log, i 
> recieve 
> > the following error : 
> > 
> > Traceback (most recent call last): 
> >   File "/usr/bin/ansible-playbook", line 42, in <module> 
> >     debug_lock = Lock() 
> >   File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 176, in 
> Lock 
> >     return Lock() 
> >   File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 147, 
> in 
> > __init__ 
> >     SemLock.__init__(self, SEMAPHORE, 1, 1) 
> >   File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 75, 
> in 
> > __init__ 
> >     sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue) 
> > OSError: [Errno 38] Function not implemented 
> > 
> > Thanks, 
> > Punyasloka Parida 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Foreman users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to foreman-user...@googlegroups.com <javascript:>. 
> > To post to this group, send email to forema...@googlegroups.com 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/foreman-users. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to