diff options
author | Brian Elliott <brian.elliott@rackspace.com> | 2013-03-28 16:54:14 +0000 |
---|---|---|
committer | Brian Elliott <bdelliott@gmail.com> | 2013-03-29 15:07:53 +0000 |
commit | f6af4f753676088318b3944e9e41d698950093d9 (patch) | |
tree | 5d8c264c769b162ad64828ce840a564ea4af43f8 /nova/exception.py | |
parent | 7f4589ea7886559918b1c7e0a38384f3d710fca3 (diff) | |
download | nova-f6af4f753676088318b3944e9e41d698950093d9.tar.gz nova-f6af4f753676088318b3944e9e41d698950093d9.tar.xz nova-f6af4f753676088318b3944e9e41d698950093d9.zip |
'injected_files' should be base 64 encoded.
If an instance build needs to be rescheduled, send the original
base 64 encoded injected_files parameter.
bug 1161479
Change-Id: I4dad95e95cd27f7f128989daa36b3a2bbf132c73
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 1f32b0671..43f02b7cb 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -1200,3 +1200,7 @@ class UnsupportedVirtType(Invalid): class UnsupportedHardware(Invalid): message = _("Requested hardware '%(model)s' is not supported by " "the '%(virt)s' virt driver") + + +class Base64Exception(NovaException): + message = _("Invalid Base 64 data for file %(path)s") |