Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1117810

Summary: Attaching a previously created cluster(with host configured on it) to a new dc fails with internal error
Product: [Retired] oVirt Reporter: Ori Gofen <ogofen>
Component: ovirt-engine-webadminAssignee: Oved Ourfali <oourfali>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: acanan, ecohen, gklein, iheim, mgoldboi, oourfali, rbalakri, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:20:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm+engine logs none

Description Ori Gofen 2014-07-09 12:40:35 UTC
Created attachment 916760 [details]
vdsm+engine logs

Description of problem:
An edit operation of a single cluster(without dc) but with a host configured, (the host is in maintenance mode) fails with internal error.

the operation prompts an error message on UI:

"Error while executing action Edit Cluster properties: Internal Engine Error"

the engine throws a long exception as well:

2014-07-09 15:24:43,573 ERROR [org.ovirt.engine.core.bll.UpdateVdsGroupCommand] (ajp--127.0.0.1-8702-5) [3fe07e74] Command org.ovirt.engine.core.bll.UpdateVdsGroupCommand throw exception: javax.ejb.EJBTransactionRolledbackException ...

Version-Release number of selected component (if applicable):
alpha2

How reproducible:
100%

Steps to Reproduce:
1.create a dc+cluster,add host
2.remove dc,maintain host
3.create dc_1,edit cluster's dc properties and attach it to dc_1

Actual results:
failure

Expected results:
operation should be successful

Additional info:
regression

Comment 1 Ori Gofen 2014-07-24 15:22:28 UTC
verified on beta.1

Comment 2 Ori Gofen 2014-07-24 15:22:46 UTC
verified on beta.1

Comment 3 Sandro Bonazzola 2014-10-17 12:20:59 UTC
oVirt 3.5 has been released and should include the fix for this issue.