ansible-apim icon indicating copy to clipboard operation
ansible-apim copied to clipboard

Problem with the sample given in the script

Open rymonteiro opened this issue 6 years ago • 2 comments

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

rymonteiro avatar Nov 07 '19 05:11 rymonteiro

hey @chirangaalwis, any tips on this issue?

ppozeti avatar Jun 21 '20 01:06 ppozeti

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

ppozeti avatar Jun 21 '20 07:06 ppozeti