-
Notifications
You must be signed in to change notification settings - Fork 25
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
Reinstall packages during upgrade #717
Conversation
tests/e2e-leg-8/online-upgrade-through-vclusterops/41-verify-package-install.yaml
Outdated
Show resolved
Hide resolved
tests/e2e-leg-8/online-upgrade-through-vclusterops/46-verify-package-install.yaml
Outdated
Show resolved
Hide resolved
tests/e2e-leg-8/online-upgrade-through-vclusterops/51-verify-package-install.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: spilchen <[email protected]>
Co-authored-by: spilchen <[email protected]>
Co-authored-by: spilchen <[email protected]>
Co-authored-by: spilchen <[email protected]>
Co-authored-by: spilchen <[email protected]>
Co-authored-by: spilchen <[email protected]>
Co-authored-by: spilchen <[email protected]>
Co-authored-by: spilchen <[email protected]>
…ackage-install.yaml Co-authored-by: spilchen <[email protected]>
…ackage-install.yaml Co-authored-by: spilchen <[email protected]>
…ackage-install.yaml Co-authored-by: spilchen <[email protected]>
…package-install.yaml Co-authored-by: spilchen <[email protected]>
…package-install.yaml Co-authored-by: spilchen <[email protected]>
Co-authored-by: spilchen <[email protected]>
Co-authored-by: Roy Paulin <[email protected]>
Co-authored-by: Roy Paulin <[email protected]>
As discussed, we observe e2e test error due to not enough disk space:
To try addressing this issue, we are removing the test steps to download 23.4 image and upgrade to 23.4 from v12 image. Notice that this implies that we will not test the AT implementation of install packages in e2e test. |
I saw that the new e2e test still fails because there isn't enough disk space. So, I started to look at the disk space usage of a database.
Here is my suggestion for an attempt at fixing it:
|
I tested in one commit where the install packages steps are still kept in the 2 original upgrade tests. The results of all 4 tests are as follows:
now that with the latest commits we essentially have 2 tests only for upgrade (3 times) and 2 tests for upgrade and install (once from 23.4->24.1). we passed the former 2 tests and failed the latter 2. I guess maybe we could pass if we upgrade and install from 12.0.4->23.4 rather than 23.4->24.1 for the latter 2 tests, however this means that we are testing install for admintools only. |
Thanks for trying these experiments. It doesn't look like we'll be able to automate your tests on account of the disk space constraint. Manual verification will have to do for now. Can you remove those two new tests you added? We can add back the parallelism to leg 8 as well. Can we get the other tests in e2e leg 8 back to what they were before. I think you removed one of the upgrade versions. |
As discussed, leg 8 now has 2 tests remaining (upgrade 3 times from 12.0.4 to 23.4 to 24.1 to latest) for both online and offline upgrade where we have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. Thanks for doing so many revisions.
In Vertica, upgrading the server version requires reinstalling packages because they are tied to a specific server version. This process was handled automatically during admintools deployments, but was not implemented for vclusterOps deployments. To address this issue, we have modified the upgrade process to include a package reinstallation step after restarting Vertica with the new version.