Skip to content

qa/standalone/osd/divergent-prior.sh: Divergent test 3 with pg_autoscale_mode on pick divergent osd#51909

Merged
yuriw merged 1 commit intoceph:mainfrom
NitzanMordhai:wip-nitzan-divergent-priors-test-3-pick-osd
Jul 12, 2023
Merged

qa/standalone/osd/divergent-prior.sh: Divergent test 3 with pg_autoscale_mode on pick divergent osd#51909
yuriw merged 1 commit intoceph:mainfrom
NitzanMordhai:wip-nitzan-divergent-priors-test-3-pick-osd

Conversation

@NitzanMordhai
Copy link
Contributor

@NitzanMordhai NitzanMordhai commented Jun 4, 2023

When creating new pool, the current code pick the divergent osd by the first pg out of pg dump pgs, that can be in "unknown" status which means the up_primary = -1 and that will fail the test. We need to wait unitl the first pg is active+clean

Fixes: https://tracker.ceph.com/issues/56034

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@NitzanMordhai NitzanMordhai requested a review from a team as a code owner June 4, 2023 08:32
@github-actions github-actions bot added the core label Jun 4, 2023
@NitzanMordhai
Copy link
Contributor Author

jenkins test api

@rzarzynski rzarzynski requested a review from kamoltat June 5, 2023 17:28
Copy link
Member

@kamoltat kamoltat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic make sense, but should we give a specific time out for the while loop, I know it's probably not gonna be divergent -1 forever but I think it will be cleaner if we have a set time lets say 300 seconds for the while checkout for divergent less than or equal -1.

@NitzanMordhai Let me know what you think.

When creating new pool, the current code pick the divergent osd by
the first pg out of pg dump pgs, that can be in "unknown" status
which means the up_primary = -1 and that will fail the test.
We need to wait unitl the first pg is active+clean

Fixes: https://tracker.ceph.com/issues/56034
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
@NitzanMordhai NitzanMordhai force-pushed the wip-nitzan-divergent-priors-test-3-pick-osd branch from 48b5310 to 13c640b Compare June 6, 2023 05:55
@NitzanMordhai
Copy link
Contributor Author

Logic make sense, but should we give a specific time out for the while loop, I know it's probably not gonna be divergent -1 forever but I think it will be cleaner if we have a set time lets say 300 seconds for the while checkout for divergent less than or equal -1.

@kamoltat yes, sounds like a better way to control the while, added.

@NitzanMordhai NitzanMordhai requested a review from kamoltat June 6, 2023 05:56
@NitzanMordhai
Copy link
Contributor Author

jenkins retest this please

@NitzanMordhai
Copy link
Contributor Author

jenkins test make check

Copy link
Member

@kamoltat kamoltat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kamoltat
Copy link
Member

kamoltat commented Jun 7, 2023

jenkins test make check

@kamoltat kamoltat changed the title test: Divergent test 3 with pg_autoscale_mode on pick divergent osd qa/standalone/osd/divergent-prior.sh: Divergent test 3 with pg_autoscale_mode on pick divergent osd Jun 7, 2023
@kamoltat kamoltat added needs-reef-backport needs-pacific-backport PR needs a pacific backport needs-quincy-backport backport required for quincy needs-qa labels Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants