~maas-committers/maas/trunk

« back to all changes in this revision

Viewing changes to src/maasserver/exceptions.py

[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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
 
150
150
class UnresolvableHost(MAASException):
151
151
    """Raised when a hostname can't be resolved to an IP address."""
 
152
 
 
153
 
 
154
class MissingBootImage(MAASException):
 
155
    """Raised when a boot image is expected to exists."""
 
156
 
 
157
 
 
158
class PreseedError(MAASException):
 
159
    """Raised when issue generating the preseed."""