kronos crashes for touch events
Motivation
----------
The handling of touch events in kronos does not convert the scope/datasetScope to a InternalScope object, which crashes the update the accessed_at timestamp for that file/dataset.


Modification
------------

Convert scopes for touch events to InternalScope

diff --git a/lib/rucio/daemons/tracer/kronos.py b/lib/rucio/daemons/tracer/kronos.py
index c33e13b13..a24c0e916 100644
--- a/lib/rucio/daemons/tracer/kronos.py
+++ b/lib/rucio/daemons/tracer/kronos.py
@@ -239,7 +239,7 @@ class AMQConsumer(object):
                             logging.error(format_exc())
                             record_counter('daemons.tracer.kronos.rse_not_found')
                     if 'datasetScope' in report:
-                        self.__dataset_queue.put({'scope': report['datasetScope'], 'name': report['dataset'], 'rse_id': rse_id, 'accessed_at': datetime.utcfromtimestamp(report['traceTimeentryUnix'])})
+                        self.__dataset_queue.put({'scope': InternalScope(report['datasetScope']), 'name': report['dataset'], 'rse_id': rse_id, 'accessed_at': datetime.utcfromtimestamp(report['traceTimeentryUnix'])})
                         continue
                     else:
                         if 'remoteSite' not in report:
['lib/rucio/daemons/tracer/kronos.py']