diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 8f937c23e..401752cbb 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -1284,6 +1284,11 @@ my @nodeattrs = ( tabentry => 'ppc.pprofile', access_tabentry => 'ppc.node=attr:node', }, + {attr_name => 'pprofile', + only_if => 'mgt=fsp', + tabentry => 'ppc.pprofile', + access_tabentry => 'ppc.node=attr:node', + }, {attr_name => 'parent', only_if => 'mgt=hmc', tabentry => 'ppc.parent', diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index 524c05d10..0d77a6166 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -1010,9 +1010,7 @@ sub resolve { ################################# foreach my $at ( @attribs ) { if ( !exists( $att->{$at} )) { - if ( $request->{fsp_api} == 1 && $at !~ /^pprofile$/ ) { return( sprintf( $errmsg{NO_ATTR}, $at, "ppc" )); - } } } #################################