Bug 1859386 - OCS 4.4: [DDF] Values for cpu & mem in storagecluster can have quotes to support fresh install on OCP 4.5 as well
Summary: OCS 4.4: [DDF] Values for cpu & mem in storagecluster can have quotes to supp...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: documentation
Version: 4.5
Hardware: All
OS: All
high
high
Target Milestone: ---
: ---
Assignee: Erin Donnelly
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-21 21:13 UTC by Direct Docs Feedback
Modified: 2023-09-14 06:04 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-20 15:25:22 UTC
Embargoed:


Attachments (Terms of Use)

Comment 7 Neha Berry 2020-07-28 07:44:20 UTC
Hi Annette,

We have one more BZ to track new changes in AWS LSO but there are a few differences in your suggested yaml and the one updated in BZ

can we confirm the correct yaml and keep one BZ to track changes

The one suggested here - https://bugzilla.redhat.com/show_bug.cgi?id=1858283#c6


apiVersion: ocs.openshift.io/v1
kind: StorageCluster
metadata:
  name: ocs-storagecluster
  namespace: openshift-storage
spec:
  manageNodes: false
  resources:
    mds:
      limits:
        cpu: '3'
      requests:
        cpu: '1'
  monDataDirHostPath: /var/lib/rook
  storageDeviceSets:
    - count: 2
      dataPVCTemplate:
        spec:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 2328Gi
          storageClassName: localblock
          volumeMode: Block
      name: ocs-deviceset
      placement: {}
      portable: false
      replica: 3
      resources: {}

Comment 8 Neha Berry 2020-07-28 08:11:44 UTC
@orit

Can you confirm which of https://bugzilla.redhat.com/show_bug.cgi?id=1859386#c6 and https://bugzilla.redhat.com/show_bug.cgi?id=1859386#c7 needs to be kept for documentation.

@Anjana, also once we get the confirmation, we can keep one of the 2 Bugs (Bug 1858283 or Bug 1859386) to make all the changes suggested in the AWS LSO Dpeloyment section.

Comment 17 Petr Balogh 2020-07-29 12:39:48 UTC
Based on conversation in:
http://post-office.corp.redhat.com/archives/aos-devel/2020-July/msg00361.html

The issue is with the CR on our side and not on OCP.

So this should be fixed.

Comment 21 Petr Balogh 2020-07-29 20:55:33 UTC
Hello,

as I pointed out in mail thread and was found out that this can be fixed from OCS side and was done here:
https://github.com/openshift/ocs-operator/pull/654/files

After this change will be merged and propagated to 4.5 build I think we should be OK to not have any change about string/int in our documentation as it will just accept both IIUC.

Comment 26 Neha Berry 2020-08-04 18:39:44 UTC
Thanks a lot Erin for incorporating all the comments.

Verified that the CR content matches with [1] (without quotes for limits)

Also, the following 2 lines are changed correctly under section 2.3

>>In this example, the local devices available are nvme1n1 and nvme2n1.
>>In this example, the local devices available are nvme1n1 and nvme2n1 with a size of 2.3 TiB

[1] https://gist.github.com/mmgaggle/09fe2c51689c4dda7598042cc25ae526#file-ocs-4-4-storagecluster-yaml

Hence, moving th BZ to verified state.

Comment 31 Red Hat Bugzilla 2023-09-14 06:04:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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