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
pacific: osd/OSDMap: Add health warning if 'require-osd-release' != current release #44259
Conversation
854e341
to
813d830
Compare
813d830
to
bc73451
Compare
bc73451
to
546f326
Compare
546f326
to
a84b2c7
Compare
Sure, I can cherry-pick the commit from #44324 and add one more change to "..volumes/import-legacy/tasks/2-upgrade.yaml". Would that work for you? |
Yep - that would make it clean. |
a84b2c7
to
afb89c3
Compare
The commit is cherry-picked but I changed the commit message to reflect 'pacific' for correctness. I know that commit messages should not be modified during backports, but in this case I changed it and left a comment in the 'Conflicts' section to be clear about the change. I can revert it if this is not agreeable. |
|
@neha-ojha Please review this again as I cherry-picked a subset of commits from #44161. |
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.
fs:upgrade changes LGTM
Thanks. Looks good! |
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.
nit: It will be good to include an explanation in 7ef6c85's commit message for why it is not cherry-picked from master.
Needs to go through the entire upgrade suite
afb89c3
to
4f5eda7
Compare
Updated the commit message and I initiated upgrade tests in teuthology for the ones that were modified. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
…lease After all OSDs are upgraded to a new release, generate a health warning if the 'require-osd-release' flag doesn't match the the new release version. This will result in the cluster showing a warning in the health state until the flag is set properly. Fixes: https://tracker.ceph.com/issues/51984 Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com> (cherry picked from commit bd815bd) Conflicts: src/osd/OSDMap.cc - Removed checks for non-existent ceph_release_t 'quincy' flag from OSDMap::pending_require_osd_release().
…lease. This commit is not a cherry-pick and fixes the following issues unique to the pacific release: 1. Fixes the nautilus-x and octopus-x upgrade tests to work with the pacific release by updating the post upgrade step to set the 'require-osd-release' flag to 'pacific'. This is done by using '.qa/releases/pacific.yaml' for all the tests. 2. Fixed an issue in 'upgrade-mon-osd-mds.yaml' under both the nautilus-x/parallel, octopus-x/parallel-no-cephadm tests. The 'wait-for-healthy' check should not be performed after all the osds are upgraded since the 'require-osd-release' warning comes into effect. This check is delayed until after the 'require-osd-release' flag is set to 'pacific'. Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
pglog_hardlimit and msgr2 Signed-off-by: Neha Ojha <nojha@redhat.com> (cherry picked from commit ed4bb05)
Signed-off-by: Neha Ojha <nojha@redhat.com> (cherry picked from commit 3b15a04)
Signed-off-by: Neha Ojha <nojha@redhat.com> (cherry picked from commit df67040)
Signed-off-by: Neha Ojha <nojha@redhat.com> (cherry picked from commit 6ad7a8a)
Fixes: https://tracker.ceph.com/issues/53615 Fixes: bd815bd Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> (cherry picked from commit bc2eaba) Conflicts: - Changed release name in commit message from 'quincy' to 'pacific'. ../fs/upgrade/featureful_client/old_client/tasks/2-upgrade.yaml ../fs/upgrade/featureful_client/upgraded_client/tasks/2-upgrade.yaml ../fs/upgrade/nofs/tasks/1-upgrade.yaml - Changed release name from 'quincy' to 'pacific' when setting the 'require-osd-release' flag in the above files. ../fs/upgrade/volumes/import-legacy/tasks/2-upgrade.yaml - Changed release name from 'octopus' to 'pacific' when setting the 'require-osd-release' flag in the above file.
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com> (cherry picked from commit 34f18fa) Conflicts: PendingReleaseNotes - Add the release note under the correct release heading.
4f5eda7
to
9203ed5
Compare
Teuthology Test ResultUnrelated Failures:
The dead jobs are infrastructure related. |
backport tracker: https://tracker.ceph.com/issues/53551
backport of #44090
parent tracker: https://tracker.ceph.com/issues/51984
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh