okd kubevirt gui not working properly

86 views
Skip to first unread message

Rob Verduijn

unread,
Jun 30, 2021, 7:58:30 AM6/30/21
to kubevirt-dev

Hi all,

I'm not sure this forum is the right place for this question, if not please direct me to the right one.

I'm trying out kubevirt with okd on baremetal.
So far it works fine with virtctl and I can spin up vm's from templates, access the console and the network seems to be working ok.

However, the vm is not visible in the okd console page, and the template tab takes me to a blanc page (as in a white sheet of paper in landscape... nothing on it not even the okd menu and buttons.)

I installed kubevirt using the following steps
export RELEASE=v0.42.1
oc create namespace kubevirt
oc create serviceaccount kubevirt-operator
oc adm policy add-scc-to-user privileged -n kubevirt -z kubevirt-operator
oc apply -f https://github.com/kubevirt/kubevirt/releases/download/${RELEASE}/kubevirt-operator.yaml
oc apply -f https://github.com/kubevirt/kubevirt/releases/download/${RELEASE}/kubevirt-cr.yaml

wait for all the pods to start and then I was able to spin up a vm from a template using virtctl.

However the okd console did not see the vm and the template page was a blanc.

Did I forget something ?

Rob

Rob Verduijn

unread,
Jun 30, 2021, 8:00:17 AM6/30/21
to kubevirt-dev
typo..
oc create serviceaccount kubevirt-operator
should be
oc create serviceaccount kubevirt-operator -n kubevirt

Rob


Op woensdag 30 juni 2021 om 13:58:30 UTC+2 schreef Rob Verduijn:

Alexander Wels

unread,
Jun 30, 2021, 10:23:45 AM6/30/21
to Rob Verduijn, kubevirt-dev
I highly suggest installing kubevirt using the HCO [0] as the OKD interface is built to use that. That will also install a bunch of other kubevirt related projects like the containerized data importer, and other things it needs.


--
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/32633827-c11a-40a5-b061-c4f89203527cn%40googlegroups.com.

Rob Verduijn

unread,
Jul 1, 2021, 2:28:13 PM7/1/21
to Alexander Wels, kubevirt-dev
hmmm...

looked for the operator in the market: (search for hyper keyword)
did some double clicking...
did some waiting....
everything installed smoothly
templates are present
everything seems to work....
no debugging at all....
I was preparing for some serious digging and googling but this all seems to work out of the box.

Super!!
cheers
Rob Verduijn




Op wo 30 jun. 2021 om 16:23 schreef Alexander Wels <aw...@redhat.com>:
Reply all
Reply to author
Forward
0 new messages