[precise] MAAS warns about missing ISOs even after they've been processed
Bug #1003460 reported by
Mike
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned |
Bug Description
When the system is installed, opening the MAAS dashboard URL provides a message with a yellow background:
"Some of the required system profiles are missing. Run the maas-import-isos script to import Ubuntu isos and create the related profiles:
sudo maas-import-isos"
However, even after running the above process and confirming that everything completed, that warning message remains. The message remained until I began commissioing nodes, at which point it was replaced with the "Commissioning Nodes" message.
The message should have gone away once maas-import-isos had completed - even if I needed to refresh the page to make it update - which I tried but it didn't.
affects: | maas → maas (Ubuntu) |
affects: | maas (Ubuntu) → maas |
To post a comment you must log in.
We store this information (whether or not the script maas-import-isos needs to be run) in a value that is cached using Django's cache. However, we're using a cache local to each thread (see CACHES in src/maas/ settings. py) so the script maas-import-isos does not clear the WSGI application's cache (it calls "maas clearcache --key=profile- check-done" ).
A proper fix would be to use a shared cache using memcache.
An easy workaround is to reduce PROFILE_CHECK_DELAY in src/maasserver/ middleware. py to a few seconds.