[2.4, 2.5, enhacement] MAAS deployed Pods can be released
Bug #1782060 reported by
Lee Trager
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
~mpontillo/maas:disallow-pod-release--bug-1782060
Merged
into
maas:master
- Newell Jensen (community): Approve
-
Diff: 614 lines (+284/-20)10 files modifiedsrc/maasserver/api/machines.py (+19/-0)
src/maasserver/api/pods.py (+1/-9)
src/maasserver/api/rackcontrollers.py (+8/-3)
src/maasserver/api/regioncontrollers.py (+21/-0)
src/maasserver/api/tests/test_machine.py (+41/-1)
src/maasserver/api/tests/test_rackcontroller.py (+45/-1)
src/maasserver/api/tests/test_regioncontroller.py (+65/-1)
src/maasserver/models/bmc.py (+15/-0)
src/maasserver/models/node.py (+53/-5)
src/maasserver/models/tests/test_node.py (+16/-0)
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 |
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.
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: /bugs.launchpad .net/bugs/ 1782060 /bugs.launchpad .net/maas/ +bug/1782060/ +subscriptions Notification- Type: bug Undecided; Bug-Information -Type: Public Bug-Private: no Bug-Security- Vulnerability: no Bug-Commenters: ltrager Bug-Reporter: Lee Trager (ltrager) Bug-Modifier: Lee Trager (ltrager) Message- Rationale: Subscriber (MAAS) Message- For: andreserl
>
> 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:/
>
> Title:
> MAAS deployed Pods can be released
>
> To manage notifications about this bug go to:
> https:/
>
> Launchpad-
> Launchpad-Bug: product=maas; status=New; importance=
> assignee=None;
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
>
--
Andres Rodriguez (RoAkSoAx)
Ubuntu Server Developer
MSc. Telecom & Networking
Systems Engineer