puppet uses upstart for service status checks in vivid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet (Ubuntu) |
Triaged
|
High
|
Ryan Harper | ||
Vivid |
Triaged
|
High
|
Ryan Harper |
Bug Description
After upgrading one of my servers to 15.04/vivid (from original 14.10/utopic install), I had a failing puppet job. The error message is:
Error: /Stage[
After some research it seems that this happens with all daemons that have an upstart config file hanging around in '/etc/init/'. Puppet checks for existence of that file, and then assumes that it should issue the '/sbin/status <service>' command in order to check the service status. For all services that don't have an upstart conf installed, puppet uses '/etc/init.
As I assume that we cannot expect to have all services drop the upstart config in their vivid packages (I'm not sure about the status of upstart support in vivid), the best fix should be to have puppet check for '/etc/init.
puppet-common version: 3.7.2-1ubuntu2
Note: even setting service 'hasstatus => no' and 'status => /etc/init.d/ssh status' in the puppet Service definition does not force puppet to not issue the command (which probably should be a separate bug).
Changed in puppet (Ubuntu): | |
importance: | Undecided → High |
Changed in puppet (Ubuntu): | |
milestone: | none → ubuntu-15.10 |
Changed in puppet (Ubuntu Vivid): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: server-next |
Changed in puppet (Ubuntu): | |
assignee: | nobody → Ryan Harper (raharper) |
Changed in puppet (Ubuntu Vivid): | |
assignee: | nobody → Ryan Harper (raharper) |
tags: | removed: server-next |
Status changed to 'Confirmed' because the bug affects multiple users.