Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-9298

"Oh no! Something went wrong" shown after user creates MCP without 'spec'

XMLWordPrintable

    • Moderate
    • Unspecified
    • If docs needed, set a value

      +++ This bug was initially created as a clone of Bug #2091746 +++

      Description of problem:
      The page MCP will be down, after user creates a MachineConfigPool (in YAML) without properties ‘spec', "Oh no! Something went wrong" will be shown on the page

      Version-Release number of selected component (if applicable):
      4.11.0-0.nightly-2022-05-25-193227

      How reproducible:
      Always

      Steps to Reproduce:
      1. Login OCP, navigate to Compute -> MachineConfigPools page
      2. Click "Create MachineConfigPool" button, create with below format
      apiVersion: machineconfiguration.openshift.io/v1
      kind: MachineConfigPool
      metadata:
      name: example
      3.

      Actual results:
      2.1. "Oh no! Something went wrong" will be shown on the page
      2.2. The MCP page will be broken with upon error unless the user deletes the issue MCP with command through CLI
      $ oc delete mcp example

      Expected results:
      2. Console should not allow users to create MCP without "spec" in Console or through CLI

      Additional info:

            jhadvig@redhat.com Jakub Hadvig
            openshift_jira_bot OpenShift Jira Bot
            Xiyun Zhao Xiyun Zhao
            Red Hat Employee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: