helm_release_exists reports a false match.

Bug #1964378 reported by Scott Little
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Scott Little

Bug Description

Brief Description
-----------------
Failed to start a second minikube environment.
The issue appears to be that my project name was a
substring of the other pre-existing project.
Function helm_release_exists() was seeing a false match.

Severity
--------
Minro

Steps to Reproduce
------------------
On a single host, under a single user id, using different
MINIKUBE home and name, try to set up two minikube work environments
using project names 'deb' and 'deb2'.

Expected Behavior
------------------
both environments can be established

Actual Behavior
----------------
One fails to establish

Reproducibility
---------------
100%

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
March 4, 2022

Last Pass
---------
N/A

Timestamp/Logs
--------------
N/A

Test Activity
-------------
Build

Workaround
----------
use totally unique project name, not a substring of another.

Scott Little (slittle1)
Changed in starlingx:
assignee: nobody → Scott Little (slittle1)
Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/832143
Committed: https://opendev.org/starlingx/tools/commit/9847046042730da8df002b3e0495e05429a007f6
Submitter: "Zuul (22348)"
Branch: master

commit 9847046042730da8df002b3e0495e05429a007f6
Author: Scott Little <email address hidden>
Date: Fri Mar 4 16:01:32 2022 -0500

    helm_release_exists: require exact projectname match

    While trying to get two minikube environments working
    simultaneously on a single host, one issue I hit was
    that one project name was a substring of the other.
    helm_release_exists() was seeing a false match.

    Modify helm_release_exists() to require an exact match
    of the project name.

    Closes-Bug: 1964378
    Signed-off-by: Scott Little <email address hidden>
    Change-Id: Iea311f6675b8c2fb4a77ad0265fe71caf473a521

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.7.0 stx.tools
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.