From 41491f05bf2834e7d7335860bbd64f4a548bd243 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Wed, 21 Aug 2024 20:28:43 +0800 Subject: [PATCH] docs(1.7.0): add PSA for issue 9267 Signed-off-by: Derek Su --- content/docs/1.7.0/important-notes/_index.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/content/docs/1.7.0/important-notes/_index.md b/content/docs/1.7.0/important-notes/_index.md index d5a9a83aa..193c8a863 100644 --- a/content/docs/1.7.0/important-notes/_index.md +++ b/content/docs/1.7.0/important-notes/_index.md @@ -6,6 +6,8 @@ weight: 1 This page lists important notes for Longhorn v{{< current-version >}}. Please see [here](https://github.com/longhorn/longhorn/releases/tag/v{{< current-version >}}) for the full release note. +- [Warning](#warning) + - [Unable To Attach Volumes Which Are Created Before v1.5.2 and v1.4.4](#unable-to-attach-volumes-which-are-created-before-v152-and-v144) - [Deprecation](#deprecation) - [Environment Check Script](#environment-check-script) - [General](#general) @@ -35,6 +37,18 @@ Please see [here](https://github.com/longhorn/longhorn/releases/tag/v{{< current - [Snapshot Creation Time As Shown in the UI Occasionally Changes](#snapshot-creation-time-as-shown-in-the-ui-occasionally-changes) - [Unable To Revert a Volume to a Snapshot Created Before Longhorn v1.7.0](#unable-to-revert-a-volume-to-a-snapshot-created-before-longhorn-v170) +## Warning + +### Unable To Attach Volumes Which Are Created Before v1.5.2 and v1.4.4 + +The Longhorn team has identified [a critical issue](https://github.com/longhorn/longhorn/issues/9267) that affects volume attachment in Longhorn v1.7.0. We are currently working on releasing v1.7.1, which will be available soon. If your Longhorn cluster contains `engine` resources with names in the format `-e-<8-char random id>` that are created before v1.5.2 and v1.4.4, please put v1.7.0 upgrade on hold until v1.7.1 is available. + +You can use the following command to check if it is safe to upgrade your Longhorn cluster to v1.7.0: + +> ``` +> [ $(kubectl -n longhorn-system get engines.longhorn.io -o name | grep -E '\-e\-[a-z0-9]{8}$' | wc -l) -gt 0 ] && echo "Please hold off on upgrading to v1.7.0 until v1.7.1 is available." || echo "Safe to upgrade to v1.7.0." +> ``` + ## Deprecation ### Environment Check Script