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

Parser's metadata deployment in error when parser already exist for another solution #10264

Open
nlepagnez opened this issue Apr 9, 2024 · 10 comments
Assignees
Labels
Parser Parser specialty review needed Solution Solution specialty review needed

Comments

@nlepagnez
Copy link
Contributor

Describe the bug
We have 2 solutions that share multiple same parsers, but a customer can deploy one or the other so the 2 solutions need to deploy the shared parsers. Before Parsers are transformed as YAML objects, we didn't have any problem. Now when we do that we have a metadata conflict during the deployment.

How can we deploy the parser with the solutions without having error ?

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Microsoft Exchange Online Security Solution' in the Content Hub
  2. Install the solution
  3. Go to 'Microsoft Exchange On-Premises Security Solution' in the Content Hub
  4. Install the solution

Expected behavior
Installation in success

Screenshots
image

@v-sudkharat v-sudkharat added the Parser Parser specialty review needed label Apr 9, 2024
@v-sudkharat
Copy link
Contributor

Hi @nlepagnez, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 16-04-2024. Thanks!

@v-sudkharat v-sudkharat added the Solution Solution specialty review needed label Apr 10, 2024
@v-sudkharat
Copy link
Contributor

Hey @nlepagnez, We are checking the issue cause for the deployment failure for Parser. Meanwhile, to get unblocked from this issue you can install the solution is another workspace where the solution is not already installed (Older versions).
This issue occurs only when updating the existing solution to new version.
Below sol. installed successfully in new workspace :-
image

Please let us know if you have any feedback on this.
Thanks!

@nlepagnez
Copy link
Contributor Author

nlepagnez commented Apr 15, 2024

Hi @v-sudkharat. Exactly I was aware that it works on a new workspace, it's what we saw during our tests after we had this error. As we've just updated a major version of the solution, we're concerned about how customers will deploy it. I hope the cause can be found quickly.

Thank you.

@v-sudkharat
Copy link
Contributor

@nlepagnez, Sure. we will definitely update you once we get cause or any other info from team. Thanks!

@v-sudkharat
Copy link
Contributor

Hey @nlepagnez, Our team has found out the cause and fix for this issue, currently it is in testing. Team also made few modifications in solution packaging tool which is not merged yet. Once the updated packaging tool get merged into master. will update you. Thanks!

@nlepagnez
Copy link
Contributor Author

IMPORTANT

Hi @v-sudkharat, I see a commit with an autopackage of the solutions : a31e95c

This brake totally the 2 Microsoft Exchange Security solutions as the Autopackage is not able to keep Default values or parser parameters. You need to stop the package deployment to the content hub and they need to correct :

  • The CreateDefinitionUI with the modified text that is not correct
  • The MainTemplate to reinsert parser parameters default values and texts.

@nlepagnez
Copy link
Contributor Author

Hi @v-sudkharat, did the team finished to correct the error ? I see that the team repackaged the solutions, is now good ?

@v-sudkharat
Copy link
Contributor

Hey @nlepagnez, still team is working on correction in packaging tool, and regarding publishing the solution there is still having same issue for parser metadata for which team is making changes.

@nlepagnez
Copy link
Contributor Author

Hi @v-sudkharat, As I understand, the team pushed correction to packaging tool and also the solutions. Is it good now ? Is it possible to publish the new versions of the 2 solutions in the Content Hub ?

@v-sudkharat
Copy link
Contributor

Hello @nlepagnez, Those solution is already pushed for get available in Content Hub from our end, and currently its pending with content hub team. We will ping you or share update with you over here once those solution is available in content hub with new versions.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Parser Parser specialty review needed Solution Solution specialty review needed
Projects
None yet
Development

No branches or pull requests

3 participants