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

Il giorno lunedì 18 luglio 2016 15:19:42 UTC+2, Kamil Szczygieł ha scritto:
>
> Hi Maurizio,
>
>  
>
> Did you install shade? You can do that using „pip install shade” command.
>
>  
>
> Kind regards,
>
> Kamil Szczygieł
>
>  
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *Maurizio 
> Santovito
> *Sent:* Saturday, July 16, 2016 7:10 PM
> *To:* Ansible Project <[email protected] <javascript:>>
> *Subject:* [ansible-project] error: shade is required for this module
>
>  
>
> 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
>
> -- 
> 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 [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/8b6ed5cf-14fc-40e5-89e4-7189431c7072%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/ansible-project/8b6ed5cf-14fc-40e5-89e4-7189431c7072%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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.
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/af2019c6-22af-431b-8474-72578ce614b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to