Merge lp://staging/~blake-rouse/maas/boot-images-rpc-v2-1.8 into lp://staging/maas/1.8

Proposed by Blake Rouse
Status: Merged
Approved by: Blake Rouse
Approved revision: no longer in the source branch.
Merged at revision: 4033
Proposed branch: lp://staging/~blake-rouse/maas/boot-images-rpc-v2-1.8
Merge into: lp://staging/maas/1.8
Diff against target: 373 lines (+165/-44)
8 files modified
src/maasserver/api/tests/test_events.py (+2/-2)
src/maasserver/clusterrpc/boot_images.py (+43/-35)
src/maasserver/clusterrpc/tests/test_boot_images.py (+75/-1)
src/maasserver/utils/version.py (+1/-1)
src/provisioningserver/rpc/cluster.py (+24/-0)
src/provisioningserver/rpc/clusterservice.py (+9/-0)
src/provisioningserver/rpc/tests/test_clusterservice.py (+9/-4)
src/provisioningserver/rpc/tests/test_docs.py (+2/-1)
To merge this branch: bzr merge lp://staging/~blake-rouse/maas/boot-images-rpc-v2-1.8
Reviewer Review Type Date Requested Status
Blake Rouse (community) Approve
Review via email: mp+266762@code.staging.launchpad.net

Commit message

Add ListBootImagesV2 RPC command. Fallback to using ListBootImages RPC when the ListBootImagesV2 is not handled on the cluster.

The signature of the ListBootImages RPC call was changed to support more data in the response. This change will cause connected clusters that are not updated the same time as the region to stop communicating and error. This allows both methods to exist on the cluster where V2 will be called first then fallback to the older call in error.

To post a comment you must log in.
Revision history for this message
Blake Rouse (blake-rouse) wrote :

Self-approving backport.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: