Created by Gavin Panella and last modified
Get this branch:
bzr branch lp:~allenap/maas/rpc-command-exceptions
Only Gavin Panella can upload to this branch. If you are Gavin Panella please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Gavin Panella

Recent revisions

2953. By Gavin Panella

New base class for AMP commands, RPCCommand. Work in progress.

2952. By Gavin Panella

[r=julian-edwards][bug=][author=allenap] Remove all Celery DHCP code.

2951. By Gavin Panella

[r=gmb][bug=][author=allenap] Remove p.dhcp.leases.update_leases and .upload_leases.

2950. By Graham Binns

[r=allenap][bug=][author=gmb] Port NodeGroup.add_seamicro15k() to use RPC rather than celery.

2949. By Blake Rouse

[r=blake-rouse,allenap][bug=1366108][author=blake-rouse] Use get_boot_images_for RPC call in pxeconfig API call. This removes the need for BootImage table and contacts the cluster directly.

This exposed an issue in the WindowsBootMethod. It used a blocking call to the pxeconfig API, which blocked the reactor from running in pserv. This caused a race condition where the region wants to talk to the cluster, while the cluster is waiting for a response from the region... ;-) Modified the TFTPService to allow boot methods to return a deferred and fixed WindowBootMethod to use this new ability.

2948. By Gavin Panella

[r=julian-edwards][bug=][author=allenap] Use remove_host_maps RPC helper instead of the remove_dhcp_host_maps Celery task.

2947. By Graham Binns

[r=allenap][bug=][author=gmb] Convert NodeGroup.add_virsh() to use RPC calls rather than celery.

2946. By Blake Rouse

[r=allenap][bug=1366108][author=blake-rouse] Use get_boot_images_for RPC call for determining the preseed type. This removes the need to use BootImage table and contacts the cluster directly.

2945. By Graham Binns

[r=blake-rouse][bug=][author=gmb] Convert the create_node utility to use the CreateNode RPC call.

Previously, CreateNode didn't raise any errors. Now it raises a NodeAlreadyExists error if a node with one of the MACs passed to CreateNode is already registered.

The create_node utility function has been converted from a REST API-calling function to an RPC-calling one; the overall logic remains the same.

2944. By Gavin Panella

[r=julian-edwards][bug=][author=allenap] Helper function for removing DHCP host maps.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.