'Fill in domain_id since v2 calls are not domain-aware.
This will overwrite any domain_id that was inadvertently
specified in the v2 call.'

def _normalize_domain_id(self, request, ref):

    ref['domain_id'] = CONF.identity.default_domain_id
    return ref
