Removes constraints from instance and volume types
* Gets rid of annoying purge semantics * removes unique constraints from the db * deletes extra specs when a volume is deleted * adds exceptions for when the type already exists * fixes bug 854930 * fixes bug 925823 Change-Id: I4618759e31501b2e85325f4e9b9895f04dc151d0
This commit is contained in:
@@ -843,6 +843,14 @@ class InstanceExists(Duplicate):
|
||||
message = _("Instance %(name)s already exists.")
|
||||
|
||||
|
||||
class InstanceTypeExists(Duplicate):
|
||||
message = _("Instance Type %(name)s already exists.")
|
||||
|
||||
|
||||
class VolumeTypeExists(Duplicate):
|
||||
message = _("Volume Type %(name)s already exists.")
|
||||
|
||||
|
||||
class InvalidSharedStorage(NovaException):
|
||||
message = _("%(path)s is on shared storage: %(reason)s")
|
||||
|
||||
|
Reference in New Issue
Block a user