# neutron_lib.exceptions.qos module

exception neutron_lib.exceptions.qos.FloatingIPQosBindingError(**kwargs)

  Bases: `NeutronException`

  message = 'QoS binding for floating IP %(fip_id)s and policy %(policy_id)s could not be created: %(db_error)s.'

exception neutron_lib.exceptions.qos.FloatingIPQosBindingNotFound(**kwargs)

  Bases: `NotFound`

  message = 'QoS binding for floating IP %(fip_id)s and policy %(policy_id)s could not be found.'

exception neutron_lib.exceptions.qos.NetworkQosBindingError(**kwargs)

  Bases: `NeutronException`

  message = 'QoS binding for network %(net_id)s and policy %(policy_id)s could not be created: %(db_error)s.'

exception neutron_lib.exceptions.qos.NetworkQosBindingNotFound(**kwargs)

  Bases: `NotFound`

  message = 'QoS binding for network %(net_id)s and policy %(policy_id)s could not be found.'

exception neutron_lib.exceptions.qos.PolicyRemoveAuthorizationError(**kwargs)

  Bases: `NotAuthorized`

  message = 'Failed to remove provided policy %(policy_id)s because you are not authorized.'

exception neutron_lib.exceptions.qos.PortQosBindingError(**kwargs)

  Bases: `NeutronException`

  message = 'QoS binding for port %(port_id)s and policy %(policy_id)s could not be created: %(db_error)s.'

exception neutron_lib.exceptions.qos.PortQosBindingNotFound(**kwargs)

  Bases: `NotFound`

  message = 'QoS binding for port %(port_id)s and policy %(policy_id)s could not be found.'

exception neutron_lib.exceptions.qos.QoSPolicyDefaultAlreadyExists(**kwargs)

  Bases: `Conflict`

  message = 'A default QoS policy exists for project %(project_id)s.'

exception neutron_lib.exceptions.qos.QoSRuleParameterConflict(**kwargs)

  Bases: `Conflict`

  message = 'Unable to add the rule with value %(rule_value)s to the policy %(policy_id)s as the existing rule of type %(existing_rule)s has value %(existing_value)s.'

exception neutron_lib.exceptions.qos.QoSRulesConflict(**kwargs)

  Bases: `Conflict`

  message = 'Rule %(new_rule_type)s conflicts with rule %(rule_id)s which already exists in QoS Policy %(policy_id)s.'

exception neutron_lib.exceptions.qos.QosPlacementAllocationConflict(**kwargs)

  Bases: `Conflict`

  message = 'Allocation for consumer %(consumer)s is not possible on resource provider %(rp)s, the requested amount of bandwidth would exceed the capacity available.'

exception neutron_lib.exceptions.qos.QosPlacementAllocationUpdateConflict(**kwargs)

  Bases: `Conflict`

  message = 'Updating placement allocation with %(alloc_diff)s for consumer %(consumer)s failed. The requested resources would exceed the capacity available.'

exception neutron_lib.exceptions.qos.QosPolicyInUse(**kwargs)

  Bases: `InUse`

  message = 'QoS Policy %(policy_id)s is used by %(object_type)s %(object_id)s.'

exception neutron_lib.exceptions.qos.QosPolicyNotFound(**kwargs)

  Bases: `NotFound`

  message = 'QoS policy %(policy_id)s could not be found.'

exception neutron_lib.exceptions.qos.QosRuleNotFound(**kwargs)

  Bases: `NotFound`

  message = 'QoS rule %(rule_id)s for policy %(policy_id)s could not be found.'

exception neutron_lib.exceptions.qos.QosRuleNotSupported(**kwargs)

  Bases: `Conflict`

  message = 'Rule %(rule_type)s is not supported by port %(port_id)s'

exception neutron_lib.exceptions.qos.QosRuleNotSupportedByNetwork(**kwargs)

  Bases: `Conflict`

  message = 'Rule %(rule_type)s is not supported by network %(network_id)s'

exception neutron_lib.exceptions.qos.RouterQosBindingError(**kwargs)

  Bases: `NeutronException`

  message = 'QoS binding for router %(router_id)s gateway and policy %(policy_id)s could not be created: %(db_error)s.'

exception neutron_lib.exceptions.qos.RouterQosBindingNotFound(**kwargs)

  Bases: `NotFound`

  message = 'QoS binding for router %(router_id)s gateway and policy %(policy_id)s could not be found.'

exception neutron_lib.exceptions.qos.TcLibQdiscNeededArguments(**kwargs)

  Bases: `NeutronException`

  message = 'TC Qdisc type %(qdisc_type)s needs following arguments: %(needed_arguments)s.'

exception neutron_lib.exceptions.qos.TcLibQdiscTypeError(**kwargs)

  Bases: `NeutronException`

  message = 'TC Qdisc type %(qdisc_type)s is not supported; supported types: %(supported_qdisc_types)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