generated from Cray-HPE/metal-template
-
Notifications
You must be signed in to change notification settings - Fork 38
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
WIP - CASM-4977: Procedure to upgrade NCN and CN with different CSM version based images #5578
Draft
rajeshranganathan-hpe
wants to merge
1
commit into
release/1.6
Choose a base branch
from
CASM-4977
base: release/1.6
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Upgrading management and managed nodes with different CSM versions using IUF | ||
|
||
For certain use cases, there may be a need to combine different recipes of CSM to bring up the | ||
management and managed nodes. For example, if a feature which supports a specific | ||
CPU architecture for managed nodes is needed and that is present in a different recipe of CSM | ||
than the version of CSM that will be run on management nodes. | ||
|
||
## Procedure | ||
|
||
1. Decide the recipes for management and managed nodes. For example, use recipe `a.b.c`, | ||
which contains CSM version `1.5.x` for managed nodes and use recipe `x.y.z`, which contains | ||
CSM version `1.6.x`, for management nodes. | ||
|
||
1. Ensure that the CSM cluster is operational with the lowest among the selected recipes for both | ||
management and managed nodes. | ||
|
||
If it is necessary to upgrade CSM to the lowest among the selected recipes, then | ||
use the [Upgrade CSM and additional products with IUF](../operations/iuf/workflows/upgrade_csm_and_additional_products_with_iuf.md) procedure to upgrade CSM. In the | ||
above example, the upgrade would be to recipe `a.b.c`, which contains CSM version | ||
`1.5.x`, for both management and managed nodes. | ||
|
||
1. Go through the `product_vars.yaml` file of both the recipes and come up with a set | ||
of products and versions across the recipes which have to be upgraded for CSM version **`1.6.x`**. | ||
|
||
1. Use the [Upgrade CSM and additional products with IUF](../operations/iuf/workflows/upgrade_csm_and_additional_products_with_iuf.md) procedure to upgrade CSM until | ||
[step 9, Managed rollout](../operations/iuf/workflows/managed_rollout.md), skip section | ||
"2.2 Compute Nodes". That is, do not upgrade compute nodes to the recipe `x.y.z` | ||
with CSM version `1.6.x` in order to keep the compute nodes on the `a.b.c` recipe | ||
with CSM version `1.5.x`. | ||
|
||
## Post install Testing | ||
|
||
Execute the NCN health checks to validate that management nodes are executing correctly. | ||
|
||
```bash | ||
/opt/cray/tests/install/ncn/automated/ncn-healthcheck-master | ||
/opt/cray/tests/install/ncn/automated/ncn-healthcheck-worker | ||
/opt/cray/tests/install/ncn/automated/ncn-healthcheck-storage | ||
/opt/cray/tests/install/ncn/automated/ncn-kubernetes-checks | ||
``` | ||
|
||
Execute the post install checks to validate that the managed nodes are executing correctly. | ||
Refer to [Post Install Check](../operations/iuf/stages/post_install_check.md) on | ||
running post install checks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do they know which products should be upgraded. Should be all products with a new version in the latest recipe?