Bug 1841322 (Noobaa_FIPS)

Summary: [GSS] [RFE] NooBaa Operator unable to function with FIPS enabled
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Devon <dshumake>
Component: Multi-Cloud Object GatewayAssignee: Nimrod Becker <nbecker>
Status: CLOSED ERRATA QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: high    
Version: 4.3CC: assingh, bkunal, bscalio, ebenahar, edonnell, etamir, hnallurv, lmauda, nbecker, ocs-bugs
Target Milestone: ---Keywords: FutureFeature
Target Release: OCS 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-15 10:17:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Devon 2020-05-28 20:29:05 UTC
Description of problem (please be detailed as possible and provide log
snippests):

So it looks like there is currently an approved pull request for nooba-core to be used with fips enabled systems:

    FIPS compliance for sha by jeniawhite · Pull Request #5943 · noobaa/noobaa-core · GitHub
    URL:   https://github.com/noobaa/noobaa-core/pull/5943

I am opening this bug to make sure that all channels are aware of this issue with NooBaa/ the NooBaa pod associated with the Openshift Container Storage Operator


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?

Customer is unable to use NooBaa on a cluster with FIPS enabled.


Is there any workaround available to the best of your knowledge?

Not for a cluster with FIPS enabled.


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



Can this issue reproducible?

Yes

Can this issue reproduce from the UI?

Yes


Steps to Reproduce:
1. Enable FIPS on a 4.x openshift cluster
2. Install the Openshift Container Storage operator
3. View errors:

CONSOLE:: PANIC: process uncaughtException Error: error:060800C8:digital envelope routines:EVP_DigestInit_ex:disabled for FIPS    at new Hash (internal/crypto/hash.js:48:19)    at Object.createHash (crypto.js:109:10)    at new SensitiveString (/root/node_modules/noobaa-core/src/util/sensitive_string.js:15:31)    at Object.<anonymous> (/root/node_modules/noobaa-core/src/server/system_services/account_server.js:37:17)    at Module._compile (internal/modules/cjs/loader.js:1158:30)    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)    at Module.load (internal/modules/cjs/loader.js:1002:32)    at Function.Module._load (internal/modules/cjs/loader.js:901:14)    at Module.require (internal/modules/cjs/loader.js:1044:19)    at require (internal/modules/cjs/helpers.js:77:18)    at Object.<anonymous> (/root/node_modules/noobaa-core/src/server/web_server.js:33:24)    at Module._compile (internal/modules/cjs/loader.js:1158:30)    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)    at Module.load (internal/modules/cjs/loader.js:1002:32)    at Function.Module._load (internal/modules/cjs/loader.js:901:14)    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)


Actual results:

Backtrace and application failure.

Expected results:

Functional NooBaa application

Additional info: Case number is 02665197, let me know if there is anything else you need from me and I will be happy to get that for you.

Comment 14 Eran Tamir 2020-07-06 07:59:00 UTC
@Bipin FIPS is part of 4.5

Comment 16 Elad 2020-07-20 20:25:08 UTC
Verifying based on tier1 testing results with FIPS enabled. All MCG tests passed, including Noobaa health validation.

Done here https://ocs4-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/qe-deploy-ocs-cluster/10099/

OCS operator - v4.5.0-493.ci

Comment 19 Nimrod Becker 2020-08-06 08:14:14 UTC
I don't think this issue is valuable to the customer. In general we say in the docs that FIPS is supported, this BZ is part of that. Don't see the need for additional text :)

Comment 22 errata-xmlrpc 2020-09-15 10:17:07 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