#NEWLINE# def delete_service_vm_real( self , context , vm_id ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . _nclient . servers . delete ( vm_id ) #NEWLINE# return True #NEWLINE# #UNINDENT# except ( nova_exc . UnsupportedVersion , nova_exc . CommandError , nova_exc . AuthorizationFailure , nova_exc . NoUniqueMatch , nova_exc . AuthSystemNotFound , nova_exc . NoTokenLookupException , nova_exc . EndpointNotFound , nova_exc . AmbiguousEndpoints , nova_exc . ConnectionRefused , nova_exc . ClientException , Exception ) as e : #NEWLINE# #INDENT# LOG . error ( _LE ( 'Failed to delete service VM instance %(id)s, due to %(err)s' ) , { #NEWLINE# #INDENT# 'id' : vm_id , #NEWLINE# 'err' : e , #NEWLINE# #UNINDENT# } ) #NEWLINE# return False