Lines Matching defs:exception

66 from nova import exception
227 exception into a sensible error string that can be logged. Newlines
230 If the exception was something other than rad.client.ObjectError,
248 class MemoryAlignmentIncorrect(exception.FlavorMemoryTooSmall):
309 raise exception.OverQuota(overs='volumes')
312 raise exception.InvalidInput(reason=reason)
356 LOG.exception(_("Unable to initialize editing of instance '%s' "
362 """looks for any kind of exception before exiting. If one is found,
363 cancel any configuration changes and reraise the exception. If not,
367 # We received some kind of exception. Cancel the config and raise.
376 LOG.exception(_("Unable to commit the new configuration for "
403 LOG.exception(_("Unable to set '%s' property on '%s' resource for "
429 LOG.exception(_("Unable to create new resource '%s' for instance "
445 LOG.exception(_("Unable to remove resource '%s' for instance '%s' "
458 LOG.exception(_("Unable to clear '%s' property on '%s' resource "
543 raise exception.NovaException(reason)
556 raise exception.NovaException(reason)
569 raise exception.NovaException(reason)
748 raise exception.NovaException("kstat URI must be string type: "
839 raise exception.InstanceNotFound(instance_id=name)
948 raise exception.NovaException(msg)
1019 raise exception.NovaException(msg)
1036 raise exception.NovaException(msg)
1078 raise exception.InstanceNotFound(instance_id=name)
1137 LOG.exception(_("Unable to fetch Glance image: id %s: %s")
1155 raise exception.ImageUnacceptable(image_id=instance['image_ref'],
1163 raise exception.ImageUnacceptable(image_id=instance['image_ref'],
1184 raise exception.ImageUnacceptable(image_id=instance['image_ref'],
1189 raise exception.ImageUnacceptable(image_id=instance['image_ref'],
1219 raise exception.VolumeDriverNotFound(driver_type=driver_type)
1274 raise exception.InvalidVolume(
1313 raise exception.InvalidVolume(reason=msg)
1319 raise exception.InstanceNotFound(instance_id=name)
1370 LOG.exception(_("Unable to create root zpool volume for instance "
1398 raise exception.InvalidVolume(reason=msg)
1418 raise exception.InvalidVolume(reason=msg)
1425 raise exception.InvalidVolume(reason=msg)
1435 raise exception.InstanceNotFound(instance_id=name)
1455 raise exception.InstanceNotFound(instance_id=name)
1473 raise exception.InstanceNotFound(instance_id=name)
1509 raise exception.NovaException(msg)
1528 raise nova.exception.NovaException(msg)
1543 raise exception.NovaException(msg)
1578 raise exception.NovaException(msg)
1600 LOG.exception(_("Failed to retrieve other_config: %s"), err)
1610 raise exception.NovaException(msg)
1618 raise exception.NovaException(msg)
1627 raise exception.NovaException(msg)
1632 raise exception.NovaException(msg)
1666 raise exception.InstanceNotFound(instance_id=name)
1728 raise exception.InstanceNotFound(instance_id=name)
1813 raise exception.InstanceExists(name=name)
1832 raise exception.NovaException(msg)
1870 LOG.exception(_("Unable to create configuration for instance '%s' "
1881 raise exception.ConsoleTypeUnavailable(console_type='vnc')
1887 raise exception.ConsoleTypeUnavailable(console_type='vnc')
1900 LOG.exception(_("Unable to create zone VNC console SMF service "
1921 LOG.exception(_("Unable to delete zone VNC console SMF service "
1949 LOG.exception(_("Unable to start zone VNC console SMF service "
1966 raise exception.ConsoleNotFoundForInstance(
1973 LOG.exception(_("Error querying state of zone VNC console SMF "
1986 LOG.exception(_("Unable to update 'vnc/nova-enabled' property for "
2005 LOG.exception(_("Unable to disable zone VNC console SMF service "
2015 LOG.exception(_("Unable to refresh zone VNC console SMF service "
2034 LOG.exception(_("Console state request failed for zone VNC "
2055 raise exception.InstanceNotFound(instance_id=name)
2075 LOG.exception(_("Unable to install root file system for instance "
2089 raise exception.InstanceNotFound(instance_id=name)
2121 LOG.exception(_("Unable to power on instance '%s' via "
2123 raise exception.InstancePowerOnFailure(reason=reason)
2143 raise exception.InstanceNotFound(instance_id=name)
2153 LOG.exception(_("Unable to uninstall root file system for "
2162 raise exception.InstanceNotFound(instance_id=name)
2168 LOG.exception(_("Unable to delete configuration for instance '%s' "
2214 raise exception.InvalidDiskInfo(msg)
2223 except exception.InvalidVolume as reason:
2233 LOG.exception(_("Unable to attach root zpool volume '%s' to "
2256 LOG.exception(_("Unable to spawn instance '%s' via zonemgr(3RAD): "
2303 raise exception.InstanceNotFound(instance_id=name)
2326 LOG.exception(_("Unable to power off instance '%s' "
2328 raise exception.InstancePowerOffFailure(reason=reason)
2483 raise exception.InstanceNotFound(instance_id=name)
2520 LOG.exception(_("Unable to reboot instance '%s' via "
2522 raise exception.InstanceRebootFailure(reason=reason)
2603 raise exception.InstanceNotReady(instance_id=instance['uuid'])
2622 LOG.exception(_("Unable to refresh zone VNC console SMF service "
2635 LOG.exception(_("Unable to read VNC console port from zone VNC "
2723 raise nova.exception.MaxRetriesExceeded(reason)
2742 raise exception.InstanceNotFound(instance_id=name)
2785 raise exception.InstanceNotFound(instance_id=name)
2812 LOG.exception(_("Unable to attach '%s' to instance '%s' via "
2824 raise exception.InstanceNotFound(instance_id=name)
2852 LOG.exception(_("Unable to apply the detach of resource '%s' "
2859 # the exception, therefore failing the detach and leaving the
2904 :raise nova.exception.NovaException: If the attach fails.
2911 raise exception.InstanceNotFound(instance_id=name)
2930 raise nova.exception.NovaException(msg)
2946 :raise nova.exception.NovaException: If the detach fails.
2953 raise exception.InstanceNotFound(instance_id=name)
2962 raise nova.exception.NovaException(msg)
2997 raise nova.exception.NovaException(msg)
3014 LOG.exception(_("Unable to cleanup the resized volume: %s" % err))
3052 raise exception.MigrationPreCheckError(reason=reason)
3056 raise exception.MigrationPreCheckError(reason=reason)
3062 raise exception.ResizeError(reason=msg)
3083 raise exception.ResizeError(reason=msg)
3092 raise exception.ResizeError(reason=msg)
3114 LOG.exception(_("Failed to extend the new volume"))
3133 raise exception.InstanceNotFound(instance_id=name)
3136 # is raise an exception before trying to archive it
3141 raise exception.InstanceNotRunning(instance_id=name)
3148 except exception.ImageNotFound:
3210 except exception.Invalid:
3332 raise exception.InstanceNotFound(instance_id=name)
3416 raise exception.InstanceNotFound(instance_id=name)
3433 LOG.exception(_("Failed to detach the volume"))
3440 LOG.exception(_("Failed to attach the volume"))
3555 raise exception.InstanceNotFound(instance_id=name)
3563 raise exception.InstanceSuspendFailure(reason=reason)
3567 raise exception.InstanceSuspendFailure(reason=reason)
3585 LOG.exception(_("Unable to suspend instance '%s' via "
3587 raise exception.InstanceSuspendFailure(reason=reason)
3611 raise exception.InstanceNotFound(instance_id=name)
3617 raise exception.InstanceResumeFailure(reason=reason)
3622 raise exception.InstanceResumeFailure(reason=reason)
3629 LOG.exception(_("Unable to resume instance '%s' via "
3631 raise exception.InstanceResumeFailure(reason=reason)
3642 raise exception.InstanceNotFound(instance_id=name)
3749 LOG.exception(_("Failed to get property '%s' from zpool '%s': %s")
3871 raise exception.InstanceNotFound(instance_id=name)
3896 recovery method when any exception occurs.
3908 LOG.exception(_("Unable to live migrate instance '%s' to host "
3980 LOG.exception(_("Unable to delete configuration for instance '%s' "
4060 raise exception.MigrationPreCheckError(reason=reason)
4068 raise exception.MigrationPreCheckError(reason=reason)
4072 raise exception.MigrationPreCheckError(reason=reason)
4075 raise exception.MigrationPreCheckError(reason=reason)
4100 raise exception.MigrationPreCheckError(reason=reason)
4127 raise exception.MigrationPreCheckError(reason=reason)
4226 raise exception.InstanceNotFound(instance_id=name)
4233 raise exception.InstanceNotRunning(instance_id=name)
4638 raise exception.NovaException(msg)