'Disassociate a qos specs from all volume types.'

def disassociate_all(self, req, id):

    context = req.environ['cinder.context']
    authorize_update(context)
    LOG.debug('Disassociate    qos_spec:    %s    from    all.', id)
    try:
        qos_specs.disassociate_all(context, id)
        notifier_info = dict(id=id)
        rpc.get_notifier('QoSSpecs').info(context, 'qos_specs.disassociate_all', notifier_info)
    except exception.QoSSpecsNotFound as err:
        notifier_err = dict(id=id, error_message=err)
        self._notify_qos_specs_error(context, 'qos_specs.disassociate_all', notifier_err)
        raise
    except exception.QoSSpecsDisassociateFailed as err:
        notifier_err = dict(id=id, error_message=err)
        self._notify_qos_specs_error(context, 'qos_specs.disassociate_all', notifier_err)
        raise webob.exc.HTTPInternalServerError(explanation=six.text_type(err))
    return webob.Response(status_int=http_client.ACCEPTED)
