Hi,Not able to access Service running in Kubevirt-VM throght POD IP / Cluster IP / Route in OKD 3.11
Can anyone help how to access service running in Kubevirt VM ?Thank YouChintan
--
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/d4b39983-f853-4a54-a09a-345d56f7e716%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi,
On Mon, May 13, 2019 at 8:59 PM CHINTAN KANADIA <huremot...@gmail.com> wrote:Hi,Not able to access Service running in Kubevirt-VM throght POD IP / Cluster IP / Route in OKD 3.11Could you share your VMI and service definition? Can you access the VMI via `virtctl console` or `virtctl vnc`?Best regards,Roman
--Can anyone help how to access service running in Kubevirt VM ?Thank YouChintan
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 kubevi...@googlegroups.com.
Yes, Please find attachment as VMI - yaml defination.yes, I am able to access VM through `virtctl console` or `virtctl vnc`I can Access Internet from VM & but not able to access Service running on VM ( I can access service on Localhost on VM ) and Also not from other VM running in Same namespace.
Following are my ifconfig of VM
--
On Tuesday, May 14, 2019 at 2:27:28 AM UTC-4, Roman Mohr wrote:Hi,On Mon, May 13, 2019 at 8:59 PM CHINTAN KANADIA <huremot...@gmail.com> wrote:Hi,Not able to access Service running in Kubevirt-VM throght POD IP / Cluster IP / Route in OKD 3.11Could you share your VMI and service definition? Can you access the VMI via `virtctl console` or `virtctl vnc`?Best regards,Roman--Can anyone help how to access service running in Kubevirt VM ?Thank YouChintan
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 kubevi...@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/d4b39983-f853-4a54-a09a-345d56f7e716%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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/131f3435-9e6c-4175-aeeb-5cdb8a415c2e%40googlegroups.com.
pkts bytes target prot opt in out source destinationChain FORWARD (policy ACCEPT 150K packets, 261M bytes)pkts bytes target prot opt in out source destinationChain OUTPUT (policy ACCEPT 42 packets, 3114 bytes)pkts bytes target prot opt in out source destination
Chain PREROUTING (policy ACCEPT 617 packets, 44959 bytes)pkts bytes target prot opt in out source destinationChain INPUT (policy ACCEPT 27 packets, 1668 bytes)pkts bytes target prot opt in out source destinationChain OUTPUT (policy ACCEPT 1 packets, 427 bytes)pkts bytes target prot opt in out source destinationChain POSTROUTING (policy ACCEPT 2 packets, 755 bytes)pkts bytes target prot opt in out source destination589 42963 MASQUERADE all -- * * 10.0.2.2 0.0.0.0/0Chain KUBEVIRT_POSTINBOUND (1 references)pkts bytes target prot opt in out source destinationChain KUBEVIRT_PREINBOUND (1 references)pkts bytes target prot opt in out source destination$ kubectl get endpoints cockpit -n vnc[root@master1 ~]# kubectl get endpoints cockpit -n vncNAME ENDPOINTS AGEcockpit 10.129.8.19:9090 10d[root@master1 ~]# kubectl describe pod virt-launcher-cockpit-n8b9dName: virt-launcher-cockpit-n8b9dNamespace: vncPriority: 0PriorityClassName: <none>Node: pc5.myhu.cloud/192.168.152.5Start Time: Tue, 14 May 2019 15:21:57 -0400Labels: kubevirt.io=virt-launcherAnnotations: kubevirt.io/domain=cockpitStatus: RunningIP: 10.129.8.19Controlled By: VirtualMachineInstance/cockpitContainers:volumerootdisk:Container ID: docker://58a6873db407b95f6e746555ced97040e94d50af1c792034cdaa5248d0245e60Image: kubevirt/fedora30-cloud-container-disk-demoImage ID: docker-pullable://docker.io/kubevirt/fedora30-cloud-container-disk-demo@sha256:cb7b12c079d12c34cfc2a85d10a39c291e0234673782a0597070fe6a742872dePort: <none>Host Port: <none>Command:/entry-point.shState: RunningStarted: Tue, 14 May 2019 15:22:24 -0400Ready: TrueRestart Count: 0Readiness: exec [cat /tmp/healthy] delay=2s timeout=5s period=5s #success=2 #failure=5Environment:COPY_PATH: /var/run/kubevirt-ephemeral-disks/container-disk-data/vnc/cockpit/disk_rootdisk/disk-imageMounts:/var/run/kubevirt-ephemeral-disks from ephemeral-disks (rw)compute:Container ID: docker://480bd16fa1dcd037ce35a4748b01c03a60f99013781b1572a6baec15deaa7e29Image ID: docker-pullable://docker.io/kubevirt/virt-launcher@sha256:71345922726fc96296ab90535a43c94906a64d78e159156ff97c36366bde250dPort: <none>Host Port: <none>Command:/usr/bin/virt-launcher--qemu-timeout5m--namecockpit--uid89feec95-767d-11e9-b50f-78e3b51df240--namespacevnc--kubevirt-share-dir/var/run/kubevirt--ephemeral-disk-dir/var/run/kubevirt-ephemeral-disks--readiness-file/var/run/kubevirt-infra/healthy--grace-period-seconds15--hook-sidecars0--less-pvc-space-toleration10State: RunningStarted: Tue, 14 May 2019 15:22:24 -0400Ready: TrueRestart Count: 0Limits:Requests:memory: 2173849290Readiness: exec [cat /var/run/kubevirt-infra/healthy] delay=2s timeout=5s period=2s #success=1 #failure=5Environment: <none>Mounts:/var/run/kubevirt from virt-share-dir (rw)/var/run/kubevirt-ephemeral-disks from ephemeral-disks (rw)/var/run/kubevirt-infra from infra-ready-mount (rw)/var/run/libvirt from libvirt-runtime (rw)Conditions:Type StatusInitialized TrueReady TrueContainersReady TruePodScheduled TrueVolumes:infra-ready-mount:Type: EmptyDir (a temporary directory that shares a pod's lifetime)Medium:virt-share-dir:Type: HostPath (bare host directory volume)Path: /var/run/kubevirtHostPathType:libvirt-runtime:Type: EmptyDir (a temporary directory that shares a pod's lifetime)Medium:ephemeral-disks:Type: EmptyDir (a temporary directory that shares a pod's lifetime)Medium:QoS Class: BurstableNode-Selectors: kubevirt.io/schedulable=trueregion=primaryTolerations: node.kubernetes.io/memory-pressure:NoScheduleEvents:Type Reason Age From Message---- ------ ---- ---- -------Warning Unhealthy 40m kubelet, pc5.myhu.cloud Readiness probe failed: rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "process_linux.go:87: adding pid 10322 to cgroups caused \"failed to write 10322 to cgroup.procs: write /sys/fs/cgroup/cpu,cpuacct/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod8a043887_767d_11e9_b50f_78e3b51df240.slice/docker-480bd16fa1dcd037ce35a4748b01c03a60f99013781b1572a6baec15deaa7e29.scope/cgroup.procs: invalid argument\""
is this enough info or u need more ?
--
You received this message because you are subscribed to a topic in the Google Groups "kubevirt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubevirt-dev/JWlhXIWFX74/unsubscribe.
To unsubscribe from this group and all its topics, 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/faddb5db-c977-4eb6-8cf3-61585e17888e%40googlegroups.com.