When installing or upgrading the Data Repository (Vertica) for DX NetOps Performance Management, the installation fails during the `install_vertica` phase with the following error in the console or installation logs:
(#.#.#.#) Installation failed: failed to resolve booleanif statement at /var/lib/selinux/targeted/tmp/modules/100/vertica/cil:1117semodule: Failed!Installation FAILED with errors.
This occurs even if SELinux is set to `Disabled` or `Permissive` in `/etc/selinux/config`.
DX NetOps Performance Management / Data Repository
The Vertica installer attempts to compile and load a custom SELinux security module during the installation process. The error `failed to resolve booleanif statement` indicates that the Vertica security module is referencing a specific security "boolean" (an on/off switch) that is not defined in the operating system's current SELinux policy dictionary.
This is typically caused by outdated SELinux policy packages on the host, leading to a mismatch between what the installer expects and what the OS provides. Even when SELinux is disabled, the system still maintains a policy store that the compiler validates against.
To resolve this issue, you must update the SELinux policy packages to ensure the system's policy store contains the necessary definitions.
Update SELinux Policy Packages
Run the following command on all nodes in the Data Repository cluster (especially the node(s) reporting the failure):
This command will make changes to your system. Review it carefully before running.
bashsudo yum update selinux-policy selinux-policy-targeted -y
After the policy update (and reboot, if applicable), then re-run the Data Repository installation script
If the issue persists, review the detailed Vertica installation log located at:
`/opt/vertica/log/install.log`