Bug 1645026
| Summary: | Can't ssh to a VM which service is exposed as ClusterIP or LoadBalancer | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Qixuan Wang <qixuan.wang> |
| Component: | Storage | Assignee: | Adam Litke <alitke> |
| Status: | CLOSED NOTABUG | QA Contact: | shiyang.wang <shiywang> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.3 | CC: | cnv-qe-bugs, ncredi, qixuan.wang, rmohr, yadu |
| Target Milestone: | --- | ||
| Target Release: | 1.3 | ||
| 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: | 2018-11-08 10:54:53 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
Qixuan Wang
2018-11-01 09:16:47 UTC
Hey Roman, is Qixuan using virtctl expose correctly with ClusterIP and LoadBalancer modes? Thanks for your insight! Hi, It looks like only on the first expose commaned `--target-port 22` was specified. It would also have worked, if `--port` would have been set to `22` for `ClusterIP` and `LoadBalancer`. At least from inside the cluster. Let me know if that resolves the issue. @Qixuan I can not reproduce the issue with the vm example in https://github.com/kubevirt/kubevirt/blob/master/cluster/examples/vmi-ephemeral.yaml, ClusterIP, NodeIP and LoadBalancer mode are all working for me. could you please check your cmd is correct or not? or is there something wrong with your vm? @Roman, yes, --target-port 22 needs to be exposed. Thanks. Here is a bug: https://bugzilla.redhat.com/show_bug.cgi?id=1644523 So I can close it. |