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

bump ganesha version in main containers to V5-stable #2167

Closed
wants to merge 1 commit into from

Conversation

dparmar18
Copy link

@dparmar18 dparmar18 commented Nov 9, 2023

Otherwise it will require conscious efforts to maintain the version which is a bit cumbersome.

Otherwise it will require concious efforts to maintain the version
wich is a bit cumbersome.

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
@@ -4,7 +4,7 @@ bash -c ' \
if [ -n "__GANESHA_PACKAGES__" ]; then \
if [[ "${CEPH_VERSION}" == master || "${CEPH_VERSION}" == main ]]; then \
ARCH=$(arch); if [[ "${ARCH}" == "aarch64" ]]; then ARCH="arm64"; fi ; \
curl -s -L "https://shaman.ceph.com/api/repos/nfs-ganesha/V5.7/latest/centos/__ENV_[DISTRO_VERSION]__/flavors/ceph_main/repo?arch=${ARCH}" -o /etc/yum.repos.d/ganesha.repo ; \
curl -s -L "https://shaman.ceph.com/api/repos/nfs-ganesha/V5-stable/latest/centos/__ENV_[DISTRO_VERSION]__/flavors/ceph_main/repo?arch=${ARCH}" -o /etc/yum.repos.d/ganesha.repo ; \
Copy link

Choose a reason for hiding this comment

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

Is this valid? https://shaman.ceph.com/api/repos/nfs-ganesha/V5-stable/ return [].

Will this show up when we have stable builds?

Copy link
Author

@dparmar18 dparmar18 Nov 9, 2023

Choose a reason for hiding this comment

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

oh so we only build 5.5 and 5.7 https://shaman.ceph.com/builds/nfs-ganesha/. we need to start building V5-stable first before merging this patch

Copy link

Choose a reason for hiding this comment

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

