# error: shade is required for this module

**URL:** <https://forum.ansible.com/t/error-shade-is-required-for-this-module/22034>\
**Category:** Ansible Project\
**Created:** [July 16, 2016, 5:09pm UTC](https://forum.ansible.com/t/error-shade-is-required-for-this-module/22034 "2016-07-16T17:09:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maurizio\_Santovito](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@Maurizio\_Santovito](https://forum.ansible.com/u/Maurizio_Santovito)\
**Post date:** [July 16, 2016, 5:09pm UTC](https://forum.ansible.com/t/error-shade-is-required-for-this-module/22034/1 "2016-07-16T17:09:52Z")

</div>

Hello,  
we have an openstack setup with one controller, a neutron machine and a couple of compute nodes.  
I have first installed ansible on the controller but somehow the installation failed.  
The command  
ansible localhost -m os\_project\_facts -a “cloud=santos”  
reported  
“shade is required for this module.”  
And moreover the command “import shade” in the python shell reported errors.

Then we moved the ansible installation to a different machine. Installation was fine and also python shell reported no error after “import shade” command.  
but the command:  
ansible -m os\_project\_facts -a “cloud=santos”  
still reports  
“shade is required for this module.”

Do I need to install ansible on the controller machine as well, even if I want to run ansible from a different machine?

Thanks a lot for your help  
Maurizio

---

<div class="post-metadata">

**Author:** ![kamil.szczygiel](https://avatars.discourse-cdn.com/v4/letter/k/9fc29f/32.png) [@kamil.szczygiel](https://forum.ansible.com/u/kamil.szczygiel)\
**Post date:** [July 18, 2016, 1:19pm UTC](https://forum.ansible.com/t/error-shade-is-required-for-this-module/22034/2 "2016-07-18T13:19:33Z")

</div>

Hi Maurizio,

Did you install shade? You can do that using „pip install shade” command.

Kind regards,

Kamil Szczygieł

---

<div class="post-metadata">

**Author:** ![Maurizio\_Santovito](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@Maurizio\_Santovito](https://forum.ansible.com/u/Maurizio_Santovito)\
**Post date:** [July 20, 2016, 3:20pm UTC](https://forum.ansible.com/t/error-shade-is-required-for-this-module/22034/3 "2016-07-20T15:20:58Z")

</div>

Hi Kamil,  
thanks for your reply. I’ve installed shade on the deployment machine, but not on the target (the controller).  
Now the message is over, as I’ve installed shade on the target.  
So assumption on ansible installation is:

- Install ansible on deployment machine
- Install python+shade on target machine

I was instead assuming that no installation was needed but on the deployment machine.  
I thought ansible gets connected to the target machine using REST APIs, but it turned out I was mistaken.

Can you confirm my assumptions?

Best Regards  
Maurizio
