Bug 1951636
| Summary: | assisted service operator use default serviceaccount in operator bundle | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Hao Liu <haoli> |
| Component: | assisted-installer | Assignee: | David Zager <dzager> |
| assisted-installer sub component: | Deployment Operator | QA Contact: | Chad Crum <ccrum> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | achernet, aos-bugs, asegurap, cbrant, cchun, ccrum, nshidlin |
| Version: | 4.8 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | AI-Team-Platform | ||
| Fixed In Version: | OCP-Metal-v1.0.20.1 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 23:02:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Hao Liu
2021-04-20 15:42:20 UTC
Is there a place this work item is being tracked, as I don't see any updates inBX @haoli could you please provide some more information on how to reproduce this issue? thanks @cchun - Do you have any idea how to reproduce this? I'm not sure how much longer Hao will be out. @ccrum All you need to do is take a look at the infrastructure-operator's deployment to see what serviceaccount it's using (should be assisted-service). If you create an agentserviceconfig, the resulting assisted-service deployment should also be using assisted-service for it's serviceaccount. This has been validated in 2.3.0-DOWNSTREAM-2021-07-12-15-34-40
Service account used by assisted service pod is assisted-service
[root@sealusa12 auth]# oc get pod assisted-service-549cb88686-jwvhf -o yaml | grep -i serviceaccount
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
serviceAccount: assisted-service
serviceAccountName: assisted-service
[root@sealusa12 auth]# oc get deployment infrastructure-operator -o yaml | grep -i serviceaccount
fieldPath: spec.serviceAccountName
serviceAccount: assisted-service
serviceAccountName: assisted-service
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438 |