Unused "Check component compatibility and certification" field should be removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Mike Pontillo |
Bug Description
From maas-devel https:/
For some time there's been a checkbox on the Settings page for
Commissioning that says:
Check component compatibility and certification
What exactly does that do?
I checked it on my 1.8 MAAS server and did a commissioning but didn't
notice if it was trying to contact the cert repository or some other
place or no, and after commissioning there is no indication that my
system was checked, nor that it is or is not full of certified
components...
So any idea what this checkbox does, and if it does nothing, why is it there?
Thanks!
Jeff
I did a few quick greps through the code:
$ bzr grep -i "Check component compatibility and certification"
src/maasserver/
In forms_settings.py:
"""
'check_
'default': False,
'form': forms.BooleanField,
}
},
"""'
---
Looking for the configuration key, it looks like it isn't used for anything:
$ bzr grep check_compatibility
src/maasserver/
src/maasserver/
src/maasserver/
src/maasserver/
src/maasserver/
src/maasserver/
src/maasserver/
$ bzr log -r $(bzr blame src/maasserver/
timestamp: Thu 2013-05-16 16:31:31 +0200
Right now, all indications are that this functionality is a no-op, and hasn't been touched since 2013. (way before my time)
I'd vote +1 for removing this field.
Regards,
Mike
---
Good catch! Let's remove for now. The intent was that it would flag and
badge any uncertified components.
Mark
Related branches
- Andres Rodriguez (community): Approve
- Gavin Panella (community): Approve
-
Diff: 78 lines (+3/-16)4 files modifiedsrc/maasserver/forms.py (+0/-1)
src/maasserver/forms_settings.py (+0/-8)
src/maasserver/models/config.py (+3/-3)
src/maasserver/views/tests/test_settings.py (+0/-4)
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |