Release Notes
Making open source more inclusive
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see our CTO Chris Wright’s message.
1. Introduction
Migration Toolkit for Applications 7.0 accelerates large-scale application modernization efforts across hybrid cloud environments on Red Hat OpenShift. This solution provides insight throughout the adoption process, at both the portfolio and application levels: inventory, assess, analyze, and manage applications for faster migration to OpenShift via the user interface.
2. MTA 7-0-2
2.1. New features
This section describes the new features and improvements of the Migration Toolkit for Applications (MTA) 7.0.2.
In MTA 7.0.2, multiarch support for for MTA CLI is introduced. Multiarch support includes both ARM architecture on Linux machines and Apple Silicon Macs.
2.2. Known issues
Migration Toolkit for Applications (MTA) version 7.0.2 has the following known issues.
In MTA 7.0.2, connecting to a Jira server using basic authentication, meaning username and password, fails. This issue is scheduled to be resolved in MTA 7.0.3. (MTA-2427)
In MTA 7.0.2, it is not possible to turn on the Enable insecure communication
switch when creating or editing a Jira instance. This issue is scheduled to be resolved in MTA 7.0.3. (MTA-2426)
For a complete list of all known issues in this release, see the list of Known Issues in Jira.
2.3. Resolved issues
The following highlighted issues have been resolved in Migration Toolkit for Applications (MTA) version 7.0.2.
A flaw was found in versions of the Golang standard library go/parser
, before Go 1.17.12 and Go 1.18.4. When calling any Parse functions on the Go source code, which contains deeply nested types or declarations, a panic can occur due to stack exhaustion. This issue allows an attacker to impact system availability.
For more details, see (CVE-2022-1962).
In previous versions of MTA 7.0, there was an issue with the Command-line interface (CLI) not functioning as expected on ARM CPU architecture.
-
MTA CLI does not work on Mac ARM-based machines. (MTA-2160)
-
MTA CLI does not work on Linux ARM-based machines. (MTA-2351)
These issues have been resolved in MTA 7.0.2.
In previous versions of MTA 7.0, the text below graphs was missing on the Reports page. This has been resolved in MTA 7.0.2. (MTA-1868)
In progress
instead of Not started
In previous versions of MTA 7.0, the Assessment status was In progress
instead of Not started
when the application was associated with an archived questionnaire. This has been resolved in MTA 7.0.2. (MTA-1956)
Use Refresh Tokens
breaks MTA UIIn previous versions of MTA, turning off the Use Refresh Tokens
, which is a feature in the Red Hat build of Keycloak, could have adversely impacted MTA. This has been resolved in MTA 7.0.2. (MTA-1255)
In previous versions of MTA 7.0, exporting a questionnaire could include unnecessary metadata. This unnecessary metadata had the potential to make reimporting the questionnaire a more difficult task, as it might conflict with already existing data. This has been resolved in MTA 7.0.2, with exports not including any environment-specific data. (MTA-1721)
In previous versions of MTA, source and dependency analysis of applications built with Java Development Kits (JDKs) earlier than version 11 could fail before compilation was completed. This has been resolved in MTA 7.0.2. (MTA-1785)
In previous versions of MTA 7.0, the application drawer incorrectly showed that the associated archetypes had been assessed, when there were no required questionnaires and when an application was associated with unassessed archetypes. This has been resolved in MTA 7.0.2. (MTA-1967)
In previous versions of MTA 7.0, inherited assessment tags should have been listed as assessment tags instead of archetype tags on the app drawer. This has been resolved in MTA 7.0.2. (MTA-1972)
Completed
instead of Not started
for inherited assessment after the questionnaire is archivedIn previous versions of MTA 7.0, the Application Assessment status showed Completed
instead of Not started
for inherited assessment after the questionnaire was archived. This has been resolved in MTA 7.0.2. (MTA-1973)
In previous versions of MTA 7.0, the Application inventory page showed no applications after accessing dependencies. This has been resolved in MTA 7.0.2. (MTA-2007)
In previous versions of MTA 7.0, dependencies did not filter and navigate to the affected applications, instead of showing only the affected applications. This has been resolved in MTA 7.0.2. (MTA-2008)
unable to connect
message seen on the Single Application issues pageIn previous versions of MTA 7.0, on an analysis clicking on Issues and then navigating to the Single application page, no data was shown and an Unable to connect
message was shown. There was an error retrieving data, showing a Check your connection and try again
error. This has been resolved in MTA 7.0.2. (MTA-2047)
In previous versions of MTA 7.0, issues occasionally contained variable names instead of values. This has been resolved in MTA 7.0.2. (MTA-2067)
In previous versions of MTA 7.0, rules from technology usage appeared as issues. This has been resolved in MTA 7.0.2. (MTA-2099)
In previous versions of MTA 7.0, there was no version flag for the MTA CLI, such as mta-cli --version
to show the current version installed. This has been resolved in MTA 7.0.2. (MTA-2201)
In previous versions of MTA 7.0, the Application list in the Archetype side drawer did not scale well when a large number of applications were associated with the archetype. It is likely that a massive number of applications could cause the drawer not to load properly. This has been resolved in MTA 7.0.2. (MTA-2283)
For a complete list of all issues resolved in this release, see the list of Resolved Issues in Jira.
2.4. Upgrade notes
The following are upgrade notes for Migration Toolkit for Applications (MTA)
Upgrade directly from MTA 6.2.1 to MTA 7.0.2.
In previous version of MTA 7.0.0, when MTA 6.2.1 is installed, and you attempt to switch the channel to stable-7.0
, the operator upgrade succeeds, but a task in the operator pod fails. This failure resulted in existing pathfinder assessments not being migrated to MTA 7.0.0. As this bug has been resolved in MTA 7.0.1, it is suggested to upgrade directly from MTA 6.2.1 to MTA 7.0.2. MTA-2139
Important
|
Enabling questionnaire for assessments
On upgrading from MTA 6.2.1 to MTA 7.0.1 , completed assessment are shown as In progress. Enable the legacy Pathfinder questionnaire to see the completed status of assessment. |
In version 7.0.2 of MTA, the default size of the hub database volume has been increased to 10GiB.
If your storage class does not support volume expansion, then an upgrade from 6.2.1 to 7.0.2 will result in a failure due to the operator trying to change the volume size from 5GiB to 10GiB.
To avoid this issue, you can directly set the volume size by setting:
...
hub_database_volume_size: 5Gi
...
By doing this, you will avoid the operator trying to resize the volume.
If this value was set when the previous version was deployed, there is no need to take any action, as it will work as expected.
When upgrading to MTA 7.0.0, all existing data will be retained, except for individual analysis reports for applications.
As both the analysis and reporting engines have been replaced with this version, you will be required to conduct a re-run of the analysis in order to obtain data on issues and dependencies.
3. MTA 7-0-1
3.1. Known issues
Migration Toolkit for Applications (MTA) version 7.0.1 has the following issues.
MTA CLI does not function on machines using ARM based architecture. The workaround is to use the upstream images, which will function as expected as they are built using multi-arch. To do this, issue:
RUNNER_IMG=quay.io/konveyor/kantra:latest CMD_NAME=kantra ./mta-cli analyze ...
RBAC
When deleting, deactivating or degrading the role of a user, such as changing the user from Admin
to Migrator
, the change can take several minutes to take effect. This delay in changing the user status can pose an operational or security risk. MTA-1809
Keycloak is enabled by default. If you disable and then re-enable Keycloak, you cannot perform any actions in the MTA web console after logging in again.
This error is caused as the credential-mta-rhsso
secret is updated when auth/Keycloak
is disabled and re-enabled.
The suggested workaround is to restore the old password in the credential-mta-rhsso
secret, after re-enabling auth
. MTA-1152
The org.apache.derby.derby
dependency is not analyzed. MTA-1817
The system repeatedly shows a warning message about overriding an inherited assessment when reassessing an application.
This warning, appropriate for the first assessment, incorrectly reappears on subsequent reassessments, suggesting that the application is still inheriting its assessment, even after it has been overridden. MTA-1825
For a complete list of all known issues in this release, see the list of Known Issues in Jira.
3.2. Resolved issues
The following highlighted issues have been resolved in Migration Toolkit for Applications (MTA) version 7.0.1.
In previous version of MTA 7.0.0, when MTA 6.2.1 is installed, and you attempt to switch the channel to stable-7.0
, the operator upgrade succeeds, but a task in the operator pod fails. This failure resulted in existing pathfinder assessments not being migrated to MTA 7.0.0. This bug is resolved in MTA 7.0.1. MTA-2139
For a complete list of all issues resolved in this release, see the list of Resolved Issues in Jira.
3.3. Upgrade notes
The following are upgrade notes for Migration Toolkit for Applications (MTA)
Upgrade directly from MTA 6.2.1 to MTA 7.0.1.
In previous version of MTA 7.0.0, when MTA 6.2.1 is installed, and you attempt to switch the channel to stable-7.0
, the operator upgrade succeeds, but a task in the operator pod fails. This failure resulted in existing pathfinder assessments not being migrated to MTA 7.0.0. As this bug has been resolved in MTA 7.0.1, it is suggested to upgrade directly from MTA 6.2.1 to MTA 7.0.1. MTA-2139
Important
|
Enabling questionnaire for assessments
On upgrading from MTA 6.2.1 to MTA 7.0.1 , completed assessment are shown as In progress. Enable the legacy Pathfinder questionnaire to see the completed status of assessment. |
In version 7.0.1 of MTA, the default size of the hub database volume has been increased to 10GiB.
If your storage class does not support volume expansion, then an upgrade from 6.2.1 to 7.0.1 will result in a failure due to the operator trying to change the volume size from 5GiB to 10GiB.
To avoid this issue, you can directly set the volume size by setting:
...
hub_database_volume_size: 5Gi
...
By doing this, you will avoid the operator trying to resize the volume.
If this value was set when the previous version was deployed, there is no need to take any action, as it will work as expected.
When upgrading to MTA 7.0.0, all existing data will be retained, except for individual analysis reports for applications.
As both the analysis and reporting engines have been replaced with this version, you will be required to conduct a re-run of the analysis in order to obtain data on issues and dependencies.
4. MTA 7-0-0
4.1. New features
This section describes the new features and improvements of the Migration Toolkit for Applications (MTA) 7.0.0.
In MTA 7.0.0, the assessment module has been enhanced. The assessment module in this release allows you to import questionnaires using a custom YAML syntax for questionnaire definition.
In MTA 7.0.0, you can assess and analyze entire groups of applications or archetypes, according to common characteristics.
Application archetypes are defined according to criteria tags and application taxonomy. Each archetype selects how the applications are assessed according to its characteristics.
In MTA 7.0.0, you now have the ability to unlink an application from a Jira ticket, so that you can manage the links between applications and tickets more effectively. To unlink an application from a Jira ticket, click the Unlink from Jira
icon in the details view of the application or in the details view of a Migration wave.
New rules that use YAML syntax to support metadata, message
and tag
actions, rule conditions, provider conditions for Java and Go providers, and other file tagging and characteristics.
MTA 7.0.0 produces dynamic analysis reports that collect aggregated issues and dependencies across the application portfolio. They identify portfolio-wide trends, drill down to specific lines in source code, and fully integrate with MTA User Interface (UI).
MTA 7.0.0 introduces support for Azure Red Hat OpenShift (ARO).
MTA 7.0.0 introduces support for Red Hat OpenShift on AWS (ROSA).
MTA 7.0.0 supports migrating applications written in Java and Golang implemented in Language Server Protocol (LSP).
Important
|
Multi-language analysis for Golang is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
4.2. Known issues
Migration Toolkit for Applications (MTA) version 7.0.0 has the following issues.
If MTA 6.2.1 is installed, when attempting to switch the channel to stable-7.0
, the operator upgrade succeeds, but a task in the operator pod fails. This failure results in existing pathfinder assessments not being migrated to MTA 7.0.0. This bug will be resolved in MTA 7.0.1. No assessment data will be lost, it is will simply not be visible in the UI until the release of MTA 7.0.1. MTA-2139
RBAC
When deleting, deactivating or degrading the role of a user, such as changing the user from Admin
to Migrator
, the change can take several minutes to take effect. This delay in changing the user status can pose an operational or security risk. MTA-1809
Keycloak is enabled by default. If you disable and then re-enable Keycloak, you cannot perform any actions in the MTA web console after logging in again.
This error is caused as the credential-mta-rhsso
secret is updated when auth/Keycloak
is disabled and re-enabled.
The suggested workaround is to restore the old password in the credential-mta-rhsso
secret, after re-enabling auth
. MTA-1152
The org.apache.derby.derby
dependency is not analyzed. MTA-1817
The system repeatedly shows a warning message about overriding an inherited assessment when reassessing an application.
This warning, appropriate for the first assessment, incorrectly reappears on subsequent reassessments, suggesting that the application is still inheriting its assessment, even after it has been overridden. MTA-1825
For a complete list of all known issues in this release, see the list of Known Issues in Jira.
4.3. Resolved issues
The following highlighted issues have been resolved in Migration Toolkit for Applications (MTA) version 7.0.0.
In previous versions of MTA, no Update Notification
appeared at top of window after the fields Application
, Job Function
, and Business services
were updated. MTA-1024
In previous versions of MTA, it was not possible to create a Jira instance (issues.stage.redhat.com) behind a proxy. MTA-849
redirect_uri validation
logicA flaw was found in the redirect_uri validation
logic that allows for a bypass of otherwise explicitly allowed hosts. The problem arises in the verifyRedirectUri
method, which attempts to enforce rules on user-controllable
input, but can cause a desynchronization in how Keycloak and browsers interpret URLs.
For more details, see (CVE-2023-6291).
For a complete list of all issues resolved in this release, see the list of Resolved Issues in Jira.
4.4. Upgrade notes
The following are upgrade notes for Migration Toolkit for Applications (MTA)
In version 7.0.0 of MTA, the default size of the hub database volume has been increased to 10GiB.
If your storage class does not support volume expansion, then an upgrade from 6.2.1 to 7.0.0 will result in a failure due to the operator trying to change the volume size from 5GiB to 10GiB.
To avoid this issue, you can directly set the volume size by setting:
...
hub_database_volume_size: 5Gi
...
By doing this, you will avoid the operator trying to resize the volume.
If this value was set when the previous version was deployed, there is no need to take any action, as it will work as expected.
When upgrading to MTA 7.0.0, all existing data will be retained, except for individual analysis reports for applications.
As both the analysis and reporting engines have been replaced with this version, you will be required to conduct a re-run of the analysis in order to obtain data on issues and dependencies.
You can upgrade to MTA 7.0.0 from 6.2.1. It is not recommended to pursue any alternative upgrade route. If you wish to upgrade from a previous version, it is recommended to proceed in a sequential manner until you finally upgrade from MTA version 6.2.1 to 7.0.0.
4.5. Technical changes
The following technical changes have been made in Migration Toolkit for Applications (MTA) 7.0.0:
-
The Maven Plugin has been deprecated.
-
Language Server Protocol (LSP) Analyzer change.
4.5.1. Rules
Rules written in Groovy and Java are discontinued in MTA version 7.0.0. Some of the previous Groovy Java rules have been converted to YAML rules wherever possible.
An important modification to the rule’s engine is that it is no longer possible to query anything apart from the tags stored within the engine’s internal data structures. This means that all the features that were enabled by using the graph-query
element in the rule are no longer available.
The Java Class child elements annotation-list
, annotation-type
and annotation-literal
are not supported in MTA version 7.0.0.
The capabilities of <project> and <dependency> elements in the old syntax are merged into one dependency condition in the new rules syntax.
xslt
element are discontinuedXML transformation capabilities offered by the xslt
element are discontinued.
iteration
element is discontinuedThe explicit iteration
element is discontinued in MTA version 7.0.0. If a condition returns a list of items via the as
construct, iteration is implied.
Test rules are not supported in MTA version 7.0.0.
Overriding a rule is discontinued in MTA version 7.0.0.
Creating custom rule categories is discontinued in MTA version 7.0.0.
In MTA version 7.0.0, any previous rules of information and optional categories will only create technology tags.
In MTA version 7.0.0, the following Java analysis capabilities have been deprecated:
-
Ability to match on specific arguments of a Java method constructor is not supported in the current version
-
Matching Java references from JavaServer Pages (JSP) files are not supported in the current version
-
Mavenizing
a Java project, meaning write a POM and possibly move code around so that it builds in Maven, is discontinued.
The following functionality in Analysis reports has been deprecated:
-
Story points are shown as integers. The “level of effort” view and their mappings are deprecated in MTA version 7.0.0.
-
Transactions reports are deprecated in MTA version 7.0.0.
-
The view for “Archives shared by multiple applications” is deprecated in MTA version 7.0.0.
-
The view for “Review rule providers execution overview” deprecated in MTA version 7.0.0.