Bug 1940755 - [Web-console][Local Storage] LocalVolumeSet could not be created from web-console without detail error info
Summary: [Web-console][Local Storage] LocalVolumeSet could not be created from web-con...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-19 05:07 UTC by Wei Duan
Modified: 2021-07-27 22:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:54:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
localvolumeset (105.14 KB, image/png)
2021-03-19 05:07 UTC, Wei Duan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8421 0 None open Bug 1940755: Remove wrongly set namespace parameter when creating LocalVolumeSet 2021-03-19 10:31:12 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:55:01 UTC

Description Wei Duan 2021-03-19 05:07:37 UTC
Created attachment 1764571 [details]
localvolumeset

Description of problem:
LocalVolumeSet could not be created from the web-console, and there is no detailed error info.

Version-Release number of selected component (if applicable):
Cluster version: 4.8.0-0.nightly-2021-03-17-194217
Operator version: local-storage-operator.4.7.0-202103060100.p0

How reproducible:
Always

Steps to Reproduce:
1. Create OCP cluster
2. From web-console, create local storage operator (4.7.0-202103060100)  
3. Create LocalVolumeSet

Actual results:
LocalVolumeSet created failed with the following message:
An error occurred
Not Found

Expected results:
LocalVolumeSet should be installed successfully, or need a detailed error message if failed.

Additional info:
Localvolumediscovery could be installed successfully from web-console
Localvolumeset could be installed successfully from CLI
Yaml file used.
kind: LocalVolumeSet
metadata:
  name: local-volume-set
  namespace: openshift-local-storage
spec:
  deviceInclusionSpec:
    deviceTypes:
      - disk
      - part
    minSize: 0Ti
  nodeSelector:
    nodeSelectorTerms:
      - matchExpressions:
          - key: node-role.kubernetes.io/worker
            operator: Exists
  storageClassName: local-storage-set-sc
  volumeMode: Filesystem

Comment 2 Yadan Pei 2021-03-30 10:02:44 UTC
1. Install Local Storage operator 4.7.0-202103130041.p0 into openshift-local-storage namespace

# oc get csv -n openshift-local-storage
NAME                                           DISPLAY         VERSION                 REPLACES   PHASE
local-storage-operator.4.7.0-202103130041.p0   Local Storage   4.7.0-202103130041.p0              Succeeded


2. Create 'Local Volume Set' via Operators -> Installed Operators -> Local Storage -> click 'Local Volume Set' tab -> click 'Create Local Volume Set' button -> fill in required fields and Create, no errors is thrown and resource can be created successfully

# oc get localvolumeset -n openshift-local-storage
NAME               STORAGECLASS       PROVISIONED   AGE
local-storage-vs   local-storage-sc   0             3m57s


This is verified against     4.8.0-0.nightly-2021-03-26-054333

Comment 5 errata-xmlrpc 2021-07-27 22:54:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438


Note You need to log in before you can comment on or make changes to this bug.