You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrade from version 0.8 to 0.9 I'm not able to gather facts about target XEN virtualized hosts when accessing hosts as non-root user with ssh.
Issue is that setup module for XEN virtualized hosts is accessing file /proc/xen/capabilities which is readable only for root (at least on all my xen hosts) and always fails on permission denied.
$ ansible test -v -m setup
.....
test | FAILED => failed to parse: Traceback (most recent call last):
File "/home/dusko/.ansible/tmp/ansible-1357812349.12-181204905598058/setup", line 1587, in ?
main()
File "/home/dusko/.ansible/tmp/ansible-1357812349.12-181204905598058/setup", line 940, in main
data = run_setup(module)
File "/home/dusko/.ansible/tmp/ansible-1357812349.12-181204905598058/setup", line 887, in run_setup
facts = ansible_facts()
File "/home/dusko/.ansible/tmp/ansible-1357812349.12-181204905598058/setup", line 879, in ansible_facts
facts.update(Virtual().populate())
File "/home/dusko/.ansible/tmp/ansible-1357812349.12-181204905598058/setup", line 708, in populate
self.get_virtual_facts()
File "/home/dusko/.ansible/tmp/ansible-1357812349.12-181204905598058/setup", line 717, in get_virtual_facts
for line in open('/proc/xen/capabilities'):
IOError: [Errno 13] Permission denied: '/proc/xen/capabilities'
The text was updated successfully, but these errors were encountered:
Ansible version: 0.9
Module name: setup
OS: Linux Centos 6.3 x86_64
After upgrade from version 0.8 to 0.9 I'm not able to gather facts about target XEN virtualized hosts when accessing hosts as non-root user with ssh.
Issue is that setup module for XEN virtualized hosts is accessing file
/proc/xen/capabilities
which is readable only for root (at least on all my xen hosts) and always fails on permission denied.I think that issue comes with this commit:
29882f97e6d3384dd943619c732d40eb7d0dd539
Here is an example:
The text was updated successfully, but these errors were encountered: