Apply kubernetes service parameter after apply,remove Vault app throws traceback error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Cole Walker |
Bug Description
Brief Description
-----------------
Apply vault, remove it and try to add the podsecuritypoli
Severity
--------
Major
Steps to Reproduce
------------------
1)system upload,apply the vault app
system application-upload /usr/local/
2)Remove it after applied successfully
system application-remove vault
3)Now add the podsecurity to the kube api parameter list
system service-
4)Apply the kubernetes service-parameter throws the following traceback error(actually just applying kubernetes service parameter throws the error)
system service-
[sysadmin@
'NoneType' object has no attribute 'HELM_NS_VAULT'
Traceback (most recent call last):
File "/usr/lib64/
**args)
File "/usr/lib64/
result = getattr(proxyobj, method)(ctxt, **kwargs)
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
armada_
File "/usr/lib64/
return func(self, *args, **kwargs)
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib64/
cnamespace)
File "/usr/lib64/
cnamespace)})
File "/usr/lib64/
cnamespace))
File "/opt/platform/
AttributeError: 'NoneType' object has no attribute 'HELM_NS_VAULT'
Expected Behavior
------------------
kubernetes service parameter apply should work without any errors
Actual Behavior
----------------
system service-
Reproducibility
---------------
100%
System Configuration
-------
tested on all the following systems
simplex system,sm_4 ipv4
standard wp_3_6, ipv4
Branch/Pull Time/Commit
-------
2020-07-24
Last Pass
---------
This is a new test scenario
Timestamp/Logs
--------------
2020-07-
Test Activity
-------------
Feature Testing
Workaround
----------
Haven't found any
stx.5.0 / medium priority - very specific test-case should be investigated further.