delete event not sent when vmcluster deleted

Bug #1948735 reported by Huw Wilkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Undecided
Unassigned

Bug Description

When a vmcluster is removed with vmcluster.delete there isn't a notification that the vmcluster was removed. E.g. when a pod is removed you get:

{
    "type": 2,
    "name": "pod",
    "action": "delete",
    "data": 25
}

Related: https://bugs.launchpad.net/maas/+bug/1948749

Tags: blocking-ui

Related branches

Huw Wilkins (huwshimi)
description: updated
Changed in maas:
status: New → Triaged
status: Triaged → In Progress
Changed in maas:
milestone: none → 3.1.0
status: In Progress → Fix Committed
Revision history for this message
Huw Wilkins (huwshimi) wrote :

I've been trying to get this working today. I refresh my snap so I'm on 3.1.0~beta3-10810-g.cb1e1cd3d but if I create or delete a cluster via the web ui I don't seem to get these events. Is there something I might be missing?

Steps that I'm presuming would cause a delete event to be sent:
- Go to /MAAS/r/kvm/lxd.
- Click on a cluster.
- Click on the Cluster settings tab.
- Click Remove KVM.
- Click Remove cluster.

For a create event:
- Go to /MAAS/r/kvm/lxd.
- Click Add LXD host.
- Work through the wizard, filling out valid details for a cluster.
- Clicking next on the final step creates the cluster, but there's no notification (it appears on page refresh).

Bill Wear (billwear)
Changed in maas:
milestone: 3.1.0 → 3.1.0-beta4
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.