Why upgrading host is failing with error "Command '['vgchange', '-ay', '--select', 'vg_tags = imgbased:vg']' returned non-zero exit status 5"

Solution Verified - Updated -

Issue

  • Upgrading RHV host is failing with the below error in the imgbased logs.
2021-09-28 07:50:24,083 [DEBUG] (MainThread) Calling: (['vgchange', '-ay', '--select', 'vg_tags = imgbased:vg'],) {'close_fds': True, 'stderr': <open file '/dev/null', mode 'w' at 0x7fe2494c05d0>}
2021-09-28 07:50:24,251 [DEBUG] (MainThread) Exception!   11 logical volume(s) in volume group "rhvh" now active
subprocess.CalledProcessError: Command '['vgchange', '-ay', '--select', 'vg_tags = imgbased:vg']' returned non-zero exit status 5

Environment

  • Red Hat Virtualization 4.3.

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