Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index "pk_vm_icon_defaults" is not a btree #839

Open
jeffcpullen opened this issue Apr 23, 2023 · 0 comments
Open

Index "pk_vm_icon_defaults" is not a btree #839

jeffcpullen opened this issue Apr 23, 2023 · 0 comments
Labels

Comments

@jeffcpullen
Copy link

Affected version
4.5.4-1

  • oVirt Engine: ovirt-engine-4.5.4-1.el8.noarch
  • Host OS Variant: oVirt Node 4.4.10
  • VDSM version: vdsm-4.40.100.2-1.el8.x86_64
  • Additional relevant package versions: CentOS Stream 8

Describe the bug

Unable to run the engine-setup command with the error: index "pk_vm_icon_defaults" is not a btree

Failed to execute stage 'Setup validation': Failed checking Engine database: an exception occurred while validating the Engine database, index "pk_vm_icon_defaults" is not a btree

To reproduce

Not sure, may have been related to the bad postresql-jdbc package #322 that was installed to this system and then downgraded previously.

Expected behavior

Engine-setup completes as expected

Additional context

I'm not sure if this is a bug, or just a random data corruption issue. Putting this here for the next person because Google turned up nothing. Probably a one-off issue.

Running the following command fixed the issue and allowed engine-setup to complete.

/usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "reindex table vm_icon_defaults" 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant