RHV: Host upgrade fails with the error :- semanage permissive -nl returned non-zero exit status

Solution Verified - Updated -

Issue

  • Upgrade of RHV-H fails with the following errors in the imgbased.log
[DEBUG] (MainThread) Exception! libsemanage.semanage_direct_get_module_info: Unable to read ovirt_vmconsole module lang ext file.
OSError: Error

Followed by

"Command '['semanage', 'permissive', '-nl']' returned non-zero exit status 1"

or

CalledProcessError: Command '['semanage', 'permissive', '-a', 'setfiles_t']' returned non-zero exit status 1

Environment

  • Red Hat Virtualization 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content