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

[dev-v2.7] longhorn 102.4.0+up1.6.1 add #3753

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

mantissahz
Copy link
Contributor

Release Longhorn v1.6.1 into Rancher 2.7

Longhorn longhorn/longhorn#8209
Rancher rancher/rancher#44861

Signed-off-by: James Lu james.lu@suse.com

cc @innobead @PhanLe1010 @khushboo-rancher @roger-ryao

Waiting for Longhorn 1.6.1 images merged into the Rancher image-mirror list.

Copy link

github-actions bot commented Apr 8, 2024

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

Copy link
Collaborator

@nicholasSUSE nicholasSUSE left a comment

Choose a reason for hiding this comment

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

Hello, we have improved the Charts documentation regarding Pull Request Rules.

Please take a look at it before making any new Pull Requests.
We are still approving Pull Requests and starting to inform all teams, soon we will require the standard in the documentation.

https://github.com/rancher/charts?tab=readme-ov-file#pull-request-rules

Copy link

github-actions bot commented Apr 9, 2024

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

Copy link

github-actions bot commented Apr 9, 2024

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

Copy link

github-actions bot commented Apr 9, 2024

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

@mantissahz mantissahz changed the title [dev-v2.7] Add Longhorn 1.6.1 chart [dev-v2.7] longhorn 102.4.0+up1.6.1 add Apr 9, 2024
@roger-ryao
Copy link

Prerequisites:

  • Set the Concurrent Automatic Engine Upgrade Per Node Limit to a value greater than 0.
  • LONGHORN_REPO is set to longhornio.
  • Rancher : v2.7.12

Verify is passed as follows step

  • Fresh installation
  • Uninstallation
  • Upgrade from 102.3.2+up1.5.4 - > 102.4.0+up1.6.1

Copy link
Contributor

@PhanLe1010 PhanLe1010 left a comment

Choose a reason for hiding this comment

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

LGTM

@PhanLe1010
Copy link
Contributor

PhanLe1010 commented Apr 9, 2024

Cannot merge because the image validation script failed with error:

time="2024-04-09T20:08:58Z" level=fatal msg="failed to generate namespace and repository for image: quay.io/openshift/origin-oauth-proxy"
make: *** [Makefile:17: check-images] Error 1
Error: Process completed with exit code 2.

It is is failed at this line of code https://github.com/rancher/charts-build-scripts/blob/a7001e331fda7b61c8df358862f46436eaae9df2/pkg/images/checkImages.go#L55-L59. It means that the recent added image in Longhorn, quay.io/openshift/origin-oauth-proxy, doesn't follow the format <repo>/<image-name>.

I think even if we solve the image format, the script will still failed because quay.io/openshift/origin-oauth-proxy is not mirrored to Longhorn repo and to Rancher repo yet. We should mirror them similar to what we did for CSI component.

Creating a new GitHub ticket: longhorn/longhorn#8329

@PhanLe1010
Copy link
Contributor

Waiting for the image PR (adding missing image) rancher/image-mirror#608

Copy link

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

openshift:
oauthProxy:
# -- Repository for the OAuth Proxy image. This setting applies only to OpenShift users.
repository: rancher/mirrored-longhornio-openshift-origin-oauth-proxy
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @mantissahz we need to add this mirror image to questions.yaml too. Could you help to update the PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added. Thanks

release Longhorn v1.6.1 into Rancher 2.7

Longhorn 8209
Rancher 44861

Signed-off-by: James Lu <james.lu@suse.com>
release Longhorn v1.6.1 into Rancher 2.7

Longhorn 8209
Rancher 44861

Signed-off-by: James Lu <james.lu@suse.com>
Copy link

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

Copy link
Contributor

@PhanLe1010 PhanLe1010 left a comment

Choose a reason for hiding this comment

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

LGTM

@PhanLe1010
Copy link
Contributor

@khushboo-rancher Because we have had significant modifications since the last test run, could we retest the PR? Once it pass, I will merge the PR

@khushboo-rancher
Copy link

QA - PASS

Validated below scenarios:

  1. Installation
  2. uninstallation
  3. upgrade
  4. P0 test cases - mounting volume (RWO, RWX), replica rebuilding, backing image etc

@PhanLe1010 PhanLe1010 merged commit 77dcbd6 into rancher:dev-v2.7 Apr 15, 2024
6 of 7 checks passed
lucasmlp pushed a commit that referenced this pull request Apr 17, 2024
Signed-off-by: James Lu <james.lu@suse.com>
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