environs/local: destroy-environment fails to shut down the mongodb server provided by juju-mongodb package

Bug #1285909 reported by Dave Cheney
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Triaged
Medium
Unassigned

Bug Description

In T we use the version of mongodb provided by `juju-mongodb`. Juju cannot shutdown this mongodb server when it runs on the local machine

ubuntu@winton-02:~$ juju destroy-environment -y local
ubuntu@winton-02:~$ juju status
ERROR Unable to connect to environment "local".
Please check your credentials or use 'juju bootstrap' to create a new environment.

Error details:
no CA certificate in environment configuration

ubuntu@winton-02:~$ juju status^C
ubuntu@winton-02:~$ bash deploy.bash
+ /home/ubuntu/bin/juju destroy-environment -y local
ERROR failed to destroy environment "local"

If the environment is unusable, then you may run

    juju destroy-environment --force

to forcefully destroy the environment. Upon doing so, review
your environment provider console for any resources that need
to be cleaned up.

ERROR no CA certificate in environment configuration
+ true
+ /home/ubuntu/bin/juju bootstrap
ERROR cannot use 37017 as state port, already in use

Curtis Hovey (sinzui)
tags: added: mongodb
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
tags: added: destroy-environment
Mark Ramm (mark-ramm)
Changed in juju-core:
importance: High → Medium
milestone: none → 1.20.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.