Why service created using "virtctl expose vmi" is not working in OpenShift Virtualization?

Solution In Progress - Updated -

Issue

  • A service was exposed in the VM using the command below. However, it is not able to connect to the VM using the created service.
virtctl expose vmi rhel8-kynp0ho84lqqk8bd --port=22 --name=rhel8-kynp0ho84lqqk8bd --type=NodePort 

Environment

  • OpenShift Virtualization 4.12.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content