@ffilz did mention that v5-stable would be available.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Once it actually is available on the ganesha side (it might already be, I haven't looked), you then have to update https://github.com/ceph/ceph-build/blob/main/nfs-ganesha/config/definitions/nfs-ganesha.yml#L41 to build 5-stable, wait for builds to start showing up in shaman, and then we can update ceph-container to point to it.

@guits
Copy link
Collaborator

guits commented Nov 9, 2023

Otherwise it will require conscious efforts to maintain the version which is a bit cumbersome.

indeed, but we are not definitely getting rid of this maintenance, we will still have to maintain it for the major release of nfs-ganesha.
That is why, in my humble opinion, ceph@main should be tested with nfs-ganesha@next which is actually what we have always done before we decide to pin to a specific version because nfs-ganesha@next builds were broken for too long and wanted to unblock the testing, that was a temporarily workaround which was supposed to be reverted, see [1]

[1] b86898a

@dparmar18
Copy link
Author

Otherwise it will require conscious efforts to maintain the version which is a bit cumbersome.

indeed, but we are not definitely getting rid of this maintenance, we will still have to maintain it for the major release of nfs-ganesha. That is why, in my humble opinion, ceph@main should be tested with nfs-ganesha@next which is actually what we have always done before we decide to pin to a specific version because nfs-ganesha@next builds were broken for too long and wanted to unblock the testing, that was a temporarily workaround which was supposed to be reverted, see [1]

[1] b86898a

makes sense, https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/557171 is now merged. So do you want me to replace V5-stable with next in this PR itself?

@ffilz
Copy link

ffilz commented Nov 9, 2023

Otherwise it will require conscious efforts to maintain the version which is a bit cumbersome.

indeed, but we are not definitely getting rid of this maintenance, we will still have to maintain it for the major release of nfs-ganesha. That is why, in my humble opinion, ceph@main should be tested with nfs-ganesha@next which is actually what we have always done before we decide to pin to a specific version because nfs-ganesha@next builds were broken for too long and wanted to unblock the testing, that was a temporarily workaround which was supposed to be reverted, see [1]
[1] b86898a

makes sense, https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/557171 is now merged. So do you want me to replace V5-stable with next in this PR itself?

Please don't build from next, there is no guarantee that next builds or runs. When we start Ganesha V6 development, next could easily become unstable.

V5-stable was specifically created for this purpose, I can move it forward to the current stable version of V5.x without your infrastructure having to change anything. Once we open V6 development, I have proposed to create V6-stable. At the start it might not have anything new in it.

@dparmar18
Copy link
Author

Otherwise it will require conscious efforts to maintain the version which is a bit cumbersome.

indeed, but we are not definitely getting rid of this maintenance, we will still have to maintain it for the major release of nfs-ganesha. That is why, in my humble opinion, ceph@main should be tested with nfs-ganesha@next which is actually what we have always done before we decide to pin to a specific version because nfs-ganesha@next builds were broken for too long and wanted to unblock the testing, that was a temporarily workaround which was supposed to be reverted, see [1]
[1] b86898a

makes sense, https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/557171 is now merged. So do you want me to replace V5-stable with next in this PR itself?

Please don't build from next, there is no guarantee that next builds or runs. When we start Ganesha V6 development, next could easily become unstable.

V5-stable was specifically created for this purpose, I can move it forward to the current stable version of V5.x without your infrastructure having to change anything. Once we open V6 development, I have proposed to create V6-stable. At the start it might not have anything new in it.

since the ceph main is the latest branch that builds and runs fine which implies it is the latest stable(mostly), I think it should be paired with what is the latest stable version of nfs-ganesha, maybe a branch can be created like latest-stable that has the code as the name suggests, this can also help us not be consciously thinking about making changes to the infra like changing the branch names at every new release of nfs-ganesha. Does this make sense?

@vshankar
Copy link

Otherwise it will require conscious efforts to maintain the version which is a bit cumbersome.

indeed, but we are not definitely getting rid of this maintenance, we will still have to maintain it for the major release of nfs-ganesha. That is why, in my humble opinion, ceph@main should be tested with nfs-ganesha@next which is actually what we have always done before we decide to pin to a specific version because nfs-ganesha@next builds were broken for too long and wanted to unblock the testing, that was a temporarily workaround which was supposed to be reverted, see [1]
[1] b86898a

makes sense, https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/557171 is now merged. So do you want me to replace V5-stable with next in this PR itself?

Please don't build from next, there is no guarantee that next builds or runs. When we start Ganesha V6 development, next could easily become unstable.
V5-stable was specifically created for this purpose, I can move it forward to the current stable version of V5.x without your infrastructure having to change anything. Once we open V6 development, I have proposed to create V6-stable. At the start it might not have anything new in it.

since the ceph main is the latest branch that builds and runs fine which implies it is the latest stable(mostly), I think it should be paired with what is the latest stable version of nfs-ganesha, maybe a branch can be created like latest-stable that has the code as the name suggests, this can also help us not be consciously thinking about making changes to the infra like changing the branch names at every new release of nfs-ganesha. Does this make sense?

Its good to know which ganesha stable version (5/6/..) is currently being used for testing (I understand its a naming thing).

I'm with @ffilz on this.

@vshankar
Copy link

vshankar commented Nov 13, 2023

fixed and updated. did a sample run for verification - https://pulpito.ceph.com/vshankar-2023-11-10_12:08:09-fs-wip-62584-pacific-testing-default-smithi/ (--filter client-limits)

@vshankar
Copy link

fixed and updated. did a sample run for verification - https://pulpito.ceph.com/vshankar-2023-11-10_12:08:09-fs-wip-62584-pacific-testing-default-smithi/ (--filter client-limits)

apologies - updated the incorrect PR :/

@vshankar
Copy link

@dparmar18 good to close I guess?

@dparmar18
Copy link
Author

@dparmar18 good to close I guess?

yup

@dparmar18 dparmar18 closed this Nov 30, 2023
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.

5 participants