Skip to content

suites/ec-rados-plugin=jerasure-k=8-m=6-crush: roles set with overrides#57863

Merged
yuriw merged 1 commit intoceph:mainfrom
NitzanMordhai:wip-nitzan-thrash-erasure-code-crush-4-nodes-8-6-overrides
Aug 1, 2024
Merged

suites/ec-rados-plugin=jerasure-k=8-m=6-crush: roles set with overrides#57863
yuriw merged 1 commit intoceph:mainfrom
NitzanMordhai:wip-nitzan-thrash-erasure-code-crush-4-nodes-8-6-overrides

Conversation

@NitzanMordhai
Copy link
Contributor

@NitzanMordhai NitzanMordhai commented Jun 4, 2024

roles being set without overrides causing too many values to unpack (expected 1)

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

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

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
  • jenkins test rook e2e

@NitzanMordhai NitzanMordhai requested a review from Matan-B June 4, 2024 07:36
@github-actions github-actions bot added the tests label Jun 4, 2024
Copy link
Contributor

@Matan-B Matan-B left a comment

Choose a reason for hiding this comment

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

Can this be instead a revert of #56983?
I also noticed that #56983 fixes a different tracker, won't this cause it to reappear?

@NitzanMordhai NitzanMordhai force-pushed the wip-nitzan-thrash-erasure-code-crush-4-nodes-8-6-overrides branch from 7100f8f to b5f0b63 Compare June 4, 2024 12:06
@NitzanMordhai NitzanMordhai requested a review from a team as a code owner June 4, 2024 12:06
@github-actions github-actions bot added the core label Jun 4, 2024
@NitzanMordhai NitzanMordhai force-pushed the wip-nitzan-thrash-erasure-code-crush-4-nodes-8-6-overrides branch from b5f0b63 to 0c43d45 Compare June 4, 2024 12:10
@NitzanMordhai
Copy link
Contributor Author

Can this be instead a revert of #56983?
I also noticed that #56983 fixes a different tracker, won't this cause it to reappear?

@Matan-B I'm going to change those roles so it will come from the cluster and not from workload, running some teuthology test to validate.

@NitzanMordhai
Copy link
Contributor Author

@NitzanMordhai NitzanMordhai requested a review from Matan-B June 5, 2024 04:52
Comment on lines -1 to -10
roles:
- [mon.a, mgr.y, osd.0]
- [mon.b, osd.1]
- [mon.c, osd.2]
- [mgr.x, osd.3, client.0]
overrides:
ceph:
conf:
osd:
osd shutdown pgref assert: true
Copy link
Contributor

Choose a reason for hiding this comment

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

../thrash/clusters offers only fixed-4.yaml which is different from k=2-m=2-crush original roles:. Is it intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Matan-B well. it creates those roles, it doesn't mean it will use them

Copy link
Contributor

Choose a reason for hiding this comment

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

k=2-m=2-crush is not part of ../thrash/clusters. IIUC, k=2-m=2-crush should be added there as well before removing it from erasure-code dir.

Copy link
Contributor Author

@NitzanMordhai NitzanMordhai Jun 27, 2024

Choose a reason for hiding this comment

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

@Matan-B we are creating more roles than we need, but we are not using all of them in the case of k=2-m=2
erasure-code mention:

   erasure_code_profile:
      name: jerasure22profile
      plugin: jerasure
      k: 2
      m: 2
      technique: reed_sol_van
      crush-failure-domain: osd

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, got it now.
Any other qa/erasure-code/*.yaml does not specify roles. So those should be removed from ec-rados-plugin=jerasure-k=2-m=2-crush.yaml and ec-rados-plugin=jerasure-k=8-m=6-crush.yaml respectively.

Copy link
Contributor

Choose a reason for hiding this comment

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

Any other qa/erasure-code/*.yaml does not specify roles. So those should be removed from ec-rados-plugin=jerasure-k=2-m=2-crush.yaml and ec-rados-plugin=jerasure-k=8-m=6-crush.yaml respectively.

This can be added to the commit message

@NitzanMordhai NitzanMordhai requested a review from Matan-B June 10, 2024 07:46
roles being set without overrides causing too many values to unpack (expected 1)

Fixes: https://tracker.ceph.com/issues/66209
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
@NitzanMordhai NitzanMordhai force-pushed the wip-nitzan-thrash-erasure-code-crush-4-nodes-8-6-overrides branch from 0c43d45 to e5cd546 Compare June 27, 2024 06:29
@pereman2
Copy link
Contributor

jenkins test make check

@pereman2
Copy link
Contributor

jenkins test api

1 similar comment
@ljflores
Copy link
Member

jenkins test api

@ljflores
Copy link
Member

jenkins test make check

@NitzanMordhai
Copy link
Contributor Author

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.

6 participants