#NEWLINE# @ atomic . action_timer ( 'murano.deploy_environment' ) #NEWLINE# def _deploy_environment( self , environment , session ) : #NEWLINE# #INDENT# 'Deploy environment.\n\n        :param environment: Environment instance\n        :param session: Session instance\n        ' #NEWLINE# self . clients ( 'murano' ) . sessions . deploy ( environment . id , session . id ) #NEWLINE# config = CONF . benchmark #NEWLINE# utils . wait_for ( environment , ready_statuses = [ 'READY' ] , update_resource = utils . get_from_manager ( [ 'DEPLOY FAILURE' ] ) , timeout = config . murano_deploy_environment_timeout , check_interval = config . murano_deploy_environment_check_interval )