Bug 1249631
Summary: | [Pools] - Failing to create New VM's Pools via UI based on vm template | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Michael Burman <mburman> | ||||
Component: | ovirt-engine-webadmin | Assignee: | Roy Golan <rgolan> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 3.6 | CC: | alukiano, bugs, cmestreg, ecohen, gklein, istein, lsurette, mburman, mgoldboi, michal.skrivanek, ratamir, rbalakri, rgolan, sbonazzo, yeylon | ||||
Target Milestone: | --- | Keywords: | Regression, Triaged | ||||
Target Release: | 3.6.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | sla | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-11-04 11:38:16 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1167284 | ||||||
Attachments: |
|
Description
Michael Burman
2015-08-03 12:57:28 UTC
seems related to VM pinning to multiple hosts feature 2015-08-03 15:37:00,074 ERROR [org.ovirt.engine.core.bll.AddVmCommand] (org.ovirt.thread.pool-8-thread-32) [] Command 'org.ovirt.engine.core.bll.AddVmCommand' failed: Callabl eStatementCallback; SQL [{call insertvmstatic(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}]; ERROR: duplicate key value violates unique constraint "vm_host_pinning_map_vm_id_key" Where: SQL statement "INSERT INTO vm_host_pinning_map(vm_id, vds_id) SELECT $1 , vds_id FROM fnSplitterUuid( $2 ) as vds_id" PL/pgSQL function "insertdedicatedhoststovm" line 2 at SQL statement SQL statement "SELECT InsertDedicatedHostsToVm( $1 , $2 )" PL/pgSQL function "insertvmstatic" line 149 at PERFORM; nested exception is org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "vm_host_ pinning_map_vm_id_key" it might also be a db upgrade issue, is this a new setup or upgraded? i could not reproduce this on master Hi Omer, It's upgraded setup. May be the template that i'm trying to create pool from is locked in db? although the status of this template is OK. Omer, if you want you can enter my setup and see it, it's still there. feel free to contact me, thanks. that's a bug in the stored procedure. *** Bug 1251148 has been marked as a duplicate of this bug. *** *** Bug 1252396 has been marked as a duplicate of this bug. *** *** Bug 1254582 has been marked as a duplicate of this bug. *** Verified on rhevm-3.6.0-0.12.master.el6.noarch oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue. If problems still persist, please open a new BZ and reference this one. |