clusters should sync boot images from the region
Bug #1354014 reported by
Blake Rouse
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Blake Rouse |
Bug Description
To provide better support for the selection of boot images and other operating systems. The region controller will hold all boot images that were selected by the user. The cluster controllers should connect to the region to download the boot images it requires.
Related branches
lp:~blake-rouse/maas/large-object-store
- Gavin Panella (community): Approve
-
Diff: 320 lines (+233/-1)4 files modifiedsrc/maasserver/fields.py (+115/-0)
src/maasserver/tests/models.py (+6/-0)
src/maasserver/tests/test_api_node.py (+1/-1)
src/maasserver/tests/test_fields.py (+111/-0)
lp:~blake-rouse/maas/largefile-model
- Graham Binns (community): Approve
- Jason Hobbs (community): Needs Information
-
Diff: 650 lines (+575/-4)5 files modifiedsrc/maasserver/migrations/0097_add_largefile_model.py (+344/-0)
src/maasserver/models/__init__.py (+5/-3)
src/maasserver/models/largefile.py (+108/-0)
src/maasserver/models/tests/test_largefile.py (+92/-0)
src/maasserver/testing/factory.py (+26/-1)
lp:~blake-rouse/maas/add-bootresource-models
- Jeroen T. Vermeulen (community): Approve
-
Diff: 923 lines (+837/-4)8 files modifiedsrc/maasserver/enum.py (+69/-0)
src/maasserver/migrations/0098_add_bootresource_models.py (+423/-0)
src/maasserver/models/__init__.py (+11/-4)
src/maasserver/models/bootresource.py (+89/-0)
src/maasserver/models/bootresourcefile.py (+72/-0)
src/maasserver/models/bootresourceset.py (+63/-0)
src/maasserver/models/tests/test_bootresource.py (+59/-0)
src/maasserver/testing/factory.py (+51/-0)
lp:~blake-rouse/maas/bootresource-model-properties
- Jeroen T. Vermeulen (community): Approve
-
Diff: 780 lines (+686/-1)5 files modifiedsrc/maasserver/models/bootresource.py (+129/-1)
src/maasserver/models/bootresourceset.py (+80/-0)
src/maasserver/models/tests/test_bootresource.py (+229/-0)
src/maasserver/models/tests/test_bootresourceset.py (+218/-0)
src/maasserver/testing/factory.py (+30/-0)
lp:~blake-rouse/maas/bootresource-simplestreams-endpoint
- Gavin Panella (community): Approve
-
Diff: 745 lines (+700/-0)4 files modifiedsrc/maasserver/bootresources.py (+265/-0)
src/maasserver/middleware.py (+3/-0)
src/maasserver/tests/test_bootresources.py (+421/-0)
src/maasserver/urls.py (+11/-0)
lp:~blake-rouse/maas/remove-cluster-from-boot-source
- Gavin Panella (community): Approve
-
Diff: 1441 lines (+531/-270)20 files modifiedsrc/maasserver/api.py (+30/-51)
src/maasserver/bootresources.py (+17/-0)
src/maasserver/forms.py (+1/-13)
src/maasserver/migrations/0100_remove_cluster_from_bootsrouce.py (+367/-0)
src/maasserver/models/bootsource.py (+2/-5)
src/maasserver/models/nodegroup.py (+1/-17)
src/maasserver/models/tests/test_bootsource.py (+6/-21)
src/maasserver/models/tests/test_bootsourceselection.py (+4/-6)
src/maasserver/models/tests/test_nodegroup.py (+4/-50)
src/maasserver/rpc/bootsources.py (+7/-10)
src/maasserver/rpc/tests/test_bootsources.py (+5/-9)
src/maasserver/rpc/tests/test_regionservice.py (+2/-3)
src/maasserver/start_up.py (+3/-4)
src/maasserver/testing/factory.py (+3/-5)
src/maasserver/tests/test_api_boot_source_selections.py (+10/-10)
src/maasserver/tests/test_api_boot_sources.py (+13/-21)
src/maasserver/tests/test_bootresources.py (+47/-2)
src/maasserver/tests/test_forms.py (+2/-26)
src/maasserver/tests/test_start_up.py (+3/-11)
src/maasserver/urls_api.py (+4/-6)
lp:~blake-rouse/maas/boot-source-url-unqiue
- Gavin Panella (community): Approve
-
Diff: 406 lines (+379/-1)3 files modifiedsrc/maasserver/migrations/0101_make_bootsource_url_unique.py (+373/-0)
src/maasserver/models/bootsource.py (+1/-1)
src/maasserver/models/tests/test_bootsource.py (+5/-0)
lp:~blake-rouse/maas/region-image-downloader
- Jeroen T. Vermeulen (community): Approve
-
Diff: 411 lines (+319/-2)4 files modifiedsrc/maasserver/bootresources.py (+198/-1)
src/maasserver/eventloop.py (+6/-0)
src/maasserver/tests/test_bootresources.py (+105/-1)
src/maasserver/tests/test_eventloop.py (+10/-0)
lp:~blake-rouse/maas/bootresource-store
- Julian Edwards (community): Needs Fixing
- Blake Rouse (community): Approve
- Gavin Panella (community): Approve
-
Diff: 869 lines (+809/-0)2 files modifiedsrc/maasserver/bootresources.py (+393/-0)
src/maasserver/tests/test_bootresources.py (+416/-0)
lp:~blake-rouse/maas/bootresource-store-pre
- Gavin Panella (community): Approve
-
Diff: 166 lines (+76/-1)8 files modifiedsrc/maasserver/bootresources.py (+4/-0)
src/maasserver/locks.py (+4/-0)
src/maasserver/models/bootresourcefile.py (+1/-1)
src/maasserver/models/largefile.py (+16/-0)
src/maasserver/models/tests/test_largefile.py (+13/-0)
src/maasserver/tests/test_bootresources.py (+12/-0)
src/provisioningserver/import_images/helpers.py (+14/-0)
src/provisioningserver/import_images/tests/test_helpers.py (+12/-0)
lp:~blake-rouse/maas/backward-compatible-boot-source-api
- Jeroen T. Vermeulen (community): Approve
-
Diff: 672 lines (+553/-1)6 files modifiedsrc/maasserver/api/boot_source_selections.py (+62/-0)
src/maasserver/api/boot_sources.py (+60/-0)
src/maasserver/api/doc.py (+4/-1)
src/maasserver/api/tests/test_boot_source_selections.py (+207/-0)
src/maasserver/api/tests/test_boot_sources.py (+196/-0)
src/maasserver/urls_api.py (+24/-0)
lp:~blake-rouse/maas/simplestreams-os-field
- Jason Hobbs (community): Approve
-
Diff: 654 lines (+143/-61)14 files modifiedsrc/provisioningserver/boot/tests/test_tftppath.py (+5/-1)
src/provisioningserver/boot/tftppath.py (+1/-0)
src/provisioningserver/config.py (+1/-0)
src/provisioningserver/import_images/boot_image_mapping.py (+32/-15)
src/provisioningserver/import_images/download_descriptions.py (+17/-12)
src/provisioningserver/import_images/download_resources.py (+10/-6)
src/provisioningserver/import_images/helpers.py (+1/-0)
src/provisioningserver/import_images/testing/factory.py (+8/-0)
src/provisioningserver/import_images/tests/test_boot_image_mapping.py (+18/-7)
src/provisioningserver/import_images/tests/test_boot_resources.py (+15/-7)
src/provisioningserver/import_images/tests/test_download_descriptions.py (+25/-11)
src/provisioningserver/import_images/tests/test_download_resources.py (+1/-2)
src/provisioningserver/tests/test_config.py (+2/-0)
src/provisioningserver/utils/__init__.py (+7/-0)
lp:~blake-rouse/maas/bootresource-form
- Raphaël Badin (community): Approve
-
Diff: 364 lines (+283/-1)4 files modifiedsrc/maasserver/forms.py (+100/-0)
src/maasserver/models/largefile.py (+33/-1)
src/maasserver/models/tests/test_largefile.py (+17/-0)
src/maasserver/tests/test_forms_bootresource.py (+133/-0)
lp:~blake-rouse/maas/bootresource-api
- Graham Binns (community): Approve
-
Diff: 591 lines (+547/-0)4 files modifiedsrc/maasserver/api/boot_resources.py (+223/-0)
src/maasserver/api/tests/test_boot_resources.py (+307/-0)
src/maasserver/enum.py (+3/-0)
src/maasserver/urls_api.py (+14/-0)
lp:~blake-rouse/maas/bootresource-cleanup
- Raphaël Badin (community): Approve
-
Diff: 620 lines (+479/-14)4 files modifiedsrc/maasserver/forms.py (+8/-0)
src/maasserver/migrations/0105_remove_rtype_from_uniqueness_on_boot_resource.py (+378/-0)
src/maasserver/models/bootresource.py (+33/-3)
src/maasserver/models/tests/test_bootresource.py (+60/-11)
lp:~blake-rouse/maas/fix-1360676
- Jason Hobbs (community): Approve
-
Diff: 896 lines (+605/-16)14 files modifiedsrc/maasserver/bootresources.py (+1/-1)
src/maasserver/forms.py (+1/-0)
src/maasserver/migrations/0106_add_os_to_boot_source_selection.py (+375/-0)
src/maasserver/models/bootsourceselection.py (+6/-1)
src/maasserver/models/tests/test_bootsourceselection.py (+4/-0)
src/maasserver/rpc/bootsources.py (+8/-1)
src/maasserver/rpc/regionservice.py (+13/-0)
src/maasserver/rpc/tests/test_bootsources.py (+15/-0)
src/maasserver/rpc/tests/test_regionservice.py (+45/-0)
src/maasserver/testing/factory.py (+6/-5)
src/maasserver/tests/test_forms.py (+4/-7)
src/provisioningserver/image_download_service.py (+20/-1)
src/provisioningserver/rpc/region.py (+26/-0)
src/provisioningserver/tests/test_image_download_service.py (+81/-0)
lp:~blake-rouse/maas/bootresource-api-allow-generated-upload
- Jason Hobbs (community): Approve
-
Diff: 350 lines (+165/-23)8 files modifiedsrc/maasserver/bootresources.py (+23/-6)
src/maasserver/forms.py (+14/-5)
src/maasserver/models/bootresource.py (+34/-1)
src/maasserver/models/tests/test_bootresource.py (+31/-0)
src/maasserver/tests/test_bootresources.py (+14/-0)
src/maasserver/tests/test_forms_bootresource.py (+43/-10)
src/provisioningserver/import_images/download_resources.py (+5/-1)
src/provisioningserver/rpc/region.py (+1/-0)
lp:~blake-rouse/maas/rpc-import-images
- Julian Edwards (community): Abstain
- Gavin Panella (community): Needs Fixing
- Jason Hobbs (community): Approve
-
Diff: 1241 lines (+615/-524)9 files modifiedsrc/provisioningserver/image_download_service.py (+0/-147)
src/provisioningserver/plugin.py (+1/-3)
src/provisioningserver/rpc/boot_images.py (+154/-0)
src/provisioningserver/rpc/cluster.py (+23/-0)
src/provisioningserver/rpc/clusterservice.py (+15/-5)
src/provisioningserver/rpc/tests/test_boot_images.py (+376/-0)
src/provisioningserver/rpc/tests/test_clusterservice.py (+45/-0)
src/provisioningserver/tests/test_image_download_service.py (+0/-366)
src/provisioningserver/tests/test_plugin.py (+1/-3)
lp:~blake-rouse/maas/fix-keydata-base64
- Gavin Panella (community): Approve
-
Diff: 128 lines (+4/-26)6 files modifiedsrc/maasserver/bootresources.py (+1/-0)
src/maasserver/models/bootsource.py (+1/-5)
src/maasserver/models/tests/test_bootsource.py (+2/-3)
src/maasserver/rpc/bootsources.py (+0/-6)
src/maasserver/rpc/tests/test_bootsources.py (+0/-8)
src/maasserver/rpc/tests/test_regionservice.py (+0/-4)
lp:~blake-rouse/maas/import-with-gpg-home
- Jeroen T. Vermeulen (community): Approve
-
Diff: 156 lines (+60/-14)4 files modifiedsrc/maasserver/bootresources.py (+20/-14)
src/maasserver/start_up.py (+6/-0)
src/maasserver/tests/test_bootresources.py (+24/-0)
src/maasserver/tests/test_start_up.py (+10/-0)
lp:~blake-rouse/maas/region-to-cluster-rpc-import
- Graham Binns (community): Approve
-
Diff: 638 lines (+192/-134)10 files modifiedsrc/maasserver/api/boot_resources.py (+19/-6)
src/maasserver/api/node_groups.py (+1/-1)
src/maasserver/api/tests/test_boot_resources.py (+29/-0)
src/maasserver/api/tests/test_nodegroup.py (+24/-23)
src/maasserver/bootresources.py (+4/-0)
src/maasserver/models/nodegroup.py (+16/-19)
src/maasserver/models/tests/test_nodegroup.py (+67/-64)
src/maasserver/tests/test_bootresources.py (+18/-0)
src/maasserver/views/clusters.py (+8/-5)
src/maasserver/views/tests/test_clusters.py (+6/-16)
lp:~blake-rouse/maas/fix-1361799
- Jeroen T. Vermeulen (community): Disapprove
- Gavin Panella (community): Approve
-
Diff: 40 lines (+10/-2)2 files modifiedsrc/maasserver/utils/__init__.py (+3/-2)
src/maasserver/utils/tests/test_utils.py (+7/-0)
lp:~blake-rouse/maas/simplestreams-file-handler-connectionwrapper
- Jeroen T. Vermeulen (community): Approve
-
Diff: 274 lines (+135/-51)3 files modifiedsrc/maasserver/bootresources.py (+42/-16)
src/maasserver/fields.py (+4/-2)
src/maasserver/tests/test_bootresources.py (+89/-33)
lp:~blake-rouse/maas/get-boot-images-rpc
- Gavin Panella (community): Approve
-
Diff: 214 lines (+133/-1)6 files modifiedsrc/maasserver/clusterrpc/boot_images.py (+37/-0)
src/maasserver/clusterrpc/tests/test_boot_images.py (+72/-0)
src/provisioningserver/boot/tests/test_tftppath.py (+11/-0)
src/provisioningserver/boot/tftppath.py (+3/-0)
src/provisioningserver/rpc/cluster.py (+3/-1)
src/provisioningserver/rpc/tests/test_clusterservice.py (+7/-0)
lp:~blake-rouse/maas/boot-images-rpc-api
- Gavin Panella (community): Approve
-
Diff: 278 lines (+74/-87)3 files modifiedsrc/maasserver/api/boot_images.py (+14/-38)
src/maasserver/api/tests/test_boot_images.py (+59/-41)
src/maasserver/urls_api.py (+1/-8)
lp:~blake-rouse/maas/fix-startup-and-list-archs
- Gavin Panella (community): Approve
-
Diff: 268 lines (+58/-74)4 files modifiedsrc/maasserver/forms.py (+4/-13)
src/maasserver/start_up.py (+8/-11)
src/maasserver/tests/test_forms_helpers.py (+17/-22)
src/maasserver/tests/test_start_up.py (+29/-28)
lp:~blake-rouse/maas/multipart-image-upload
- Jason Hobbs (community): Approve
-
Diff: 642 lines (+422/-24)7 files modifiedsrc/maasserver/api/boot_resources.py (+105/-16)
src/maasserver/api/tests/test_boot_resources.py (+218/-3)
src/maasserver/exceptions.py (+4/-0)
src/maasserver/forms.py (+55/-5)
src/maasserver/models/largefile.py (+16/-0)
src/maasserver/models/tests/test_largefile.py (+17/-0)
src/maasserver/urls_api.py (+7/-0)
lp:~blake-rouse/maas/get-boot-images-for-rpc
- Jeroen T. Vermeulen (community): Approve
-
Diff: 461 lines (+258/-67)7 files modifiedsrc/maasserver/clusterrpc/boot_images.py (+43/-0)
src/maasserver/clusterrpc/tests/test_boot_images.py (+92/-18)
src/maasserver/models/bootresource.py (+23/-0)
src/maasserver/models/tests/test_bootresource.py (+48/-1)
src/provisioningserver/boot/tests/test_tftppath.py (+2/-47)
src/provisioningserver/testing/boot_images.py (+23/-0)
src/provisioningserver/testing/os.py (+27/-1)
lp:~blake-rouse/maas/fix-cluster-image-syncing
- Gavin Panella (community): Approve
-
Diff: 529 lines (+65/-217)10 files modifiedsrc/maasserver/rpc/bootsources.py (+0/-46)
src/maasserver/rpc/regionservice.py (+3/-7)
src/maasserver/rpc/tests/test_bootsources.py (+0/-42)
src/maasserver/rpc/tests/test_regionservice.py (+9/-49)
src/provisioningserver/import_images/boot_resources.py (+6/-8)
src/provisioningserver/import_images/tests/test_boot_resources.py (+1/-2)
src/provisioningserver/pserv_services/image_download_service.py (+7/-19)
src/provisioningserver/pserv_services/tests/test_image_download_service.py (+3/-40)
src/provisioningserver/rpc/boot_images.py (+6/-3)
src/provisioningserver/rpc/tests/test_boot_images.py (+30/-1)
lp:~blake-rouse/maas/fix-startup-and-list-archs-2
- Gavin Panella (community): Approve
-
Diff: 304 lines (+80/-75)6 files modifiedsrc/maasserver/forms.py (+4/-13)
src/maasserver/models/bootresource.py (+4/-0)
src/maasserver/models/tests/test_bootresource.py (+17/-0)
src/maasserver/start_up.py (+8/-11)
src/maasserver/tests/test_forms_helpers.py (+18/-25)
src/maasserver/tests/test_start_up.py (+29/-26)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | none → 1.7.0 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.