Bug 1984954
Summary: | Normal user cannot create VM because it cannot access v2v-vmware configmap | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | YaoJinbo <jyao> | ||||
Component: | Console Kubevirt Plugin | Assignee: | Matan Schatzman <mschatzm> | ||||
Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 4.8 | CC: | aos-bugs, gouyang, tnisan, yzamir | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.9.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1998692 (view as bug list) | Environment: | |||||
Last Closed: | 2021-10-18 17:40:51 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1998692 | ||||||
Attachments: |
|
Comment 1
Yaacov Zamir
2021-07-22 14:24:29 UTC
Created attachment 1804716 [details] normal user cannot access v2v-vmware configmap Hi Kobi, The actual error is normal user cannot access the v2v-vmware configmaps in ns "kubevirt-hyperconverged". Error on wizard: configmaps "v2v-vmware" is forbidden: User "test" cannot get resource "configmaps" in API group "" in the namespace "kubevirt-hyperconverged" It has two problems here now: 1. the namespace should be "openshift-cnv", not "kubevirt-hyperconverged". 2. normal user cannot access configmap in "openshift-cnv", it shows this error in command line as well. I think this is caused by fix of bug https://bugzilla.redhat.com/show_bug.cgi?id=1942839, as windows VM need to read data from the v2v-vmware configmao, it prevent normal user to use the wizard. $ oc login -u test -p test $oc get cm -n openshift-cnv Error from server (Forbidden): configmaps is forbidden: User "test" cannot list resource "configmaps" in API group "" in the namespace "openshift-cnv" Workaround: Grant normal user access to project 'openshift-cnv'. $ oc adm policy add-role-to-user view test -n openshift-cnv After it, normal user is able to use the wizard and create the vm. not a blocker, because it has a workaround, moving severity to high because this effect any non admin user 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.9.0 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:3759 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |