From 85d25cb8b9ec990c281a42934210d8ef913e7aec Mon Sep 17 00:00:00 2001 From: Maureen Studeny Date: Mon, 6 Jan 2025 13:58:10 -0600 Subject: [PATCH] Modify prompt to ncn-m001# --- .../error_rolling_back_service_chart_with_etcd.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/troubleshooting/error_rolling_back_service_chart_with_etcd.md b/troubleshooting/error_rolling_back_service_chart_with_etcd.md index 8fafef3732eb..b1dc5596ca9d 100644 --- a/troubleshooting/error_rolling_back_service_chart_with_etcd.md +++ b/troubleshooting/error_rolling_back_service_chart_with_etcd.md @@ -26,7 +26,7 @@ REVISION UPDATED STATUS CHART APP If `helm.sh/chart` is `etcd-9.x.x` or greater and the StatefulSet and Pods have the `app.kubernetes.io/component=etcd` label, you can get past the error by removing the offending label from the etcd cluster Pods and StatefulSet. -1. (`ncn-m001`) Check which etcd helm chart version is currently running using `kubectl describe pod`. +1. (`ncn-m001#`) Check which etcd helm chart version is currently running using `kubectl describe pod`. ```bash kubectl describe pod -n services cray-hmnfd-bitnami-etcd-0 | grep "helm.sh/chart" @@ -40,7 +40,7 @@ If `helm.sh/chart` is `etcd-9.x.x` or greater and the StatefulSet and Pods have ncn-m001:~ # ``` -1. (`ncn-m001`) Check that the StatefulSet and the pods have the `app.kubernetes.io/component` label. +1. (`ncn-m001#`) Check that the StatefulSet and the pods have the `app.kubernetes.io/component` label. 1. Check if the StatefulSet has the label. @@ -78,7 +78,7 @@ If a manual backup of the etcd cluster was not done prior to running `helm rollb ## Run Script to Remove Label -(`ncn-m001`) Run the script `remove_label_from_etcd_cluster.sh` in `/usr/share/doc/csm/troubleshooting/scripts/` to remove the `app.kubernetes.io/component=etcd` label from the StatefulSet and Pods in the etcd cluster. +Run the script `remove_label_from_etcd_cluster.sh` in `/usr/share/doc/csm/troubleshooting/scripts/` to remove the `app.kubernetes.io/component=etcd` label from the StatefulSet and Pods in the etcd cluster. `remove_label_from_etcd_cluster.sh` usage: @@ -92,7 +92,7 @@ Usage: - The base name of the etcd cluster pods. Example, 'cray-hmnfd'. ``` -(`ncn-m001`) Run `remove_label_from_etcd_cluster.sh`. +(`ncn-m001#`) Run `remove_label_from_etcd_cluster.sh`. ```bash /usr/share/doc/csm/troubleshooting/scripts/remove_label_from_etcd_cluster.sh services cray-hmnfd @@ -119,7 +119,7 @@ The label `app.kubernetes.io/component=etcd` that was causing the StatefulSet er ## Re-run `helm rollback` -(`ncn-m001`) With the label `app.kubernetes.io/component=etcd` removed from the etcd cluster Pods and the StatefulSet, re-run `helm rollback`. The rollback should succeed and the expected revision should be running. +(`ncn-m001#`) With the label `app.kubernetes.io/component=etcd` removed from the etcd cluster Pods and the StatefulSet, re-run `helm rollback`. The rollback should succeed and the expected revision should be running. ```bash helm rollback -n services cray-hms-hmnfd 1