Upgrading from 4.2 to 5.5 using dtmigration, and it appears that none of our roles have been migrated. The 4.2 server/conf/user.permissions.xml has:
<role description="Default role for developers" name="Developer">
<permissions>
<permission id="AnalyzeIncident" />
<permission id="com.dynatrace.diagnostics.ci.changeAssignment" />
<permission id="com.dynatrace.diagnostics.server.shared.analyzer:com.dynatrace.diagnostics.ria.BrowserServerSideAnalyzer" />
<permission id="AnalyzeGUIControls" />
...
While the 5.5 server/conf/user.permissions.xml has no role called "Developer".
Is this a known issue with dtmigration, or is there some other method that must be used to migrate roles from one version to the next?
Answer by Santiago G. ·
We recently migrated to 5.5.0. When you used the dtmigration tool, it should have created user.permissions.xml.toBeMigrated file. This file I believe contains your previous configuration. This file should be same location as the user.permission.xml file.
Have you checked and see if that one has the roles that you are missing?
Regards
Nope, that file was not created as part of the migration. The only '.toBeMigrated' files we have are:
server/conf/keystore.jks.toBeMigrated
dtcollector.ini.toBeMigrated
dtanalysisserver.ini.toBeMigrated
dtserver.ini.toBeMigrated
Hi Eric,
as already mentioned by Palacios, the 4.2 server/conf/user.permissions.xml
should have been copied to 5.5 server/conf/user.permissions.xml.toBeMigrated
. Only if there is no 5.5 server/conf/user.permissions.xml
existing, it's copied without renaming.
Could it be that this happened here?
Regards,
Anita
No, as I pointed out above, there was no user.permissions.xml.ToBeMigrated, and the 5.5 user.permissions.xml file did not have out roles in it. The migration program appears to have a bug in it where it is not migrating this file.
Hi Eric,
Do you still have the user.permissions.xml file from 4.2? I am not sure how different the file is from 5.0, but if you still have it, what I did in an environment I created for personal use (5.0 migrating to 5.5) is just copy that permissions piece from one file to another. This worked for me. Just make sure you have a backup of the files in case you need to revert.
Santiago
Just want to confirm that we faced the same issue when migrating from 5.0 to 5.5 using the dtmigration tool.
Another update, we upgraded a different environment and we found if we restarted the dynaTrace server twice, the roles did indeed show up.
Details:
Initially, we checked the user.permissions.xml and they did have the roles to be moved over. We started the dynaTrace server and found that the roles did not show up properly in the client. We then restarted the server again with no changes made, and the user roles populated as expected.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET