# neutron_lib.exceptions.flavors module

exception neutron_lib.exceptions.flavors.FlavorDisabled(**kwargs)

  Bases: `ServiceUnavailable`

  message = 'Flavor is not enabled.'

exception neutron_lib.exceptions.flavors.FlavorInUse(**kwargs)

  Bases: `InUse`

  message = 'Flavor %(flavor_id)s is used by some service instance.'

exception neutron_lib.exceptions.flavors.FlavorNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Flavor %(flavor_id)s could not be found.'

exception neutron_lib.exceptions.flavors.FlavorServiceProfileBindingExists(**kwargs)

  Bases: `Conflict`

  message = 'Service Profile %(sp_id)s is already associated with flavor %(fl_id)s.'

exception neutron_lib.exceptions.flavors.FlavorServiceProfileBindingNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Service Profile %(sp_id)s is not associated with flavor %(fl_id)s.'

exception neutron_lib.exceptions.flavors.ServiceProfileDisabled(**kwargs)

  Bases: `ServiceUnavailable`

  message = 'Service Profile is not enabled.'

exception neutron_lib.exceptions.flavors.ServiceProfileDriverNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Service Profile driver %(driver)s could not be found.'

exception neutron_lib.exceptions.flavors.ServiceProfileEmpty(**kwargs)

  Bases: `InvalidInput`

  message = 'Service Profile needs either a driver or metainfo.'

exception neutron_lib.exceptions.flavors.ServiceProfileInUse(**kwargs)

  Bases: `InUse`

  message = 'Service Profile %(sp_id)s is used by some service instance.'

exception neutron_lib.exceptions.flavors.ServiceProfileNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Service Profile %(sp_id)s could not be found.'

this page last updated: 2026-03-26 12:58:28

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug