Helm releases/installs are still in helm2 after upgrade from R4

Bug #1943834 reported by Mihnea Saracin
6
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
Ghada Khalil (gkhalil)
tags: added: stx.containers
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/809177
Committed: https://opendev.org/starlingx/config/commit/6c3eeee22f0188a55f04e800cbd0c4a90629ab67
Submitter: "Zuul (22348)"
Branch: master

commit 6c3eeee22f0188a55f04e800cbd0c4a90629ab67
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
    $ wget https://github.com/helm/helm-2to3/releases/download/v0.9.0/helm-2to3_0.9.0_linux_amd64.tar.gz
    $ pushd plugin/
    $ tar -xvzf ../helm-2to3_0.9.0_linux_amd64.tar.gz
    $ mkdir bin
    $ cp 2to3 bin
    $ popd
    $ export HELM_LINTER_PLUGIN_NO_INSTALL_HOOK=true
    $ 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: I9a3370ddc10a307ba87d72837f8e284fbe2594bd
    Signed-off-by: Mihnea Saracin <email address hidden>
    Closes-Bug: 1943834

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
Ghada Khalil (gkhalil) wrote :

screening: Adding stx.6.0 since the fix will be available for that release

tags: added: stx.6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.