Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Ubuntu 16.04 Xenial #13

Open
KixPanganiban opened this issue Dec 26, 2016 · 3 comments
Open

Error on Ubuntu 16.04 Xenial #13

KixPanganiban opened this issue Dec 26, 2016 · 3 comments

Comments

@KixPanganiban
Copy link

TASK [Stouts.supervisor : Enable supervisor service (Debian) - pt. 3] **********
skipping: [192.168.10.10]

TASK [Stouts.supervisor : Ensure the supervisor is started] ********************
fatal: [192.168.10.10]: FAILED! => {"changed": false, "failed": true, "msg": "Could not find the requested service \"'supervisor'\": "}

While the prior task seems to enable the service on Debia, I'm guessing this has something to do with systemd?

@iuriinedostup
Copy link

@KixPanganiban hey, did you manage to fix this issue?

@KixPanganiban
Copy link
Author

@iuriinedostup This seems to have resolved itself. I re-downloaded the roles and now it's working fine

@avelis
Copy link

avelis commented Jul 13, 2018

For anyone that lands on this issue this is a bug with the initial release with Ubuntu 16.04.
It is documented here:
https://bugs.launchpad.net/ubuntu/+source/supervisor/+bug/1594740

A couple workarounds:

  1. You can package install supervisor using a release with this issue fixed: apt-get install supervisor
  2. You can run a command once that would address the service to be recognized by systemd and actually start. See link above for commands to run.

What this highlights is that the install task for this role and Ubuntu 16.04 are kind of diverging. The install task by default with Ubuntu 16.0.4 won't work anymore. You can use apt-get but then the install task would be OS version dependent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants