[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2017-07-18 Thread jordi . roig
Thanks Richard that helped a lot!! On Monday, September 26, 2016 at 6:40:35 PM UTC+2, Richard Eggert wrote: > > Same issue here, but I did some experimenting to see what the problem is. > I found that running the following command: > python -c "import shade" > provided a lot of useful information

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2016-12-04 Thread unixfox Emilien
Try installing ansible using pip because I don't know why the python environment of the ansible package provided by my distro (ArchLinux) isn't the same as the shade module (installed using pip). Le mercredi 29 juillet 2015 21:26:48 UTC+2, Chris Gordon a écrit : > > I'm trying to use the os_serv

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2016-09-26 Thread Richard Eggert
In my case, the file permissions were wrong on some of the package directories that pip had created in site-packages, and one undeclared transitive dependency (importlib) was missing. On Monday, September 26, 2016 at 12:40:35 PM UTC-4, Richard Eggert wrote: > > Same issue here, but I did some e

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2016-09-26 Thread Richard Eggert
Same issue here, but I did some experimenting to see what the problem is. I found that running the following command: python -c "import shade" provided a lot of useful information about why it wasn't loading the shade library. ~Rich On Friday, September 23, 2016 at 11:24:41 PM UTC-4, Amit Cha

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2016-09-23 Thread Amit Chaudhary
On Wednesday, July 29, 2015 at 3:26:48 PM UTC-4, Chris Gordon wrote: > > I'm trying to use the os_server module in Ansible 2.0 and get the > following error: > > fatal: [jump]: FAILED! => {"changed": false, "failed": true, "msg": "shade > is required for this module"} > > Here's what I have: >

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2016-09-23 Thread Amit Chaudhary
I am having the same issue, where it gives error regarding shade. I have tried running in virtalenv also but no luck. On Thursday, August 13, 2015 at 3:26:32 PM UTC-4, David Shrewsbury wrote: > > The problem is your environment. I use Python from Homebrew, but I don't > use a virtualenv b/c it's

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2016-07-28 Thread navdeep uniyal
Could you resolve the issue? If yes, please share the solution here. I am not using virtualenv, still getting the same issue. Thank you On Thursday, July 21, 2016 at 10:24:50 PM UTC+2, zer...@issany.net wrote: > > Hi, forgive me for my bad english. > > I have exactly the same problem with ansib

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2016-07-28 Thread navdeep uniyal
Could you resolve the issue? If yes, please share the solution here. I am not using virtualenv, still getting the same issue. Thank you On Thursday, July 21, 2016 at 10:24:50 PM UTC+2, zer...@issany.net wrote: > > Hi, forgive me for my bad english. > > I have exactly the same problem with ansib

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2016-07-21 Thread zerros
Hi, forgive me for my bad english. I have exactly the same problem with ansible 2.2 and python 2.7. All packages are installed in system, no venv but ansible continue with fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "shade is required for this module"} I know this p

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2015-08-14 Thread Guido García
Thanks James. Now it works like a charm. El viernes, 14 de agosto de 2015, 19:12:16 (UTC+2), James Martin escribió: > > If you've installed shade into a virtualenv on your ansible control > machine, you may need to tell ansible to use that virtualenv in order to > detect it. I've done it like s

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2015-08-14 Thread James Martin
If you've installed shade into a virtualenv on your ansible control machine, you may need to tell ansible to use that virtualenv in order to detect it. I've done it like so in my hosts file for other modules (like boto): localhost ansible_python_interpreter="/usr/bin/env python" - James On W

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2015-08-13 Thread Aaron Trout
Exact same setup, same problem. I opened an issue on Github but it got shot down :-) Maybe if this is an actual problem it can get re-opened: https://github.com/ansible/ansible-modules-core/issues/1910 Aaron On Wednesday, 29 July 2015 20:26:48 UTC+1, Chris Gordon wrote: > > I'm trying to use t

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2015-08-13 Thread David Shrewsbury
The problem is your environment. I use Python from Homebrew, but I don't use a virtualenv b/c it's hard to make ansible play nicely with that. When ansible connects to the host, 'jump' for you, it's going to automatically use the system python. You can set a different interpreter by adding this t

[ansible-project] Re: Ansible 2.0 -- "shade is required for this module"

2015-08-11 Thread Guido García
Hi Chris. Same here. Did you manage to fix this issue? Thanks. El miércoles, 29 de julio de 2015, 21:26:48 (UTC+2), Chris Gordon escribió: > > I'm trying to use the os_server module in Ansible 2.0 and get the > following error: > > fatal: [jump]: FAILED! => {"changed": false, "failed": true, "msg