Bug 1846219 - [PVPool] Cannot create PVPool via OpenShift console (spec.pvPool.secret)
Summary: [PVPool] Cannot create PVPool via OpenShift console (spec.pvPool.secret)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: OCS 4.5.0
Assignee: Romy Ayalon
QA Contact: aberner
URL:
Whiteboard:
Depends On:
Blocks: 1814771
TreeView+ depends on / blocked
 
Reported: 2020-06-11 06:23 UTC by Ben Eli
Modified: 2020-09-23 09:04 UTC (History)
9 users (show)

Fixed In Version: 4.5.0-460.ci
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-15 10:17:41 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github noobaa noobaa-operator pull 335 0 None closed Added creation of a secret of PVpool if it doesn't exist already 2020-09-04 17:56:17 UTC
Red Hat Product Errata RHBA-2020:3754 0 None None None 2020-09-15 10:18:00 UTC

Description Ben Eli 2020-06-11 06:23:12 UTC
Description of problem (please be detailed as possible and provide log
snippests):
When I try to create a new PVPool via the OpenShift web console, the creation is rejected with the following error:

>An error occurred
>Error "Required value" for field "spec.pvPool.secret".

Version of all relevant components (if applicable):
ocs-operator.v4.5.0-448.ci
4.5.0-0.nightly-2020-06-10-201008

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
Yes - I cannot create PVPools in this method

Is there any workaround available to the best of your knowledge?
It's possible to use the NooBaa management console or CLI tool to create PVPs.

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
Yes

If this is a regression, please provide more details to justify this:
Creation worked in OCS 4.4

Steps to Reproduce:
1. Go to Operators -> Installed Operators -> OCS -> Backing Store -> Create -> Provider=PVC
2. Fill out the necessary fields
3. Click on `Create Backing Store`


Actual results:
Error is shown

Expected results:
Creation is successful

Comment 2 Bipul Adhikari 2020-06-15 07:17:20 UTC
Is this issue present in OCS 4.4 as well? It looks like this field has been made required in OCS4.5. What is the UI supposed to pass as a Secret in the case of PV Pools? If any secret is associated with a PV Pool Noobaa should be taking care of it. For other types of the backing store, it makes sense as these Secret's contain user credentials for the endpoint. It looks like this was introduced to fix issues where the secret is not being passed but in the case of PV Pool, it does not make sense for the UI to pass a secret. Nimrod what do you make of this?

Comment 3 Romy Ayalon 2020-06-16 08:59:48 UTC
Hey, 
The formula of a PVpool's Secret's Name is backing-store-pv-pool-{PVPoolName} when PVPoolName is the name of the PVpool.
If I understood correctly it's also missing in the OLM so I'll add it.

Comment 4 Nishanth Thomas 2020-06-16 13:10:16 UTC
Moving over to mcg

Comment 8 aberner 2020-07-13 10:51:55 UTC
Verified, PV backing store created successfully as intended.

Comment 10 errata-xmlrpc 2020-09-15 10:17:41 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 (Red Hat OpenShift Container Storage 4.5.0 bug fix and enhancement 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/RHBA-2020:3754


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