ERROR! Unexpected Exception, this is probably a bug: No module named cm_api.api_client
Closed this issue · 3 comments
hskundhal commented
Error received in installing 5.14.0.
Command works fine locally.
TASK [scm : Install CM Python API Client]
plartemyev commented
Hi! It's happening, because action_plugins/scm_hosts.py is executed on the host where you invoked ansible-playbook, so you should install cm-api there too.
lhoss commented
so you should install cm-api ...on the host where you invoked ansible-playbook [the controller node]
following 1-line fix will ensure that the cm-api gets (only) installed there [on the controller node], but ensure you run your playbook as root or user with passwordless sudo (else the install will fail):
master...ramencloud:local-cm-api