def setup(self):
        """ Configures the VM """
        self.load_user_manager()
        try:
            self.user_manager.configure(self.session_id)
            if DEBUG:
                print "t_configured"
        except Exception as ex:
            self.error = ex
            self.is_error = True

            log.log(
                VMExperiment,
                log.level.Error,
                "Error configuring user manager: %s" % ex
            )
            log.log_exc(
                VMExperiment,
                log.level.Warning
            )
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/experiments/vm/server.py/VMExperiment.setup/original