Helm releases/installs are still in helm2 after upgrade from R4
Bug #1943834 reported by
Mihnea Saracin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Mihnea Saracin |
Bug Description
Brief Description
-----------------
After we upgrade the system from R4, the old helm releases are still in helm2
Severity
--------
Minor: System/Feature is usable with minor issue
Steps to Reproduce
------------------
Do an upgrade from R4
Expected Behavior
------------------
helm releases/installs are present in helm3
Actual Behavior
----------------
helm releases/installs are present in helm2
Reproducibility
---------------
100%
System Configuration
-------
All setups
Branch/Pull Time/Commit
-------
stx r4 build on 2021-09-10 06:00:51
Last Pass
---------
N/A
Test Activity
-------------
Feature Testing
Changed in starlingx: | |
assignee: | nobody → Mihnea Saracin (msaracin) |
description: | updated |
description: | updated |
Changed in starlingx: | |
status: | New → In Progress |
tags: | added: stx.containers |
Changed in starlingx: | |
importance: | Undecided → Low |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/809177 /opendev. org/starlingx/ config/ commit/ 6c3eeee22f0188a 55f04e800cbd0c4 a90629ab67
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 6c3eeee22f0188a 55f04e800cbd0c4 a90629ab67
Author: Mihnea Saracin <email address hidden>
Date: Wed Sep 15 15:16:22 2021 +0300
Add a script to migrate releases from helm2 to helm3
This commit introduces a custom script that will help
migrating helm releases/installs from helm2 to helm3.
The procedure is:
# install the /helm-2to3 plugin
$ mkdir plugin /github. com/helm/ helm-2to3/ releases/ download/ v0.9.0/ helm-2to3_ 0.9.0_linux_ amd64.tar. gz 2to3_0. 9.0_linux_ amd64.tar. gz PLUGIN_ NO_INSTALL_ HOOK=true
$ wget https:/
$ pushd plugin/
$ tar -xvzf ../helm-
$ mkdir bin
$ cp 2to3 bin
$ popd
$ export HELM_LINTER_
$ helm plugin install ./plugin
# move the helm2 config to helm3
$ helm 2to3 move config
# chose a helmv2 release to migrate:
$ helmv2-cli -- helm list -a
# migrate a helm2 release e.g deployment manager
$ ./migrate_ helm_release. py deployment-manager
# check if it migrated successfully:
$ helm list -A -a
# it should not be present anymore in helm2:
helmv2-cli -- helm list -a
Change-Id: I9a3370ddc10a30 7ba87d72837f8e2 84fbe2594bd
Signed-off-by: Mihnea Saracin <email address hidden>
Closes-Bug: 1943834