Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the COPR for grpc for centos 8 daemon-base #2198

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Add the COPR for grpc for centos 8 daemon-base #2198

merged 1 commit into from
Mar 29, 2024

Conversation

dmick
Copy link
Member

@dmick dmick commented Mar 28, 2024

Because of a new dependency in spdk, grpc and protobuf tools are now required for the build, but not all the pieces exist in epel8. ktdreyer constructed a copr to hold the packages. Dependencies (namely libprotobuf.so) are present in epel8.

Description of your changes:

Which issue is resolved by this Pull Request:
Resolves #

Checklist:

  • Documentation has been updated, if necessary.
  • Pending release notes updated with breaking and/or notable changes, if necessary.

Because of a new dependency in spdk, grpc and protobuf tools are now
required for the build, but not all the pieces exist in epel8.
ktdreyer constructed a copr to hold the packages.  Dependencies
(namely libprotobuf.so) are present in epel8.

Signed-off-by: Dan Mick <[email protected]>
@dmick
Copy link
Member Author

dmick commented Mar 28, 2024

I tested this locally with an x86_64 build; I tried also to test with arm64, but the build process couldn't find a ceph-release package. I assume that's because the arm64 crimson ceph base build hasn't been succeeding, but I'm going ahead with this PR anyway until we can sort arm64 separately

@dmick dmick requested a review from ktdreyer March 28, 2024 19:26
@dmick dmick merged commit 12717c0 into main Mar 29, 2024
8 checks passed
@dmick dmick deleted the wip-grpc-copr branch March 29, 2024 02:22
@@ -112,5 +112,8 @@ bash -c ' \
yum install -y dnf-plugins-core ; \
yum copr enable -y tchaikov/python-scikit-learn ; \
yum copr enable -y tchaikov/python3-asyncssh ; \
if [[ "${OSD_FLAVOR}" == "crimson" ]] ; then \
Copy link
Member

Choose a reason for hiding this comment

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

@dmick @ktdreyer what was the intention of this conditional? Maybe it should be the other way around (disable gRPC packages in crimson builds)?

Anyway, gRPC repo is currently no available in the default upstream image, so we need to deliver another fix for this.

Copy link
Member Author

Choose a reason for hiding this comment

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

The point was that crimson needed grpc/protobuf because of new code in spdk, and we know it wasn't upstream for 8stream, which is why Ken made the copr. I don't understand what you're saying.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

@nizamial09 explained the saga to me. We have three separate consumers of grpc, apparently: dashboard, nvmeof, and crimson (at least the latter because of a new version of spdk).

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for clarifying that in this comment Dan. I could not even remember all three of those.

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.

4 participants