Skip to content

mstart: allow setting the base mon port from env variable - #63852

Merged
anrao19 merged 1 commit into
ceph:mainfrom
yuvalif:wip-yuval-multi-base-port
Jul 11, 2025
Merged

anrao19 merged 1 commit into
ceph:mainfrom
yuvalif:wip-yuval-multi-base-port

Conversation

@yuvalif

@yuvalif yuvalif commented Jun 10, 2025

Copy link
Copy Markdown
Contributor

this allows using mstart on a shared environment where other vstart/mstart deployments are running

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

this allows using mstart on a shared environment where
other vstart/mstart deployments are running

Signed-off-by: Yuval Lifshitz <[email protected]>
@yuvalif
yuvalif requested a review from a team as a code owner June 10, 2025 14:30
@github-actions github-actions Bot added the rgw label Jun 10, 2025
Comment thread src/mstart.sh
Comment on lines +80 to 81
base_port=$((CEPH_BASE_PORT+pos*20))
rgw_port=$((8000+pos*1))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

any idea why you were seeing mon port conflicts but not rgw ones? (rgw_port is unchanged here)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i was using https://github.com/ceph/ceph/blob/main/src/test/rgw/test-rgw-multisite.sh for setting multiple clusters, and the RGW ports are handled there differently.

@anrao19

anrao19 commented Jul 11, 2025

Copy link
Copy Markdown
Contributor

@anrao19

anrao19 commented Jul 11, 2025

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

@anrao19

anrao19 commented Jul 11, 2025

Copy link
Copy Markdown
Contributor

jenkins test windows

@anrao19
anrao19 merged commit b60d948 into ceph:main Jul 11, 2025
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.

3 participants