It's all about the answers!

Ask a question

"The rm upgrade failed at step 0"


Erich Wolz (1622711) | asked Sep 25 '12, 1:17 p.m.
retagged Nov 05 '12, 12:27 p.m. by Bo Chulindra (1.3k2718)
I had a JTS v3 server that I installed some time ago for a project that we ended up no-bidding, so I haven't done anything with JTS until now (I now have a group that wants to use RRC, and the documentation for RRC says it uses JTS and the other applications... so I began the upgrade of my server to V4).

I made it through the JTS, CCM, and QM upgrades, but get the following when I try to upgrade RM:

CRJAZ2037E There should be one friend entry in the RM friends configuration file "/opt/IBM/JazzTeamServer_1/server/conf/rm/friendsconfig.rdf".

The rm upgrade failed at step 0.  Correct the problem and run the script again starting at step 0.

JazzTeamServer_1 is the program group created during the v3 install (and JazzTeamServerV4 is my program group created during the v4 install).  I don't remember having to configure any "friends" when I installed the V3 server and apps however long ago, so I am not sure how to proceed.  I do remember having registered the CLM apps during setup when I installed the V3 server in the first place, so I elected to (temporarily) skip past the RM upgrade and start WAS and deploy the V4 applications (hoping to be able to register RM and that that would take care of configuring the needed "friends"). 

However, I'm not sure how to register the /rm application (and "cross-friend" it with /ccm and /qm).  The most likely place seems to be via /jts/admin#action=com.ibm.team.repository.admin.registeredApplications (which says, among other things, that "The Jazz Team Server will automatically generate a consumer key for the application, which can be copied and pasted into the application's configuration (for applications that require manual configuration). " -- but when I click the "Add..." link, that dialog asks me to specify a "consumer secret" (which I assume is the same as a "consumer key"). 

Where do I get this "consumer secret" from?  Any ideas how to proceed?

Accepted answer


permanent link
Clement Liu (1.5k54249) | answered Sep 25 '12, 1:49 p.m.
Yes, that's the place where you register your /rm. And have a look at this post before you do that:

And the definition of  "consumer secret" vs. "consumer key":


This string, also called an OAuth consumer secret, acts as a password to access the friend server.

http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.jazz.repository.web.admin.doc/topics/t_register.html?resultof=%22Registered%22%20%22regist%22%20%22Applications%22%20%22applic%22%20

Consumer Secret Type a consumer secret for the application that you are registering to use. Jazz Team Server will automatically generate a consumer key.
Erich Wolz selected this answer as the correct answer

Comments
Erich Wolz commented Sep 25 '12, 3:31 p.m. | edited Sep 25 '12, 3:36 p.m.

have a look at this post before you do that:

My friendsconfig.rdf file doesn't look anything like the one in that post; mine looks like :

<?xml version="1.0" encoding="UTF-8"?>
<rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:jfs="http://jazz.net/xmlns/prod/jazz/jfs/1.0/" <br=""/> xmlns:jd="http://jazz.net/xmlns/prod/jazz/discovery/1.0/"
xmlns:dc="http://purl.org/dc/terms/">;

</rdf:rdf>

acts as a password to access the friend server.

Any "gotcha's" to be aware of when picking a consumer secret (since I don't know what "secret" was chosen by the setup wizard when V3 was installed)?


Clement Liu commented Sep 25 '12, 5:10 p.m.

As soon as you can remember it. :)

2 other answers



permanent link
Erich Wolz (1622711) | answered Sep 25 '12, 5:02 p.m.
I registered my V4 RM, but was unable to create a new lifecycle project; I got:

Error instantiating the template: CRJCA0009E The request could not be completed, because a 403 Forbidden status was returned. The request URI was https://houaxpcm01.houston.ibm.com:9443/rm/projects. For more details, open the help system and search for CRJCA0009E.
hide details

Error Stacktrace:

com.ibm.team.lpa.automation.TaskException: CRJCA0009E The request could not be completed, because a 403 Forbidden status was returned. The request URI was https://houaxpcm01.houston.ibm.com:9443/rm/projects. For more details, open the help system and search for CRJCA0009E. at com.ibm.team.lpa.common.tasks.AbstractTask.handleError(AbstractTask.java:143) at com.ibm.team.lpa.common.tasks.CreateProjectTask.runTask(CreateProjectTask.java:170) at com.ibm.team.lpa.common.tasks.AbstractTask.run(AbstractTask.java:56) at com.ibm.team.lpa.automation.CompositeTask.run(CompositeTask.java:208) at com.ibm.team.lpa.automation.CompositeTask$MonitoredSubTask.run(CompositeTask.java:124) at com.ibm.team.lpa.automation.CompositeTask.run(CompositeTask.java:208) at com.ibm.team.lpa.common.tasks.LoggingCompositeTask.run(LoggingCompositeTask.java:37) at com.ibm.team.lpa.automation.AsyncTask$TaskRunner.run(AsyncTask.java:40) at java.lang.Thread.run(Thread.java:738)

 
Guessing that I probably still needed to successfully complete the RM upgrade script, I copied the "friend" lines from the V4 friendsconfig.rdf to the V3 one (so that the upgrade script would at least find the friend it was looking for), and reran the upgrade.  This time, I got:

The offline portion of the RM upgrade succeeded.  RM upgrade process to version 4.0 places the Jazz Team Server in read-only mode from the time you restart the RM application until you complete the on-line migration wizard.  Start the server and open your browser, clear the browser cache, and navigate to the RM web client. Specify the server name and port in the following URL: https://hostname.example.com:port/rm/web/projects/migration. The default port is 9443. This page detects that a migration is in progress and starts the Migration wizard.










Comments
Clement Liu commented Sep 25 '12, 5:09 p.m. | edited Sep 25 '12, 5:11 p.m.

It looks all right. Continue with the migration wizard then.


Erich Wolz commented Sep 26 '12, 3:25 p.m.

The Migration Wizard completed successfully, but only after I installed a non-floating Quality Professional license. I got the following message, even with a Quality Professional-Floating license already unlocked and active (at least, according to the License Key Management page):

{ "detailedMessage": "CRJAZ0972I The \"com.ibm.rrs.saveComment\" operation was forbidden because the \"Quality Professional\" license is currently deactivated. (More info found at entry [3d94906c4187303a] in RRS server log)", "errorMessage": "Forbidden", "errorStatus": "403" }


permanent link
Clement Liu (1.5k54249) | answered Sep 26 '12, 10:18 p.m.
Try the link(change hostname and port # for your environment) in comment 10 of this work item:


Comments
Erich Wolz commented Sep 27 '12, 2:43 p.m.

I had to change the host name and the userid (rather than the hostname and the port number), and got: "This XML file does not appear to have any style information associated with it. The document tree is shown below."

The document tree itself won't fit here (too many characters to paste).

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.