[ansible-project] Error after deployment: -su: /dev/null: Permission denied

2014-02-03 Thread Dan CaJacob
I recently got some errors on the end nodes I was deploying to.  Error 
is: -su: /dev/null: Permission denied, which in general seems to be 
recoverable after a reboot.  It looks like the /dev/null file is just 
deleted somehow.  Has anyone else seen this?  Very weird.

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [ansible-project] Error after deployment: -su: /dev/null: Permission denied

2014-02-03 Thread Dan CaJacob
On Mon, Feb 3, 2014 at 5:56 PM, Michael DeHaan mich...@ansible.com wrote:

 Can you please share the relevant command lines and playbook snippets that
 got you there?


It's a pretty big role-based system.  Can I share it with you privately?

(Also can we see the output in the context of the run?)


I don't think I have it, unfortunately.  It happened several times, but not
always.  Never had this problem before with the same system.  I kind of
wonder if it correlates with me CTRL-C exiting the ansible-playbook run...



 Ansible version?


Not sure exactly.  I have recently upgraded to 1.4.4 via pip.  But I was
running maybe 1.2.3 before that (like a day ago).  Unfortunately I am not
sure if I got the problem on one or the other or both.

I can try deploying to a local node tonight to see if I can recreate the
problem.



 I see su, so I'm not sure if you are using the new 1.5 su keyword or are
 running su instead the playbook, etc.


I don't think I use su anywhere explicitly (shelled out), but my roles do
sometimes change user.



 Thanks!


 On Mon, Feb 3, 2014 at 5:55 PM, Dan CaJacob dan.caja...@gmail.com wrote:

 I recently got some errors on the end nodes I was deploying to.  Error
 is: -su: /dev/null: Permission denied, which in general seems to be
 recoverable after a reboot.  It looks like the /dev/null file is just
 deleted somehow.  Has anyone else seen this?  Very weird.

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.

 To post to this group, send email to ansible-project@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to a topic in the
 Google Groups Ansible Project group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/ansible-project/GGDeujQ6QMs/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [ansible-project] Error after deployment: -su: /dev/null: Permission denied

2014-02-03 Thread Dan CaJacob
This turned out to be a script error, where I was rm'ing a file that
occassionally is /dev/null  Ansible was in no way responsible.  Sorry for
the false alarm and thanks for the awesome software!

Very Respectfully,

Dan CaJacob


On Mon, Feb 3, 2014 at 6:08 PM, Dan CaJacob dan.caja...@gmail.com wrote:


 On Mon, Feb 3, 2014 at 5:56 PM, Michael DeHaan mich...@ansible.comwrote:

 Can you please share the relevant command lines and playbook snippets
 that got you there?


 It's a pretty big role-based system.  Can I share it with you privately?

 (Also can we see the output in the context of the run?)


 I don't think I have it, unfortunately.  It happened several times, but
 not always.  Never had this problem before with the same system.  I kind of
 wonder if it correlates with me CTRL-C exiting the ansible-playbook run...



 Ansible version?


 Not sure exactly.  I have recently upgraded to 1.4.4 via pip.  But I was
 running maybe 1.2.3 before that (like a day ago).  Unfortunately I am not
 sure if I got the problem on one or the other or both.

 I can try deploying to a local node tonight to see if I can recreate the
 problem.



 I see su, so I'm not sure if you are using the new 1.5 su keyword or are
 running su instead the playbook, etc.


 I don't think I use su anywhere explicitly (shelled out), but my roles do
 sometimes change user.



 Thanks!


 On Mon, Feb 3, 2014 at 5:55 PM, Dan CaJacob dan.caja...@gmail.comwrote:

 I recently got some errors on the end nodes I was deploying to.  Error
 is: -su: /dev/null: Permission denied, which in general seems to be
 recoverable after a reboot.  It looks like the /dev/null file is just
 deleted somehow.  Has anyone else seen this?  Very weird.

 --
 You received this message because you are subscribed to the Google
 Groups Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to ansible-project+unsubscr...@googlegroups.com.

 To post to this group, send email to ansible-project@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to a topic in the
 Google Groups Ansible Project group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/ansible-project/GGDeujQ6QMs/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.