Bug 2097328
| Summary: | virtctl guestfs shouldn't required uid = 0 | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Alex Kalenyuk <akalenyu> |
| Component: | Storage | Assignee: | Alice Frosi <afrosi> |
| Status: | CLOSED ERRATA | QA Contact: | Kevin Alon Goldblatt <kgoldbla> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.11.0 | CC: | afrosi, alitke, cnv-qe-bugs, kgoldbla, mrashish, vfarias, yadu |
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | kubevirt-virtctl-4.11.0-613, CNV v4.11.0-479 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2076616 | Environment: | |
| Last Closed: | 2022-09-14 19:35:59 UTC | Type: | --- |
| 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: | 2076616 | ||
| Bug Blocks: | |||
|
Description
Alex Kalenyuk
2022-06-15 12:56:16 UTC
Verified with the following code: ------------------------------------------ oc version Client Version: 4.11.0-202207072008.p0.gf17f1aa.assembly.stream-f17f1aa Kustomize Version: v4.5.4 Server Version: 4.11.0-rc.1 Kubernetes Version: v1.24.0+2dd8bb1 oc get csv -n openshift-cnv NAME DISPLAY VERSION REPLACES PHASE kubevirt-hyperconverged-operator.v4.11.0 OpenShift Virtualization 4.11.0 kubevirt-hyperconverged-operator.v4.10.2 Succeeded Verified with the following scenario: ----------------------------------------- oc whoami unprivileged-user oc create -f vm-alice.yaml virtualmachine.kubevirt.io/vm-cirros-datavolume-alice created oc get dv -w NAME PHASE PROGRESS RESTARTS AGE cirros-dv-alice ImportInProgress N/A 9s guestfs-dv-cnv-6566 Succeeded 100.0% 4m24s cirros-dv-alice Succeeded 100.0% 9s oc get vm NAME AGE STATUS READY vm-cirros-datavolume-alice 17s Stopped False oc get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE cirros-dv-alice Bound nfs-pv-03 5Gi RWO,RWX nfs 83s guestfs-dv-cnv-6566 Bound pvc-379049ee-1e51-4f7d-bb26-dbf5fc202e18 1Gi RWX ocs-storagecluster-ceph-rbd 5m38s virtctl guestfs cirros-dv-alice Use image: registry.redhat.io/container-native-virtualization/libguestfs-tools@sha256:468675ed096bf4888d42e034a72575bf713490a19f941f5c9d7510f30afefd3b The PVC has been mounted at /disk If you don't see a command prompt, try pressing enter.+ touch /usr/local/lib/guestfs/appliance/done + /bin/bash bash-4.4$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 70G 0 loop loop1 7:1 0 70G 0 loop loop2 7:2 0 1G 0 loop rbd0 251:0 0 1G 0 disk |-rbd0p1 251:1 0 35M 0 part `-rbd0p15 251:15 0 8M 0 part vda 252:0 0 150G 0 disk |-vda1 252:1 0 1M 0 part |-vda2 252:2 0 127M 0 part |-vda3 252:3 0 384M 0 part `-vda4 252:4 0 149.5G 0 part /usr/local/lib/guestfs/appliance vdb 252:16 0 70G 0 disk vdc 252:32 0 70G 0 disk Moving to VERIFIED! 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 (Important: OpenShift Virtualization 4.11.0 Images security and bug fix 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-2022:6526 |