Charm should remove inappropriate checks if not needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-infra-node |
Triaged
|
Low
|
Unassigned |
Bug Description
The infra-node charm appears to add appropriate MAAS checks, but does nothing to remove inappropriate ones.
Consider the code here:
-----
if self.is_
else:
if config.
-----
If the environment were using deb-based MAAS and switched to using snap-based MAAS - while the new checks would be added, nothing would be done to remove the old checks.
We appear to have reproduced this bug on a customer cloud, where we concretely have checks for snap.maas.
Changed in charm-infra-node: | |
status: | New → Triaged |
importance: | Undecided → Low |