Bug 2067246
| Summary: | [CNV]: Unable to ssh to Virtual Machine post changing Flavor tiny to custom | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | nsurati |
| Component: | User Experience | Assignee: | Matan Schatzman <mschatzm> |
| Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.9.3 | CC: | acardace, cnv-qe-bugs, gouyang, sgott |
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-14 19:29:18 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: | 2090124 | ||
We think, this is a issue specific to the WebUI. Feel free to revert it back to Virtualization component, if you feel otherwise. Moving to User-experience Component. note for verify: verify the bug on the new ui kubevirt-plugin and openshift/console verified on new ui and openshift/console master. 1. reproduced the problem on 4.10.15 2. verified the bug on console master branch, ssh is okay after edit VM flavor to custom. 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 |
Description of problem: Unable to ssh to Virtual Machine post changing Flavor tiny to custom. Version-Release number of selected component (if applicable): CNV 4.9 How reproducible: Always Steps to Reproduce: 1. Create VM with tiny or medium flavor 2. Try to ssh to VM and it works 3. Change VM flavor to Custom 4. Try to ssh to VM and it stop working Actual results: Unable to ssh to virtual machine Expected results: ssh to virtual machine should work post flavor change to custom Additional info: Basically post flavor change to custom. SVC still have selector "{"flavor.template.kubevirt.io/tiny":"true" [1] However Virt-launcher POD already remove LABEL ""kubevirt.io/size":"tiny". [2] [1] # oc get svc fedora-ssh-service -o jsonpath='{..spec.selector..}' | tr -s , '\n' {"flavor.template.kubevirt.io/tiny":"true" <-------------- "kubevirt.io/domain":"fedora" "os.template.kubevirt.io/fedora34":"true" "vm.kubevirt.io/name":"fedora" "workload.template.kubevirt.io/server":"true"} true fedora true fedora true [2] # oc get po virt-launcher-fedora-98ccw -o jsonpath='{..metadata.labels..}' | tr -s , '\n' {"kubevirt.io":"virt-launcher" "kubevirt.io/created-by":"294b69b0-9067-45e9-8fe8-0f3862edd2ad" "kubevirt.io/domain":"fedora" "os.template.kubevirt.io/fedora34":"true" "vm.kubevirt.io/name":"fedora" "workload.template.kubevirt.io/server":"true"} 294b69b0-9067-45e9-8fe8-0f3862edd2ad fedora true fedora true virt-launcher Removing ""flavor.template.kubevirt.io/tiny":"true" SELECTOR from svc restore ssh-service