Project

General

Profile

Actions

Bug #19498

closed

Uninstalling rudder-agent and re-installing ends with malfunctioning rudder services

Added by Vincent MEMBRÉ about 3 years ago. Updated 11 months ago.

Status:
Rejected
Priority:
N/A
Category:
Packaging
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

At least on debian 11, Reinstalling rudder-agent after removing it ends with malfunctioning rudder services

apt-get remove rudder-agent
apt-get install rudder-agent
service rudder-cf-execd status
● rudder-cf-execd.service - CFEngine Execution Scheduler
     Loaded: loaded (/lib/systemd/system/rudder-cf-execd.service; disabled; vendor preset: enabled)
     Active: inactive (dead)
~# service rudder-cf-serverd status
● rudder-cf-serverd.service - CFEngine file server
     Loaded:  (/lib/systemd/system/rudder-cf-serverd.service; disabled; vendor preset: enabled)
     Active: inactive (dead)

running the following command fix the agent:

systemctl enable rudder-cf-execd
systemctl enable rudder-cf-serverd
systemctl enable rudder-agent
systemctl start rudder-cf-execd
systemctl start rudder-cf-serverd
systemctl start rudder-agent

Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #22413: When we uninstall and reinstall an agent, the agent is not correctly activatedReleasedNicolas CHARLESActions
Actions #1

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.2.8 to 6.2.9
Actions #2

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.2.9 to 6.2.10
Actions #3

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.2.10 to 6.2.11
Actions #4

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.2.11 to 6.2.12
Actions #5

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.2.12 to 6.2.13
Actions #6

Updated by Alexis Mousset over 2 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Effort required set to Small
  • Priority changed from 0 to 62

Still happens regularly.

Actions #7

Updated by Alexis Mousset over 2 years ago

This happens because the postinst script detects the previous install and consider the situation as:

  • an upgrade
  • with currently disabled cf-server and cf-execd services

so we don't enable them. We need a better detection logic.

Actions #8

Updated by Alexis Mousset over 2 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #9

Updated by Alexis Mousset over 2 years ago

  • Status changed from In progress to New
  • Priority changed from 62 to 61
Actions #10

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.2.13 to 6.2.14
  • Priority changed from 61 to 59
Actions #11

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 6.2.14 to 6.2.15
  • Priority changed from 59 to 57
Actions #12

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 6.2.15 to 6.2.16
  • Priority changed from 57 to 56
Actions #13

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from 6.2.16 to 6.2.17
Actions #14

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.2.17 to 997
  • Priority changed from 56 to 0
Actions #15

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 997 to 6.2.18
Actions #16

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.2.18 to 6.2.19
Actions #17

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.2.19 to 6.2.20
Actions #18

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.2.20 to old 6.2 issues to relocate
Actions #19

Updated by Alexis Mousset 11 months ago

  • Status changed from New to Rejected
  • Regression set to No
Actions #20

Updated by Alexis Mousset 11 months ago

  • Is duplicate of Bug #22413: When we uninstall and reinstall an agent, the agent is not correctly activated added
Actions

Also available in: Atom PDF