juju destroy-environment released machines not deployed by juju

Bug #1445990 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Critical
Unassigned

Bug Description

1.22.1-0ubuntu1~14.04.1~juju1
maas 1.8.0b1

Revision history for this message
Andres Rodriguez (andreserl) wrote :

It removed a machine deployed by another user, which was a non-root user

Changed in maas:
assignee: nobody → Andres Rodriguez (andreserl)
assignee: Andres Rodriguez (andreserl) → nobody
milestone: none → 1.8.0
importance: Undecided → Critical
status: New → Triaged
Revision history for this message
Mike Pontillo (mpontillo) wrote :

I just spoke with Andres, and wanted to clarify how to reproduce the unexpected behavior seen here:

(1) Deploy a machine manually
(2) Deploy with Juju
(3) destroy-environment

Expected behavior: only the Juju environment will be torn down

Actual behavior: All manually deployed systems are torn down along with the Juju environment

Revision history for this message
Raphaël Badin (rvb) wrote :

I can't reproduce this problem: I'm using the latest MAAS 1.8 and Juju 1.22.1-0ubuntu1~14.04.1~juju1 (from the stable PPA).
I've got two machines: one deployed (using the UI) by a non-admin user and one deployed (by Juju). Destroying the environment only released the machine deployed with Juju. The other one was left un-touched.

Revision history for this message
Raphaël Badin (rvb) wrote :

btw, any reason why you added a bug task for *py*juju on this bug?

Revision history for this message
Andres Rodriguez (andreserl) wrote : Re: [Bug 1445990] Re: juju destroy-environment released machines not deployed by juju

Try using --force, does that make any difference?? Pyjuju probably a
mistake.
On Apr 23, 2015 5:45 AM, "Raphaël Badin" <email address hidden> wrote:

> btw, any reason why you added a bug task for *py*juju on this bug?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1445990
>
> Title:
> juju destroy-environment released machines not deployed by juju
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1445990/+subscriptions
>

Revision history for this message
Raphaël Badin (rvb) wrote :

I tried with --force: no difference: everything went fine.

no longer affects: juju
Changed in maas:
status: Triaged → Incomplete
Changed in maas:
status: Incomplete → Invalid
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.