wso2 / ansible-apim

Apache License 2.0
51 stars 58 forks source link

Problem with the sample given in the script #97

Open rymonteiro opened 5 years ago

rymonteiro commented 5 years ago

Description: The site.yml playbook at the end of the file contains a sample that shows how to combine two different roles at a single node. The sample describes how to start both API Manager default profile and Identity Server as Key Manager in the same apim_1 node.

But this causes an error that wso2is-km requested service could not be found.

Suggested Labels: Documentation

ppozeti commented 4 years ago

hey @chirangaalwis, any tips on this issue?

ppozeti commented 4 years ago

I turned on the ansible debugger and right after it failed I re-run the command (and it worked), then I continued and everything is fine. I don't know ansible enough to fix it, so I will leave that to you.


fatal: [apim_1]: FAILED! => {"changed": false, "msg": "Unable to start service wso2is-km: Job for wso2is-km.service failed because the service did not take the steps required by its unit configuration.\nSee \"systemctl status wso2is-km.service\" and \"journalctl -xe\" for details.\n"}
[apim_1] TASK: apim-is-as-km : Start wso2is-km as a service (debug)> r
ok: [apim_1]
[apim_1] TASK: apim-is-as-km : Start wso2is-km as a service (debug)> c