"The rm upgrade failed at step 0"
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
Consumer Secret | Type a consumer secret for the application that you are registering to use. Jazz Team Server will automatically generate a consumer key. |
Comments
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)?
As soon as you can remember it. :)
2 other answers
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
It looks all right. Continue with the migration wizard then.
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" }