[2.4, 2.5, enhacement] MAAS deployed Pods can be released

Bug #1782060 reported by Lee Trager
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Mike Pontillo

Bug Description

The performance CI deploys Ubuntu to all physical machines and then creates a number of Pods on each machine. I accidentally released all machines during testing. MAAS did not warn me I was releasing a machine which drove Pods. When I tried to deploy to those Pods all MAAS gave me was a power error.

MAAS should not allow machines which drove Pods to be released. The user should be forced to delete the Pod first.

Related branches

Revision history for this message
Andres Rodriguez (andreserl) wrote : Re: [Bug 1782060] [NEW] MAAS deployed Pods can be released

MAAS doesn’t know a pod was deployed, since this is manually sending user
data. That said, we will cover this if we get to “make this MAAS mode a pod”

On Tue, Jul 17, 2018 at 12:05 AM Lee Trager <email address hidden>
wrote:

> Public bug reported:
>
> The performance CI deploys Ubuntu to all physical machines and then
> creates a number of Pods on each machine. I accidentally released all
> machines during testing. MAAS did not warn me I was releasing a machine
> which drove Pods. When I tried to deploy to those Pods all MAAS gave me
> was a power error.
>
> MAAS should not allow machines which drove Pods to be released. The user
> should be forced to delete the Pod first.
>
> ** Affects: maas
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to MAAS.
> https://bugs.launchpad.net/bugs/1782060
>
> Title:
> MAAS deployed Pods can be released
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/maas/+bug/1782060/+subscriptions
>
> Launchpad-Notification-Type: bug
> Launchpad-Bug: product=maas; status=New; importance=Undecided;
> assignee=None;
> Launchpad-Bug-Information-Type: Public
> Launchpad-Bug-Private: no
> Launchpad-Bug-Security-Vulnerability: no
> Launchpad-Bug-Commenters: ltrager
> Launchpad-Bug-Reporter: Lee Trager (ltrager)
> Launchpad-Bug-Modifier: Lee Trager (ltrager)
> Launchpad-Message-Rationale: Subscriber (MAAS)
> Launchpad-Message-For: andreserl
>
--
Andres Rodriguez (RoAkSoAx)
Ubuntu Server Developer
MSc. Telecom & Networking
Systems Engineer

Revision history for this message
Lee Trager (ltrager) wrote : Re: MAAS deployed Pods can be released

Before releasing a machine MAAS could check if any IP address or the hostname of the machine being released is set as the BMC address for any other machine. If so MAAS can raise an error that the machine being released is currently configured as a BMC for another machine.

summary: - MAAS deployed Pods can be released
+ [2.4, 2.5MAAS deployed Pods can be released
summary: - [2.4, 2.5MAAS deployed Pods can be released
+ [2.4, 2.5] MAAS deployed Pods can be released
summary: - [2.4, 2.5] MAAS deployed Pods can be released
+ [2.4, 2.5, feature] MAAS deployed Pods can be released
tags: added: wishlist
Changed in maas:
milestone: none → 2.5.0alpha2
status: New → Triaged
importance: Undecided → High
tags: added: pods track
Changed in maas:
milestone: 2.5.0alpha2 → 2.5.0beta1
Changed in maas:
milestone: 2.5.0beta1 → 2.5.0beta2
Changed in maas:
assignee: nobody → Mike Pontillo (mpontillo)
tags: added: sprint
summary: - [2.4, 2.5, feature] MAAS deployed Pods can be released
+ [2.4, 2.5, enhacement] MAAS deployed Pods can be released
Revision history for this message
Andres Rodriguez (andreserl) wrote :

1. On 'deploy' the machine should be automatically logged.
2. On 'release' (after being unlocked) the machine should be asked to confirm whether you want to continue because this machines is a KVM pod.
3. After 2, the machine should cascade and delete the pod (which would delete the vm's).

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

s/logged/locked

Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
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.