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

Bug 951905

Summary: engine [TEXT]: unclear message when trying to create a new pool and there is no active host in the DC
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Maor <mlipchuk>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, amureini, iheim, jkt, lpeer, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: is2 Doc Type: Bug Fix
Doc Text:
When trying to attach a domain to a data center with no active host, an error message of “Cannot edit repository” appears. This has been fixed, and when reproduced, the appropriate error of “Cannot attach domain” appears.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:20:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log none

Description Dafna Ron 2013-04-14 09:24:03 UTC
Created attachment 735553 [details]
log

Description of problem:

I created a DC and host attached to it was in maintenance.
when I tried adding a domain I got the following error:

Cannot edit Repository. There is no active Host in the Data Center.

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

sf13.1

How reproducible:

100%

Steps to Reproduce:
1. create an unattached domain
2. put one host in maintenance
3. create a new DC and cluster using wizard and select the host that you put in mainennace.
4. under Data Center tab -> select storage sub tab -> attach -> select unattached domain
4.
 
Actual results:

Cannot edit Repository. There is no active Host in the Data Center.

Expected results:

"Cannot edit Repository" should be removed and replaced with "cannot attach domain"

Additional info: log

2013-04-14 12:22:13,461 INFO  [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (ajp-/127.0.0.1:8702-1) Lock Acquired to object EngineLock [exclusiveLocks= key: 9bde1b28-3c86-4229-a3db-10238193fe02 value: POOL
, sharedLocks= ]
2013-04-14 12:22:13,464 WARN  [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (ajp-/127.0.0.1:8702-1) CanDoAction of action AddStoragePoolWithStorages failed. Reasons:VAR__TYPE__STORAGE__POOL,VAR__ACTION__UPDATE,ACTION_TYPE_FAILED_NO_VDS_IN_POOL

Comment 1 Aharon Canan 2013-07-15 12:09:08 UTC
verified using is5

"Cannot attach Storage. There is no active Host in the Data Center."

Comment 2 Itamar Heim 2014-01-21 22:20:16 UTC
Closing - RHEV 3.3 Released

Comment 3 Itamar Heim 2014-01-21 22:25:59 UTC
Closing - RHEV 3.3 Released