Bug 1006907

Summary: RHEVM-BACKEND - Adding floating cluster to a DC fails without an error
Product: Red Hat Enterprise Virtualization Manager Reporter: Barak Dagan <bdagan>
Component: ovirt-engineAssignee: Ravi Nori <rnori>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, bdagan, iheim, lpeer, pstehlik, Rhev-m-bugs, rnori, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-15 06:58:08 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:

Description Barak Dagan 2013-09-11 13:32:36 UTC
Description of problem:
From web admin portal, editing floating cluster to be part of a DC - seems to do nothing.
There is no event nor an Alert. In engine log the following line can be found:

WARN  [org.ovirt.engine.core.bll.UpdateVdsGroupCommand] (ajp-/127.0.0.1:8702-9) CanDoAction of action UpdateVdsGroup failed. Reasons:VAR
__TYPE__CLUSTER,VAR__ACTION__UPDATE,VDS_GROUP_CANNOT_UPDATE_VDS_UP

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

How reproducible:
100%

Steps to Reproduce:
1. Create DC + cluster + host
2. remove DC
3. Add a new DC
4. Edit cluster and select the new DC (or an existing old one)

Actual results:
Nothing Happens - Edit window doesn't closed.

Expected results:
Edit window is closed, and cluster is added to DC

Additional info:

Comment 1 Ravi Nori 2013-09-12 16:40:41 UTC
Hi Barak,

Works with latest upstream master, can you see if you can reproduce the issue with the latest build.

Comment 2 Barak Dagan 2013-09-15 06:58:08 UTC
Verified again on is14.

1) With active host - got popup : "Error while executing action: Cannot change Cluster.Trying to connect Cluster to Data Center with Hosts that are up."

2) Host in maintenance: cluster connected.

same in CLI.