Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 560
    • Issues 560
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 70
    • Merge requests 70
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • KeaKea
  • Issues
  • #534
Closed
Open
Issue created Mar 14, 2019 by Wlodzimierz Wencel@wlodekMaintainer

keactrl try to stop kea services twice?

It looks like keactrl try to stop kea-dhcp4 and kea-ctrl-agent twice:

  1. start:
wlodek@debian9-64-2:~ $ sudo /home/wlodek/installed/git/sbin/keactrl start
INFO/keactrl: Starting /home/wlodek/installed/git/sbin/kea-dhcp4 -c /home/wlodek/installed/git/etc/kea/kea.conf
INFO/keactrl: Starting /home/wlodek/installed/git/sbin/kea-ctrl-agent -c /home/wlodek/installed/git/etc/kea/kea.conf
wlodek@debian9-64-2:~ $ 2019-03-14 03:47:15.082 INFO  [kea-ctrl-agent.ctrl-agent/380] CTRL_AGENT_STARTED Kea Control Agent version 1.5.0-git started
  1. check:
wlodek@debian9-64-2:~ $ ps -aux | grep kea
root       372  0.2  1.2 145160 19752 pts/0    S    03:47   0:00 /home/wlodek/installed/git/sbin/kea-dhcp4 -c /home/wlodek/installed/git/etc/kea/kea.conf
root       380  0.0  0.5  69744  8204 pts/0    S    03:47   0:00 /home/wlodek/installed/git/sbin/kea-ctrl-agent -c /home/wlodek/installed/git/etc/kea/kea.conf
wlodek     390  0.0  0.0  11108   968 pts/0    S+   03:47   0:00 grep kea
  1. stop:
wlodek@debian9-64-2:~ $ sudo /home/wlodek/installed/git/sbin/keactrl stop 
INFO/keactrl: Stopping kea-dhcp4...
ERROR/keactrl: Stop failed, could not send signal 15 to process , PID 372.\n
INFO/keactrl: kea-dhcp6 isn't running.
INFO/keactrl: kea-dhcp-ddns isn't running.
INFO/keactrl: Stopping kea-ctrl-agent...
ERROR/keactrl: Stop failed, could not send signal 15 to process , PID 380.\n
2019-03-14 03:47:27.591 INFO  [kea-ctrl-agent.dctl/380] DCTL_SHUTDOWN Control-agent has shut down, pid: 380, version: 1.5.0-git
INFO/keactrl: kea-netconf isn't running.

we don't want to see this ERROR/keactrl: Stop failed, could not send signal 15 to process , PID 372.\n especially when kea was stopped successfully:

wlodek@debian9-64-2:~ $ ps -aux | grep kea
wlodek     446  0.0  0.0  11108   948 pts/0    S+   03:47   0:00 grep kea

Looks like this was a build when it was introduced: https://jenkins.isc.org/job/kea-master-system-tests-v6/120/ so during fight with shell check

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking