#NEWLINE# def _validate_additional_ng_scaling( self , cluster , additional ) : #NEWLINE# #INDENT# scalable_processes = self . _get_scalable_processes ( ) #NEWLINE# for ng_id in additional : #NEWLINE# #INDENT# ng = ug . get_by_id ( cluster . node_groups , ng_id ) #NEWLINE# if ( not set ( ng . node_processes ) . issubset ( scalable_processes ) ) : #NEWLINE# #INDENT# raise ex . NodeGroupCannotBeScaled ( cluster . name , ( _ ( 'Storm plugin cannot scale nodegroup with processes: %s' ) % ' ' . join ( ng . node_processes ) ) )