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][Nginx]: Unable to upgrade Nginx integration policy from v0.2.4 to v0.7.0. #109805

Closed
amolnater-qasource opened this issue Aug 24, 2021 · 7 comments · Fixed by #109887
Closed
Assignees
Labels
bug Fixes for quality problems that affect the customer experience impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@amolnater-qasource
Copy link

Kibana version: 7.15.0 BC-1 Kibana Cloud environment

Host OS and Browser version: All, All

Build details:

Build: 43636
Commit: d791226d9385122f33f4a5ca38fa5369012fbec3

Preconditions:

  1. 7.15.0 BC-1 Kibana Cloud environment should be available.
  2. Lower version Nginx integration should be available, say 0.2.4.

Steps to reproduce:

  1. Login to Kibana environment.
  2. Add Lower version Nginx integration to Default Policy.
  3. Observe v0.2.4 version Nginx added to Default Policy.
  4. Upgrade Nginx integration from Settings, i.e, v0.7.0.
  5. After successful upgrade navigate to Default Policy and click [Upgrade] button available in front of Policy.
  6. Observe below warnings:
Review field conflicts
This integration has conflicting fields from version to Review the configuration and save to perform upgrade. You may reference your previous configuration for comparison.

What's working fine:
We are successfully able to upgrade Apache v0.5.0 to v0.8.1

Expected Result:
User should be able to upgrade Nginx integration from v0.2.4 to v0.7.0

Screen Recording:

2_unable.to.upgrade.mp4
@amolnater-qasource amolnater-qasource added bug Fixes for quality problems that affect the customer experience impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team:Fleet Team label for Observability Data Collection Fleet team labels Aug 24, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@amolnater-qasource
Copy link
Author

@manishgupta-qasource Please review.

@manishgupta-qasource
Copy link

Reviewed & assigned to @jen-huang

CC: @EricDavisX

@joshdover
Copy link
Contributor

cc @kpollich

@kpollich kpollich self-assigned this Aug 24, 2021
@hop-dev hop-dev assigned hop-dev and unassigned kpollich Aug 24, 2021
@jen-huang jen-huang assigned hop-dev and unassigned hop-dev and jen-huang Aug 24, 2021
@EricDavisX
Copy link
Contributor

@dikshachauhan-qasource @amolnater-qasource adding to high impact list.

@jen-huang
Copy link
Contributor

jen-huang commented Aug 25, 2021

@amolnater-qasource @hop-dev This might be expected behavior. This is part of the feature, if a package has too many changes between versions and we cannot upgrade the policy automatically, it is expected for the user to be redirected to the policy editor with a warning, see PR description: #107171

@EricDavisX I would not consider this high impact based on the above. Note that this does not block upgrade of the package itself. This deals with upgrading the policy.

Due to the near infinite possible combinations of upgrading from a particular version to another, we cannot provide a list of what is expected to yield an automatic upgrade vs this manual upgrade with conflict message.

@jen-huang jen-huang changed the title [Fleet][Nginx]: Unable to upgrade Nginx integration from v0.2.4 to v0.7.0. [Fleet][Nginx]: Unable to upgrade Nginx integration policy from v0.2.4 to v0.7.0. Aug 25, 2021
@EricDavisX
Copy link
Contributor

we can re-test this in the BC and with the next snapshot to confirm it is fixed - thanks all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants