'Create a project in the heat stack-user domain.'

def create_stack_domain_project(self, stack_id):

    if (not self.stack_domain):
        return self.context.tenant_id
    project_name = ('%s-%s' % (self.context.tenant_id, stack_id))[:64]
    desc = 'Heat    stack    user    project'
    domain_project = self.domain_admin_client.projects.create(name=project_name, domain=self.stack_domain_id, description=desc)
    return domain_project.id
