Symptoms
The rpm custom plugin was installed, running post-configuration script configure.pl
fails:
Could not parse ./update_perms.pl: DBD::Pg::st execute failed: ERROR: insert or update on table "MethodToPrivilege" violates foreign key constraint "MethodToPrivilege_MethodID"
DETAIL: Key (MethodID)=(5757) is not present in table "Method". at ./update_perms.pl line 100.
Could not do ./update_perms.pl: at /usr/local/bm/tools/configure.pl line 194.
Could not run ./update_perms.pl at /usr/local/bm/tools/configure.pl line 195.
DBD::Pg::st execute failed: ERROR: insert or update on table "MethodToPrivilege" violates foreign key constraint "MethodToPrivilege_MethodID"
DETAIL: Key (MethodID)=(5757) is not present in table "Method". at ./update_perms.pl line 100.
...propagated at /usr/local/bm/tools/configure.pl line 196.
Cause
The custom plugin name is mentioned in the files /usr/local/bm/etc/ssm.conf.d/containers-list.dist
and /usr/local/bm/etc/ssm.conf.d/containers-list.dist.PLUGIN_NAME
Starting from PBA 5.4.11, it is no longer required to make changes to the /usr/local/bm/etc/ssm.conf.d/containers-list.dist
file in order to add containers built with SDK to a PBA installation.
Resolution
- Check that the plugin is developed in accordance with the instructions from the article https://kb.parallels.com/115359
- Remove the custom plugin name from
/usr/local/bm/etc/ssm.conf.d/containers-list.dist
- Re-run configure.pl