lxd profile remains after model is removed

Bug #1968529 reported by Robert Gildein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

While deploying charmed-kubernetes (requires a custom lxd profile) on my
local lxd, I found out I had 266 lxd profiles [1].

```bash
$ lxc profile list --format csv | wc -l
267
```

Some of these profiles are from manually created models, but a large part
comes from integration tests that have been run by `pytest-operator`
and `zaza`.

In my opinion, the profiles should not be left after the model was removed.

---
[1]: https://pastebin.ubuntu.com/p/FDxScCPCRF/

description: updated
Changed in juju:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Heather Lanigan (hmlanigan) wrote :

During implementation, there was a decision made to not delete lxd profiles created by juju. This applies to profiles supplied by charms. The same behavior as for juju in general, and for each model.

Revision history for this message
Robert Gildein (rgildein) wrote :

Maybe we can add this as model configuration option?

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.