+ try:
+ # Get project details from commondb
+ project_details = self.common_db.get_project(project_id)
+ project_name = project_details["name"]
+ except Exception as e:
+ # Project not found in commondb
+ if self.keystone:
+ # Serach project in keystone
+ for project in projects:
+ if project_id == project['_id']:
+ project_name = project["name"]
+ else:
+ log.info('Project %s not found', project_id)
+ log.debug('Exception %s' % e)