Bug 1206440

Summary: Typos in CDA message when importing a "dirty" SD to an uninitialized DC
Product: [Retired] oVirt Reporter: Allon Mureinik <amureini>
Component: ovirt-engine-coreAssignee: Allon Mureinik <amureini>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: high    
Version: 3.5CC: bugs, ecohen, gklein, lsurette, mlipchuk, rbalakri, yeylon, ylavi
Target Milestone: ---Keywords: StringChange
Target Release: 3.5.2Flags: amureini: ovirt_requires_release_note-
Hardware: All   
OS: Linux   
Whiteboard: storage
Fixed In Version: org.ovirt.engine-root-3.5.1-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-29 06:17:30 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:
Bug Depends On:    
Bug Blocks: 1193058    

Description Allon Mureinik 2015-03-27 05:38:40 UTC
Description of problem:
Importing a storage domain with leftover metadata from an old pool to an unitialized DC will fail with a CDA message (introduced by bug 1138126 and backported by bug 1178646).
This message contains typos.

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

How reproducible:
100%

Steps to Reproduce:
1. Create a DC with a domain.
2. Shut down engine+VDSM
3. Install a new setup
4. Create a DC with no domains
5. Attempt to import the domain and attach to that DC

Actual results:
CDA message:
"The Storage Domain is already attached to a different Data Center and cannot be attcahed to an uninitialized Data Center.\n\
 -Please attach a differenet Data Domain to the Data Center first."

Expected results:
Fix the typos:
"Cannot ${action} ${type}.\n\
 The Storage Domain is already attached to a different Data Center and cannot be attached to an uninitialized Data Center.\n\
 -Please attach a different Data Domain to the Data Center first."

Additional info:

Comment 1 Elad 2015-04-05 12:35:50 UTC
Imported and attached a storage domain to an uninitialized DC, this is the CDA I got:	
	
Operation Canceled
Error while executing action: Cannot attach Storage.
The Storage Domain is already attached to a different Data Center and cannot be attached to an uninitialized Data Center.
-Please attach a different Data Domain to the Data Center first.


Verified using rhev 3.5.1 vt14.2

Comment 2 Eyal Edri 2015-04-29 06:17:30 UTC
ovirt 3.5.2 was GA'd. closing current release.