def _get_instance_start_time(self, instance):
        try:
            launch_time = instance.to_dict()['OS-SRV-USG:launched_at']
            d = dateparse.parse_datetime(launch_time)
        except (KeyError, __HOLE__):
            return None
        else:
            # At the moment OpenStack does not provide any timezone info,
            # but in future it might do.
            if timezone.is_naive(d):
                d = timezone.make_aware(d, timezone.utc)
            return d
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/iaas/backend.py/OpenStackBackend._get_instance_start_time