Skip to content

Commit

Permalink
Update content/docs/1.7.0/important-notes/_index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jillian <67180770+jillian-maroket@users.noreply.github.com>
Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit and jillian-maroket committed Aug 21, 2024
1 parent 41491f0 commit 9c9ea63
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions content/docs/1.7.0/important-notes/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,16 @@ Please see [here](https://github.com/longhorn/longhorn/releases/tag/v{{< current

## Warning

### Unable To Attach Volumes Which Are Created Before v1.5.2 and v1.4.4
### Unable to Attach Volumes 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 `<volume name>-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.
The Longhorn team has identified [a critical issue](https://github.com/longhorn/longhorn/issues/9267) that affects volume attachment in Longhorn v1.7.0. A fix for this issue will be included in v1.7.1, which is in active development.

You can use the following command to check if it is safe to upgrade your Longhorn cluster to v1.7.0:
Avoid upgrading to v1.7.0 if your Longhorn cluster contains `engine` resources with the following characteristics:

- Resource name: The format is `<volume name>-e-<8-char random id>`.
- Time of creation: A Longhorn version earlier than v1.5.2 and v1.4.4 was installed on the cluster.

Run the following command to check if you can safely 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."
Expand Down

0 comments on commit 9c9ea63

Please sign in to comment.