Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

featureUtility installServerFeature fails when user feature is listed #19631

Closed
jjiwooLim opened this issue Dec 13, 2021 · 0 comments · Fixed by #19635
Closed

featureUtility installServerFeature fails when user feature is listed #19631

jjiwooLim opened this issue Dec 13, 2021 · 0 comments · Fixed by #19635
Labels
release bug This bug is present in a released version of Open Liberty release:22001

Comments

@jjiwooLim
Copy link
Contributor

jjiwooLim commented Dec 13, 2021

Describe the bug
featureUtility installServerFeatures contains bugs when the user configures a product extension in their server.xml.
- e.g) <feature>myExt:userfeature-1.0</feature>

  1. If the user feature file doesn't contain the following regex (Liberty version), \\d\\d\\.\\d\\.\\d\\.\\d\\.esa, the user feature will not be installed to the defined product extension. The user feature doesn't need to have the same version as the Liberty version.
  2. The tool doesn't fetch the installed features properly.

Steps to Reproduce

featureUtility installServerFeatures --noCache --acceptLicense defaultServer

Error:

Resolving remote features. This process might take several minutes to complete.
[6/28/21 11:48:29:156 EDT] CWWKF1402E: The following features were not obtained: userFeature-1.0. Ensure that the features are valid.

  • server.xml configuration
<featureManager>
      <feature>usr:userFeature-1.0</feature>
 </featureManager>

Diagnostic information:

  • OpenLiberty Version: 21.0.0.11 and 21.0.0.12

Additional context
This will consider the use case where an application team creates a user feature that is pre-installed when the server package is created. In this case, users doesn't need to specify the featuresbom property and the installServerFeature should finish successfully.

@jjiwooLim jjiwooLim added the release bug This bug is present in a released version of Open Liberty label Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release bug This bug is present in a released version of Open Liberty release:22001
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants