Skip to content

Issue #180 When creating new cluster, Casskop starts with 1 node per rack, then continue with scaling-out racks#183

Merged
AKamyshnikova merged 5 commits intocscetbon:masterfrom
pchmieli:issue180
Feb 4, 2026
Merged

Issue #180 When creating new cluster, Casskop starts with 1 node per rack, then continue with scaling-out racks#183
AKamyshnikova merged 5 commits intocscetbon:masterfrom
pchmieli:issue180

Conversation

@pchmieli
Copy link
Copy Markdown
Contributor

@pchmieli pchmieli commented Nov 4, 2025

Q A
Bug fix? [x]
New feature? no
API breaks? no
Deprecations? no
Related tickets fixes #180
License Apache 2.0

What's in this PR?

When creating new cluster, Casskop starts with 1 node per rack, then continue with scaling-out racks

Why?

To avoid error when creating (from scratch) cluster with nodePerRacks >= 2 && racks >= 3
Details in issue #180

Checklist

  • Implementation tested
  • User guide and development docs updated (if needed)

@pchmieli pchmieli changed the title Issue180 Issue #180 When creating new cluster, Casskop starts with 1 node per rack, then continue with scaling-out racks Nov 4, 2025
@cscetbon
Copy link
Copy Markdown
Owner

@AKamyshnikova can you take a look at that PR with me ? This changes the way a cluster is set up

@AKamyshnikova
Copy link
Copy Markdown
Collaborator

@pchmieli Could you run e2e tests on this branch in your repo and share link with results? Backup/restore expected to fail on access to aws.

@pchmieli
Copy link
Copy Markdown
Contributor Author

pchmieli commented Jan 7, 2026

@AKamyshnikova
Run failing because of backup-restore: https://github.com/pchmieli/casskop/actions/runs/20787625803
Successful run on side branch with disabled backup-restore: https://github.com/pchmieli/casskop/actions/runs/20787665930

@AKamyshnikova
Copy link
Copy Markdown
Collaborator

@pchmieli Could you rebase on top of the master branch?

increase reusability by extracting smaller methods
refactor: initializingSubPhase in status
(preparation for handling big clusters from scratch)
creating new cluster: start with 1 node/rack, then scale-out to desired size

Fixes cscetbon#180
sort pods by name ascending when choosing last pod from the slice
@pchmieli
Copy link
Copy Markdown
Contributor Author

pchmieli commented Feb 4, 2026

@pchmieli Could you rebase on top of the master branch?

Done.

Tests executed on side branch (backup-restore test disabled): https://github.com/pchmieli/casskop/actions/runs/21670197426

@AKamyshnikova AKamyshnikova merged commit 602e023 into cscetbon:master Feb 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 racks with more than one node per rack cannot be deployed from scratch

3 participants