# neutron_lib.exceptions.placement module

exception neutron_lib.exceptions.placement.AmbiguousResponsibilityForResourceProvider(**kwargs)

  Bases: `NeutronException`

  Not clear who’s responsible for resource provider.

  message = 'Expected one driver to be responsible for resource provider %(rsc_provider)s, but got many: %(drivers)s'

exception neutron_lib.exceptions.placement.PlacementAPIVersionIncorrect(**kwargs)

  Bases: `NotFound`

  message = 'Placement API version %(current_version)s, do not meet the needed version %(needed_version)s.'

exception neutron_lib.exceptions.placement.PlacementAggregateNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Aggregate not found for resource provider %(resource_provider)s.'

exception neutron_lib.exceptions.placement.PlacementAllocationGenerationConflict(**kwargs)

  Bases: `Conflict`

  message = 'Resource allocation has been changed for consumer %(consumer)s in Placement while Neutron tried to update it.'

exception neutron_lib.exceptions.placement.PlacementAllocationRemoved(**kwargs)

  Bases: `BadRequest`

  message = 'Resource allocation is deleted for consumer %(consumer)s'

exception neutron_lib.exceptions.placement.PlacementAllocationRpNotExists(**kwargs)

  Bases: `BadRequest`

  message = 'Resource provider %(resource_provider)s for %(consumer)s does not exist'

exception neutron_lib.exceptions.placement.PlacementClientError(**kwargs)

  Bases: `NeutronException`

  message = 'Placement Client Error (4xx): %(msg)s'

exception neutron_lib.exceptions.placement.PlacementEndpointNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Placement API endpoint not found.'

exception neutron_lib.exceptions.placement.PlacementInventoryNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Placement inventory not found for resource provider %(resource_provider)s, resource class %(resource_class)s.'

exception neutron_lib.exceptions.placement.PlacementInventoryUpdateConflict(**kwargs)

  Bases: `Conflict`

  message = 'Placement inventory update conflict for resource provider %(resource_provider)s, resource class %(resource_class)s.'

exception neutron_lib.exceptions.placement.PlacementResourceClassNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Placement resource class not found %(resource_class)s'

exception neutron_lib.exceptions.placement.PlacementResourceNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Placement resource not found on url: %(url)s.'

exception neutron_lib.exceptions.placement.PlacementResourceProviderGenerationConflict(**kwargs)

  Bases: `Conflict`

  message = 'Placement resource provider generation does not match with the server side for resource provider: %(resource_provider)s with generation %(generation)s.'

exception neutron_lib.exceptions.placement.PlacementResourceProviderNameNotUnique(**kwargs)

  Bases: `Conflict`

  message = 'Another resource provider exists with the provided name: %(name)s.'

exception neutron_lib.exceptions.placement.PlacementResourceProviderNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Placement resource provider not found %(resource_provider)s.'

exception neutron_lib.exceptions.placement.PlacementTraitNotFound(**kwargs)

  Bases: `NotFound`

  message = 'Placement trait not found %(trait)s.'

exception neutron_lib.exceptions.placement.UnknownResourceProvider(**kwargs)

  Bases: `BadRequest`

  Resource provider not known by neutron backends.

  message = 'No such resource provider known by Neutron: %(rsc_provider)s'

this page last updated: 2026-03-03 11:51:03

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