Project

General

Profile

Actions

Bug #29281

closed

On upgrade dynflowd is not stopped

Added by Ewoud Kohl van Wijngaarden almost 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:

Description

When upgrading from Foreman 1.24 to 2.0, the dynflowd service is still running. I would expect that the foreman RPM makes sure the service is stopped since the unit file is no longer shipped.

Note it's not possible to stop a service after its unit file has been removed:

[root@pipeline-foreman-server-1-24-centos7 ~]# systemctl --no-reload disable --now dynflowd
Failed to execute operation: No such file or directory
[root@pipeline-foreman-server-1-24-centos7 ~]# systemctl status dynflowd
● dynflowd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: active (running) since Fri 2020-03-06 14:52:43 UTC; 1h 17min ago
   CGroup: /system.slice/dynflowd.service
           ├─20590 dynflow_executor_monitor
           └─20596 dynflow_executor

It can also be seen that a foreman-tasks.service remains as a dangling symlink:

[root@pipeline-foreman-server-1-24-centos7 ~]# ls -l /etc/systemd/system/foreman-tasks.service 
lrwxrwxrwx. 1 root root 40 Mar  6 14:52 /etc/systemd/system/foreman-tasks.service -> /usr/lib/systemd/system/dynflowd.service

Actions #1

Updated by Ewoud Kohl van Wijngaarden almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by Ewoud Kohl van Wijngaarden almost 5 years ago

  • Description updated (diff)
Actions #3

Updated by Anonymous almost 5 years ago

Same with DEBs:

lrwxrwxrwx 1 root root   36 Dec 12  2017 ruby-foreman-tasks.service -> /lib/systemd/system/dynflowd.service
Actions #4

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Eric Helms
  • Pull request https://github.com/theforeman/foreman-packaging/pull/4915 added
Actions #5

Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/4920 added
Actions #6

Updated by The Foreman Bot almost 5 years ago

  • Fixed in Releases 2.1.0 added
Actions #7

Updated by Ewoud Kohl van Wijngaarden almost 5 years ago

  • Fixed in Releases 2.0.0 added
  • Fixed in Releases deleted (2.1.0)
Actions #8

Updated by Eric Helms almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #9

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/4947 added
Actions #10

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.1.0 added
Actions #11

Updated by Ewoud Kohl van Wijngaarden over 4 years ago

  • Fixed in Releases deleted (2.1.0)
Actions #12

Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/6944 added
Actions #13

Updated by Ewoud Kohl van Wijngaarden over 3 years ago

  • Triaged changed from No to Yes
  • Pull request deleted (https://github.com/theforeman/foreman-packaging/pull/6944)
Actions #14

Updated by The Foreman Bot almost 3 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/7748 added
Actions #15

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Pull request deleted (https://github.com/theforeman/foreman-packaging/pull/7748)
Actions

Also available in: Atom PDF