SSH to the VM fails with error:ssh: connect to host xx.xx.xx.xx port 22: Connection timed outI am trying to migrate the machine to kubernetes cluster on Azure (Azure Kubernetes Service).
RegardsRohith.--
You received this message because you are subscribed to the Google Groups "kubevirt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubevirt-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/26f6b22c-811f-4a11-be53-d24645a1b947n%40googlegroups.com.
--Please follow https://kubevirt.io/user-guide/virtual_machines/interfaces_and_networks/#pod to add one.Then you typically want to expose its port 22 as a service and ssh into the IP:port of the service.SSH to the VM fails with error:ssh: connect to host xx.xx.xx.xx port 22: Connection timed outI am trying to migrate the machine to kubernetes cluster on Azure (Azure Kubernetes Service).Let us know how this works out for you.RegardsRohith.--
You received this message because you are subscribed to the Google Groups "kubevirt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubevirt-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/26f6b22c-811f-4a11-be53-d24645a1b947n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "kubevirt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubevirt-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/CAHOEP55g-WFprcQx-%3D43q195iKDyV23%3DRvmQLET1q_8TFxaGgw%40mail.gmail.com.
Hi,
As mentioned by Dan above, I have tried including network config in the yaml, but that did not change anything (as mentioned by Roman, as long as autoAttachPodInterface is true, there is no need to set the network config).I was able to solve my issue by getting a screenshot of the console of the VMI. I could not get a console to the running kubevirt VMI, but I could get a screenshot of the console using virsh commands in the following way:1. Login to the virt-launcher pod corresponding to the running VMI.2. Use 'virsh screenshot <VM name>' command to get the screenshot of the VMI console.3. Pull the saved screenshot from the pod using 'kubectl cp' command.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/11149212-4517-44d0-ab45-df4234b8e47dn%40googlegroups.com.