error: shade is required for this module

439 views
Skip to first unread message

Maurizio Santovito

unread,
Jul 16, 2016, 1:09:52 PM7/16/16
to Ansible Project
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 <ip address of controller> -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


Szczygiel, Kamil

unread,
Jul 18, 2016, 9:19:42 AM7/18/16
to ansible...@googlegroups.com

Hi Maurizio,

 

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

 

Kind regards,

Kamil Szczygieł

--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8b6ed5cf-14fc-40e5-89e4-7189431c7072%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. S&#322owackiego 173 | 80-298 Gda&#324sk | S&#261d Rejonowy Gda&#324sk P&#243&#322noc | VII Wydzia&#322 Gospodarczy Krajowego Rejestru S&#261dowego - KRS 101882 | NIP 957-07-52-316 | Kapita&#322 zak&#322adowy 200.000 PLN.

Ta wiadomo&#347&#263 wraz z za&#322&#261cznikami jest przeznaczona dla okre&#347lonego adresata i mo&#380e zawiera&#263 informacje poufne. W razie przypadkowego otrzymania tej wiadomo&#347ci, prosimy o powiadomienie nadawcy oraz trwa&#322e jej usuni&#281cie; jakiekolwiek przegl&#261danie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.

Maurizio Santovito

unread,
Jul 20, 2016, 11:20:59 AM7/20/16
to Ansible Project
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
Reply all
Reply to author
Forward
0 new messages