Friday, February 26, 2010

How to Resolve Data Incosistent in ClearQuest and ClearCase

How to Resolve Data Incosistent in ClearQuest and ClearCase
 
After ClearQuest and ClearCase Integration, users may happend to below error,
 
   Could not perform requested operation: a UCM/ClearQuest data
   inconsistency may exists:
   "activityxxxxx.xxxxx" was expected to be linked to a ClearQuest record, but is not.
 
 
What is the cause of the problem,
This occurs when there are multiple ClearQuest user databases with the same name as the one that is UCM enabled.
 
 
How to diagnosing the problem,
Run below command,
 
cleartool checkvob -ucm -force -crm_only project:<UCM_ENABLED_CC_PROJECT_NAME>@\PVOB_NAME
Note: this command will list all problem cc activities under ucm project
 
How to Resolving the problem,
Determine which connection to be removed
Run below 2 commands in order
 
cleartool checkvob -ucm -fix -crm_dbname <CLEARQUEST_USERDATABASE> -project project:<UCM_ENABLED_CC_PROJECT_NAME>
Note: this command will find a most likely record(for example,headline is same) in <CLEARQUEST_USERDATABASE> and match its id into cc activity
 
cleartool checkvob -ucm -fix -force -crm_only project:<UCM_ENABLED_CC_PROJECT_NAME>@\PVOB_NAME
Note: this command will create UCMActivities in CQ db if no matched cq records are found.

2 comments:

Anonymous said...

I love what you guys are up too. This sort of clever work and exposure!

Keep up the great works guys I've included you guys to my blogroll.
Also see my web page: Casino

Anonymous said...

Hi there would you mind sharing which blog platform you're working with? I'm looking to start my own blog in the near future but I'm having a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I'm looking for something unique.
P.S Sorry for getting off-topic but I had
to ask!

My web site xxxhardcoretubes.com