Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.8] KubeVirt Plugin not working because OpenShift Virtualization installs CRDs with v1alpha3 #9227

Closed
jomeier opened this issue Jun 13, 2021 · 6 comments · Fixed by #9326
Closed
Labels
component/kubevirt Related to kubevirt-plugin kind/bug Categorizes issue or PR as related to a bug.

Comments

@jomeier
Copy link

jomeier commented Jun 13, 2021

Hi,

in OKD 4.8 nightlies we miss the side menu "Workloads -> Virtualization" in the Web Console if OpenShift Virtualization is installed. I think there is a problem with the Web Console.

This properly works with OKD 4.7 but seems to be a problem with latest 4.8 nightlies.

So I assume it's also a problem in OpenShift 4.8.

https://bugzilla.redhat.com/show_bug.cgi?id=1971188

Greetings,

Josef

@jomeier jomeier changed the title [4.8] Missing navigation element "Workloads -> Virtualization" if OpenShift Virtualization is installed [4.8] KubeVirt Plugin not working because OpenShift Virtualization installs CRDs with v1alpha3 Jun 13, 2021
@jomeier
Copy link
Author

jomeier commented Jun 13, 2021

An answer in https://bugzilla.redhat.com/show_bug.cgi?id=1971188 says that a few weeks ago a change was introduced that the web console only shows CRDs with version v1:

8c55c7a

Introduced the problem.

OpenShift Virtualization from the Red Hat Operatorhub catalog (Version 2.6.5, current version) still installs CRDs with v1alpha3. KubeVirt resources like VirtualMachine won't be shown in the Web Console.

Could you revert that, please @yaacov VirtualMachines CRs with version v1alpha3 will not work after an upgrade to OCP 4.8. This will confuse users a lot.

Thanks and greetings,

Josef

@yaacov
Copy link
Member

yaacov commented Jun 14, 2021

@jomeier thanks for the issue

@spadgett
Copy link
Member

spadgett commented Jul 1, 2021

@yaacov Is this addressed by #9326 or is there still an issue?

@spadgett spadgett added kind/bug Categorizes issue or PR as related to a bug. component/kubevirt Related to kubevirt-plugin labels Jul 1, 2021
@yaacov
Copy link
Member

yaacov commented Jul 4, 2021

@yaacov Is this addressed by #9326 or is there still an issue?

Bug is verified as fixed on 4.8
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1971188

cc:// @gouyang

@spadgett
Copy link
Member

spadgett commented Jul 6, 2021

Bug is verified as fixed on 4.8
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1971188

Closing the issue as this is fixed.

@davidpanic
Copy link

Correct me if I'm wrong, but this seems to have regressed in 4.10. I am able to see the Virtualization tab if I use the image quay.io/openshift/origin-console:4.9 but not if I use quay.io/openshift/origin-console:4.10.

Used manifest (click to expand)
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: console
  namespace: openshift-console
  name: console
spec:
  replicas: 1
  selector:
    matchLabels:
      app: console
  template:
    metadata:
      labels:
        app: console
    spec:
      containers:
        - env:
            - name: BRIDGE_K8S_AUTH
              value: bearer-token
            - name: BRIDGE_K8S_AUTH_BEARER_TOKEN
              [redacted]
            - name: BRIDGE_K8S_MODE
              value: off-cluster
            - name: BRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT
              value: https://kubernetes.default.svc
            - name: BRIDGE_K8S_MODE_OFF_CLUSTER_SKIP_VERIFY_TLS
              value: "true"
            - name: BRIDGE_USER_AUTH
              value: disabled
          image: quay.io/openshift/origin-console:4.10
          name: console
          ports:
            - containerPort: 9000
          resources: {}
      restartPolicy: Always

Screenshots

4.9:
image

4.10:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/kubevirt Related to kubevirt-plugin kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants