Skip to content

[run-make] Added flag for Dashboard and WError - #66181

Merged
zmc merged 1 commit into
ceph:mainfrom
anshuman-agarwala:ppc64-ci
Mar 6, 2026
Merged

zmc merged 1 commit into
ceph:mainfrom
anshuman-agarwala:ppc64-ci

Conversation

@anshuman-agarwala

@anshuman-agarwala anshuman-agarwala commented Nov 10, 2025 •

Copy link
Copy Markdown
Member

Added flags to make Dashboard and WError optional. This should not impact existing pipelines as these options are disabled only when the flags are present.
This is required because these components are causing issues when built on ppc64 arch.
Signed-off-by: Anshuman [email protected]

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

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@zmc

zmc commented Dec 10, 2025

Copy link
Copy Markdown
Member

I think this looks good, @anshuman-agarwala. I'd like to see a build run through our CI before we merge. To do that, you'd have to push your branch to the https://github.com/ceph/ceph-ci repository. I've sent you an invite to the Ceph github org to enable that. The build should then show up here: https://jenkins.ceph.com/job/ceph-dev-pipeline/

Comment thread src/script/run-make.sh Outdated
cmake_opts+=" -DENABLE_GIT_VERSION=OFF"
cmake_opts+=" -DWITH_GTEST_PARALLEL=ON"
cmake_opts+=" -DWITH_FIO=ON"
cmake_opts+=" -DWITH_CEPHFS_SHELL=ON"
cmake_opts+=" -DWITH_GRAFANA=ON"
cmake_opts+=" -DWITH_SPDK=ON"
cmake_opts+=" -DWITH_RBD_MIRROR=ON"
if [ ! $DISABLE_WERROR ]; then

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.

I know it's nitpicky, but let's be extemely consistent with the naming if if it's a bit ungramattical: WITHOUT_WERROR

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.

Also, I don't think this line will do what you want it to do, wrt the ! operator.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I've cleaned this up.

Comment thread src/script/run-make.sh
@@ -77,6 +77,9 @@ function prepare() {
if test -f ./install-deps.sh ; then
ci_debug "Running install-deps.sh"
INSTALL_EXTRA_PACKAGES="ccache git $which_pkg lvm2"
if [ "$(uname -m)" == "ppc64le" ]; then
INSTALL_EXTRA_PACKAGES="$INSTALL_EXTRA_PACKAGES openblas-devel gfortran cargo"

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.

Can you justify these additions that are specific to ppc64le? Especially cargo.

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.

Can you justify these additions that are specific to ppc64le? Especially cargo.

We were having issues running tox UTs as the python deps were not installed properly. fortran is needed to build libopenblas and cargo is also needed for building one more dependency.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

To add more context, python wheels for ppc64le are not available so during package installation these wheels are built from source which is where these dependencies are required.

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.

I see. Can we add a comment to that affect? We may want to aim to either provide the needed deps as packages or wheels rather than need to rebuild these. So leaving a comment as an explanation and a breadcrumb to revisit it later would be good.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I've added a comment explaining this.

@jmundack

Copy link
Copy Markdown
Contributor

General q. Would we be able to leverage cmake user presets to have architecture specific flags?

Cc: @cbodley - tagging you for your thoughts as well since you had recently looked into this idea

Comment thread src/script/run-make.sh Outdated
cmake_opts+=" -DWITH_MGR_DASHBOARD_FRONTEND=OFF"
fi
if [ $WITHOUT_BREAKPAD ]; then
cmake_opts+=" -DWITH_BREAKPAD=OFF"

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.

I think we can skip this one as Casey raised a PR recently to disable breakpad for power & windows!!
#66462

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done

@hasan4791

Copy link
Copy Markdown
Contributor

Dashboard has been disabled due to compatibility issues with NX packages.
https://tracker.ceph.com/issues/74006

@anshuman-agarwala
anshuman-agarwala force-pushed the ppc64-ci branch 2 times, most recently from ea67c56 to c9cc1e2 Compare December 11, 2025 05:19
@anshuman-agarwala anshuman-agarwala changed the title [run-make] Added flag for Dashboard, FIO and Breakpad and WError [run-make] Added flag for Dashboard and WError Dec 11, 2025
Added flags to make Dashboard and WError optional. This
should not impact existing pipelines as these options are disabled only
when the flags are present.
Signed-off-by: Anshuman <[email protected]>
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Feb 11, 2026
@anshuman-agarwala

Copy link
Copy Markdown
Member Author

I think this looks good, @anshuman-agarwala. I'd like to see a build run through our CI before we merge. To do that, you'd have to push your branch to the https://github.com/ceph/ceph-ci repository. I've sent you an invite to the Ceph github org to enable that. The build should then show up here: https://jenkins.ceph.com/job/ceph-dev-pipeline/

https://jenkins.ceph.com/job/ceph-dev-pipeline/3380/
I've run the build through the CI but I'm not sure how to interpret the results.

@github-actions github-actions Bot removed the stale label Mar 3, 2026

@zmc zmc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These changes seem sane and haven't regressed. Thanks @anshuman-agarwala!

@zmc
zmc merged commit 2e172f2 into ceph:main Mar 6, 2026
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.

5 participants