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

[Fleet] Add a package reinstall / reset button #129318

Closed
joshdover opened this issue Apr 4, 2022 · 9 comments · Fixed by #135590
Closed

[Fleet] Add a package reinstall / reset button #129318

joshdover opened this issue Apr 4, 2022 · 9 comments · Fixed by #135590
Assignees
Labels
loe:small Small Level of Effort QA:Validated Issue has been validated by QA Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@joshdover
Copy link
Contributor

There are some cases where reinstalling an integration package can help customers resolve problems, such as:

  1. They made manual edits to a managed asset and want to reset it back to the original state
  2. Something temporary went wrong (eg. network issue) during a package install or upgrade
  3. A package was installed in a prior version that had a bug in the install code

Currently, customers have two options to fix this:

  1. From the UI, remove all integration policies for a package, uninstall the package, install the package, and recreate all of their integration policies
  2. Using the API to reinstall a package. This is currently undocumented and not easy to find.

It'd be nice if we could add a simple "Reinstall " button on the Settings tab of the integration details view to allow users to do this when needed. This could live in a separate section underneath the existing "Uninstall" section:

image

When clicking this button, the users should be shown a confirmation modal that informs them that any manual edits to managed dashboards, templates, ingest pipelines, or other assets will be reverted by the reinstall.

@joshdover joshdover added loe:small Small Level of Effort Team:Fleet Team label for Observability Data Collection Fleet team Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. labels Apr 4, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@ghost
Copy link

ghost commented Jul 14, 2022

Hi Team
We have revalidated this feature on latest 8.4 Snapshot Kibana cloud environment and found it working fine.

We are able to reinstall integration on clicking Reinstall <integration_name> button and getting appropriate successful toast message.

Build Details:
BUILD: 54479
COMMIT: 8a94578

Screen Recording:

Browse.integrations.-.Integrations.-.Elastic.-.Google.Chrome.2022-07-14.17-11-03.mp4

Please let us know if we are missing anything.
Thanks

@jen-huang
Copy link
Contributor

@simranvaseer-qasource Could you also validate on 8.3.2? Thanks!

@ghost
Copy link

ghost commented Jul 18, 2022

Hi @jen-huang
We have revalidated this feature on 8.3.2 Released Kibana Cloud environment and found that Reinstall button is not available.

Build Details:
BUILD: 53596
COMMIT: 12341eb

Screen Recording:

Nginx.-.Integrations.-.Elastic.-.Google.Chrome.2022-07-18.11-32-45.mp4

Query

When clicking this button, the users should be shown a confirmation modal that informs them that any manual edits to managed dashboards, templates, ingest pipelines, or other assets will be reverted by the reinstall.

As shared by @joshdover, Could you please confirm if this will be implemented in 8.4?

Please let us know if we are missing anything.
Thanks

@jen-huang
Copy link
Contributor

@simranvaseer-qasource Sorry, I meant 8.3.3 🤦🏻‍♀️

The confirmation modal is not expected to be there. I missed that part of the requirements.

@ghost
Copy link

ghost commented Jul 19, 2022

Hi @jen-huang
We have revalidated this feature on latest 8.3.3 Snapshot Kibana cloud environment and found it working fine.

  • We are able to reinstall integration on clicking Reinstall <integration_name> button and getting appropriate successful toast message
  • Thanks for the confirmation on the feature.

Build Details:
BUILD: 53654
COMMIT: 1849d85

Screen Recording:

Browse.integrations.-.Integrations.-.Elastic.-.Google.Chrome.2022-07-19.10-03-45.mp4

Please let us know if anything else is required from our end.
Thanks

@ghost
Copy link

ghost commented Jul 20, 2022

Hi @joshdover and @jen-huang
We have created 01 test case for this feature ticket and uploaded the same on testrail under Installed Integration tab section.

The test case link is:

Please review the test case and let us know if anything is missing from our end.
Thanks

@ghost
Copy link

ghost commented Aug 2, 2022

Hi @jen-huang
We have revalidated this feature on latest 8.4 BC1 Kibana cloud environment and found it working fine.

  • We are able to reinstall integration on clicking Reinstall <integration_name> button and getting appropriate successful toast message

Build Details:
BUILD: 54999
COMMIT: 58f7eaf

Screen Recording:

Browse.integrations.-.Integrations.-.Elastic.-.Google.Chrome.2022-08-02.13-56-40.mp4

Hence, marking this as QA:Validated
Thanks

@ghost ghost added QA:Validated Issue has been validated by QA and removed QA:Needs Validation Issue needs to be validated by QA labels Aug 2, 2022
@ghost
Copy link

ghost commented Aug 12, 2022

Hi Team,
We have executed 01 testcase for this feature under our Fleet Test run at link:

Build details:

Version: 8.4.0-BC3
Build: 55281
Commit: e42c547d7ab545472fd978383c2c43fa203a5b06

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
loe:small Small Level of Effort QA:Validated Issue has been validated by QA Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants