helm_release_exists reports a false match.
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_
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.
Changed in starlingx: | |
assignee: | nobody → Scott Little (slittle1) |
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.7.0 stx.tools |
Reviewed: https:/ /review. opendev. org/c/starlingx /tools/ +/832143 /opendev. org/starlingx/ tools/commit/ 9847046042730da 8df002b3e0495e0 5429a007f6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 9847046042730da 8df002b3e0495e0 5429a007f6
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 release_ exists( ) was seeing a false match.
simultaneously on a single host, one issue I hit was
that one project name was a substring of the other.
helm_
Modify helm_release_ exists( ) to require an exact match
of the project name.
Closes-Bug: 1964378 fb4a77ad0265fe7 1caf473a521
Signed-off-by: Scott Little <email address hidden>
Change-Id: Iea311f6675b8c2