juju-mongodb process hangs around after package removal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Expired
|
Medium
|
Unassigned | ||
juju-mongodb (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
Running on Trusty with juju versions:
ii juju-core 1.18.0-0ubuntu1
ii juju-local 1.18.0-0ubuntu1
ii juju-mongodb 2.4.9-0ubuntu3
With environments.yaml as:
default: local
environments:
local:
type: local
container: kvm
juju status output (doesn't matter what charms are deployed or even if a machine is added, showing for completeness):
environment: local
machines:
"0":
agent-state: started
agent-version: 1.18.0.1
dns-name: localhost
instance-id: localhost
series: trusty
"1":
agent-state: started
agent-version: 1.18.0.1
dns-name: 10.0.3.192
instance-id: poe-local-machine-1
series: precise
hardware: arch=amd64 cpu-cores=1 mem=1024M root-disk=8192M
services:
glance:
charm: cs:precise/
exposed: false
relations:
cluster:
- glance
identity-
- keystone
image-
- nova-cloud-
shared-db:
- mysql
units:
glance/0:
machine: "1"
keystone:
charm: cs:precise/
exposed: false
relations:
cluster:
- keystone
identity-
- glance
- nova-cloud-
- openstack-dashboard
shared-db:
- mysql
units:
keystone/0:
machine: "1"
mysql:
charm: cs:precise/mysql-39
exposed: false
relations:
cluster:
- mysql
shared-db:
- glance
- keystone
- nova-cloud-
units:
mysql/0:
machine: "1"
nova-
charm: cs:precise/
exposed: false
relations:
amqp:
- rabbitmq-server
cluster:
- nova-cloud-
identity-
- keystone
image-
- glance
shared-db:
- mysql
units:
nova-
machine: "1"
openstack-
charm: cs:precise/
exposed: false
relations:
cluster:
- openstack-dashboard
identity-
- keystone
units:
openstack
machine: "1"
rabbitmq-server:
charm: cs:precise/
exposed: false
relations:
amqp:
- nova-cloud-
cluster:
- rabbitmq-server
units:
rabbitmq-
machine: "1"
Output of juju version of mongodb:
root 27184 1 1 20:53 ? 00:00:02 /usr/lib/
poe 28089 13413 0 20:57 pts/0 00:00:00 grep --color=auto mongo
Destroy the environment:
juju destroy-environment local
Remove packages:
sudo apt-get remove juju-local juju-mongodb juju-core
Check if the /usr/lib/
Attempt to re-bootstrap a new local environment
$ juju bootstrap
ERROR cannot use 37017 as state port, already in use
Kill the process (sometimes it even attempts to respawn). Make sure the process is finally gone and re-bootstrap to a working environment.
tags: | added: cloud-installer local-provider |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.19.0 |
tags: | added: mongodb |
Changed in juju-core: | |
milestone: | 1.19.0 → 1.19.1 |
Changed in juju-core: | |
milestone: | 1.19.1 → none |
status: | Triaged → Invalid |
Changed in juju-core: | |
status: | New → Triaged |
Changed in juju-core: | |
importance: | High → Medium |
Changed in juju-core: | |
status: | Triaged → Incomplete |
Execution/ termination of the binary is juju's job, not the packaging.