[RHV 4.3] engine-setup fails while upgrading an existing environment having VMs snapshots from version 4.3.4 to 4.3.5

Solution In Progress - Updated -

Issue

  • While upgrading an existing Red Hat Virtualization 4.3 environment, there were some VMs having snapshots, the engine-setup failed.

The log contained following Error:

2019-07-30 14:24:31,117+0000 DEBUG otopi.context context._executeMethod:145 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", line 437, in _validation
    self._checkSnapshotCompatibilityVersion()
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", line 212, in _checkSnapshotCompatibilityVersion
    'v': snapshot_cl,
UnboundLocalError: local variable 'snapshot_cl' referenced before assignment
2019-07-30 14:24:31,118+0000 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Setup validation': local variable 'snapshot_cl' referenced before assignment

Environment

  • Red Hat Virtualization 4.2
  • 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