Hi,My Kubevirt setup is v0.14.0 on vanilla kubernetes v1.12.2.I have created vmi with fedora demo image of kubevirt : kubevirt/fedora-cloud-container-disk-demo:latestthe vmi is created successfully and I am able to ping the machine(pod) too.events too show successful startType Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulCreate 31s virtualmachine-controller Created virtual machine pod virt-launcher-vm-fedora-h9njg
Normal Created 18s (x3 over 18s) virt-handler, kube-node VirtualMachineInstance defined.
Normal Started 18s virt-handler, kube-node VirtualMachineInstance started.Now if I try to virtctl console vm-fedora,[root@kube-master ~]# virtctl console vm-fedora
Successfully connected to vm-fedora console. The escape sequence is ^]It show above message and then hangs. I am able to exit using ^] keys.If I try to connect immediately of VM starts, it shows fedora boot messages, but again it hang after that.
--
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 post to this group, send email to kubevi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/5c353e7a-860a-4c3d-9ab4-807bcd1ea35a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Am Do., 21. Feb. 2019, 03:34 hat Kunal Kushwaha <kunal.k...@gmail.com> geschrieben:Hi,My Kubevirt setup is v0.14.0 on vanilla kubernetes v1.12.2.I have created vmi with fedora demo image of kubevirt : kubevirt/fedora-cloud-container-disk-demo:latestthe vmi is created successfully and I am able to ping the machine(pod) too.events too show successful startType Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulCreate 31s virtualmachine-controller Created virtual machine pod virt-launcher-vm-fedora-h9njg
Normal Created 18s (x3 over 18s) virt-handler, kube-node VirtualMachineInstance defined.
Normal Started 18s virt-handler, kube-node VirtualMachineInstance started.Now if I try to virtctl console vm-fedora,[root@kube-master ~]# virtctl console vm-fedora
Successfully connected to vm-fedora console. The escape sequence is ^]It show above message and then hangs. I am able to exit using ^] keys.If I try to connect immediately of VM starts, it shows fedora boot messages, but again it hang after that.Very likely that the vmi does not boot. Can you check `virtctl vnc`? On the serial console you would only see output, if it actually boots the kernel and if your kernel writes something to the serial device. That is normally the case but could be disabled.
virtctl expose vmi vmi-windows --port=9090 --target-port=80 --name=nginxwebvm --type=NodePortI'm trying to run a web server inside a windows VM and accessing it from my minikube cluster host.I use virtctl exposevirtctl expose vmi vmi-windows --port=9090 --target-port=80 --name=nginxwebvm --type=NodePort
But when I try a simple curl http://$(minikube ip):9090 I get a connection refused.
Any insight why this doesn't work?Inside the VM the nginx server is up and working. And I can access it with vnc.
--
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/eaccc6bb-dee6-420f-9bd5-c2a06e652178%40googlegroups.com.
Hi,with --port you specify the port on the cluster internal IP address. For connecting to the node's port from outside the cluster, you need to check which NodePort was assigned to the service (e.g. kubectl get svc nginxwebvm -o=yaml | grep nodePort) and connect to that one.Hope that helps .Cheers,Marc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
nginxwebvm NodePort 10.96.82.179 <none> 9090:31998/TCP 48s
curl http://$(minikube ip):31988
--
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/a6c7ef98-1ec2-4c63-a853-6e67fbcb2195%40googlegroups.com.
Do you think that minikube is the issue?
--
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/8dbee072-e673-4ef5-912e-8a7146fb3d8d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kubevi...@googlegroups.com.
In that case, is it windows specific maybe?
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/a3c1352e-e35e-4f63-a07d-6d48bc9538cf%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/a3c1352e-e35e-4f63-a07d-6d48bc9538cf%40googlegroups.com.
Nevermind, dumb mistake from my end, the default binding of dotnet is to localhost, which is why it didn't work. I had to bind it to the network's local ip address to make it work.
On Friday, 7 February 2020 10:53:27 UTC+1, silentda...@gmail.com wrote:Ok, what happened is pretty weird.It was indeed a firewall issue, after enabling all inbound traffic, nginx works on any port I set it.BUT when I launch a dotnet core web application, the port redirection doesn't work. It times out.This is a very odd problem and I don't even know how to debug it.Thank you for your assitance.
--
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/b213c978-7067-4c71-b119-7bc363345ff8%40googlegroups.com.