Project

General

Profile

Actions

Bug #8611

closed

Service ensure running keeps staying repaired

Added by Florian Heigl almost 8 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

This is something systemd-shim-ish

@root@ref-one-master:~# ps -ef | grep sunstone
root 1011 30971 0 19:45 pts/1 00:00:00 grep sunstone
oneadmin 19214 1 0 15:50 ? 00:00:00 python /usr/share/one/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876
oneadmin 19236 1 0 15:50 ? 00:00:03 ruby /usr/lib/one/sunstone/sunstone-server.rb
root@ref-one-master:~# systemctl -a | grep sunstone
opennebula-sunstone.service loaded active exited LSB: Sunstone init script
root@ref-one-master:~# rudder agent run
Rudder agent 3.2.4-jessie0 (CFEngine Core 3.7.1)
Node uuid: 85f6affd-37a7-4fac-85fa-6f7005a2fde0
Start execution with config [279964146]

Result Technique Component Key Message
repaired bugfix_sunstone Service ensure running opennebula-sunsto| Ensure that service opennebula-sunstone is running was repaired
error config_ONE_sunstone_webs| Service check running opennebula-sunsto| Not applicable could not be repaired
error install_opennebula_client Package install nfs-client Install or update package nfs-client in version latest could not be repaired

  1. Summary #####################################################################
    repaired: 1
    error: 2
    execution time: 19.69s ################################################################################
    root@ref-one-master:~# rudder agent run
    Rudder agent 3.2.4-jessie0 (CFEngine Core 3.7.1)
    Node uuid: 85f6affd-37a7-4fac-85fa-6f7005a2fde0
    Start execution with config [279964146]

Result Technique Component Key Message
repaired bugfix_sunstone Service ensure running opennebula-sunsto| Ensure that service opennebula-sunstone is running was repaired
error config_ONE_sunstone_webs| Service check running opennebula-sunsto| Not applicable could not be repaired
error install_opennebula_client Package install nfs-client Install or update package nfs-client in version latest could not be repaired

  1. Summary #####################################################################
    repaired: 1
    error: 2
    execution time: 19.90s@

It'll try to restart it each time, while systemd says it's active.
( and it's running)

root@ref-one-master:~# cat /etc/debian_version
8.4

root@ref-one-master:~# rudder agent info
Hostname: ref-one-master
UUID: 85f6affd-37a7-4fac-85fa-6f7005a2fde0
Key Hash: sdflksdjflskjslfkjlksdjfkljsd983b5b8ae
Policy server:sljsdlfjsdlfjsdlfj
Roles: rudder-agent
Agent is enabled
Policy updated: 2016-06-27 19:31:10
Inventory sent: 2016-06-27 15:18:49
Version: Rudder agent 3.2.4-jessie0 (CFEngine Core 3.7.1)


Files

service_ensure_running.txt (25.7 KB) service_ensure_running.txt Ferenc Ulrich, 2017-01-24 10:34

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #7247: service detection based on ps may not work for start/restart method RejectedActions
Related to Rudder - Architecture #7192: Rewrite the service_* methodsReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF