Vertica Installation Fails with 'Failed to resolve booleanif statement'
search cancel

Vertica Installation Fails with 'Failed to resolve booleanif statement'

book

Article ID: 438822

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

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:1117
semodule: Failed!
Installation FAILED with errors.

This occurs even if SELinux is set to `Disabled` or `Permissive` in `/etc/selinux/config`.

Environment

DX NetOps Performance Management / Data Repository

Cause

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.

Resolution

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.

bash
sudo 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`