Merge lp://staging/~blake-rouse/maas/fix-1604465-2.0 into lp://staging/maas/2.0
Proposed by
Blake Rouse
Status: | Merged |
---|---|
Approved by: | Blake Rouse |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5170 |
Proposed branch: | lp://staging/~blake-rouse/maas/fix-1604465-2.0 |
Merge into: | lp://staging/maas/2.0 |
Diff against target: |
322 lines (+95/-35) 11 files modified
src/maasserver/api/boot_resources.py (+2/-0) src/maasserver/bootresources.py (+8/-1) src/maasserver/migrations/builtin/maasserver/0067_add_size_to_largefile.py (+36/-0) src/maasserver/models/bootresource.py (+9/-2) src/maasserver/models/bootresourceset.py (+23/-13) src/maasserver/models/largefile.py (+4/-10) src/maasserver/models/tests/test_bootresourceset.py (+2/-0) src/maasserver/models/tests/test_largefile.py (+2/-7) src/maasserver/static/js/angular/directives/controller_image_status.js (+4/-1) src/maasserver/testing/factory.py (+2/-1) src/maasserver/tests/test_bootresources.py (+3/-0) |
To merge this branch: | bzr merge lp://staging/~blake-rouse/maas/fix-1604465-2.0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Review via email: mp+300793@code.staging.launchpad.net |
Commit message
Add size to the largefile model. Add migration that fills in the size on all largefiles that already exist in MAAS. Update the current size field when images are imported. Use aggragated queries in boot resource code to speep up the database queries. Adjust image status interval check to every 30 seconds from 10 seconds.
Description of the change
To post a comment you must log in.
Self-approving backport.