manual-provider: systemd services left behind
Bug #1611453 reported by
Curtis Hovey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Andrew Wilkins |
Bug Description
As seen at
http://
manual-provider: systemd services left behind One of these
juju-db.service
jujud-machine-
jujud-unit-
CI has a new cleanup script that will clean up the services and fail juju. Prior to this script, all xenial manual provider tests failed on try 2.
Changed in juju-core: | |
assignee: | nobody → Alexis Bruemmer (alexis-bruemmer) |
Changed in juju-core: | |
milestone: | 2.0-beta15 → 2.0-beta16 |
Changed in juju-core: | |
status: | Triaged → In Progress |
assignee: | Alexis Bruemmer (alexis-bruemmer) → Andrew Wilkins (axwalk) |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta16 → none |
milestone: | none → 2.0-beta16 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Changed in juju: | |
milestone: | 2.0-beta16 → 2.1.0 |
Changed in juju: | |
status: | Triaged → Incomplete |
milestone: | 2.1.0 → none |
Changed in juju: | |
status: | Incomplete → Fix Released |
To post a comment you must log in.
This summary of just the controller host shows that the just the systemd service symlinks are left behind. jujud and mongod are not running. The /var/lib/juju dir does not exist.
+ DIRTY=0 /var/lib/ juju /var/run/ dummy-sink system/ juju-db. service /etc/systemd/ system/ jujud-machine- 0.service /etc/systemd/ system/ juju-db. service system/ jujud-machine- 0.service' system/ juju-db. service system/ jujud-machine- 0.service ]] system/ juju-db. service juju-db. service system/ juju-db. service system/ jujud-machine- 0.service jujud-machine- 0.service 0.service 0.service: Unit jujud-machine- 0.service not loaded. 0.service system/ jujud-machine- 0.service
+ JUJU_DIR=
+ DUMMY_DIR=
Cleaning manual machine
+ echo 'Cleaning manual machine'
+ [[ -d /var/run/dummy-sink ]]
+ ps -f -C jujud
UID PID PPID C STIME TTY TIME CMD
+ ps -f -C mongod
UID PID PPID C STIME TTY TIME CMD
+ [[ -d /etc/systemd/system ]]
++ ls /etc/systemd/
+ found='
/etc/systemd/
ERROR manual-provider: systemd services left behind.
+ [[ -n /etc/systemd/
/etc/systemd/
+ DIRTY=1
+ echo 'ERROR manual-provider: systemd services left behind.'
+ for service_path in '$found'
++ basename /etc/systemd/
+ service=
+ sudo systemctl stop --force juju-db.service
Failed to stop juju-db.service: Unit juju-db.service not loaded.
+ true
+ sudo systemctl disable juju-db.service
Failed to execute operation: No such file or directory
+ true
+ sudo rm /etc/systemd/
+ for service_path in '$found'
++ basename /etc/systemd/
+ service=
+ sudo systemctl stop --force jujud-machine-
Failed to stop jujud-machine-
+ true
+ sudo systemctl disable jujud-machine-
Failed to execute operation: No such file or directory
+ true
+ sudo rm /etc/systemd/
+ [[ -d /etc/init ]]
++ find /etc/init -name 'juju*' -print
+ found=
+ [[ -n '' ]]
+ [[ -d /var/lib/juju ]]
Cleaning completed
+ echo 'Cleaning completed'
+ exit 1
++ '[' 1 = 1 ']'