Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1824468: Add capacity for Local volume shows NaN TiB #5060

Closed
wants to merge 1 commit into from

Conversation

cloudbehl
Copy link
Contributor

@cloudbehl cloudbehl commented Apr 15, 2020

Before
Screenshot 2020-04-15 at 6 10 51 PM

After
Screenshot 2020-04-15 at 6 08 28 PM

Signed-off-by: Ankush Behl cloudbehl@gmail.com

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cloudbehl

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 15, 2020
@gnehapk
Copy link
Contributor

gnehapk commented Apr 16, 2020

Please add the bugzilla id

@cloudbehl cloudbehl changed the title Bug: Add capacity for Local volume shows NaN TiB Bug 1824468: Add capacity for Local volume shows NaN TiB Apr 16, 2020
@openshift-ci-robot openshift-ci-robot added the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Apr 16, 2020
@openshift-ci-robot
Copy link
Contributor

@cloudbehl: This pull request references Bugzilla bug 1824468, which is invalid:

  • expected the bug to target the "4.5.0" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

Bug 1824468: Add capacity for Local volume shows NaN TiB

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@cloudbehl
Copy link
Contributor Author

/bugzilla refresh

@openshift-ci-robot openshift-ci-robot added bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Apr 16, 2020
@openshift-ci-robot
Copy link
Contributor

@cloudbehl: This pull request references Bugzilla bug 1824468, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.5.0) matches configured target release for branch (4.5.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

/bugzilla refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot
Copy link
Contributor

@cloudbehl: This pull request references Bugzilla bug 1824468, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.5.0) matches configured target release for branch (4.5.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

Bug 1824468: Add capacity for Local volume shows NaN TiB

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 17, 2020
Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 22, 2020
Copy link
Contributor

@afreen23 afreen23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to hide the information text of replica.
Hiding the entire text box does not provide much information on error and still a user can proceed with add capacity and mess up the CR.

In the input box you can show the previous value osdSizeWithUnit if it does not matches the supported OSD size.

@cloudbehl
Copy link
Contributor Author

cloudbehl commented Apr 28, 2020

This fix is for OCS 4.4 and in 4.5. This is anyways hidden & the right information is being shown.

This is just a very edge case that will not occur in OCS converged mode. The independent for 4.4 shows this crappy NaN which we want to hide because we don't know the size calculation.

@cloudbehl
Copy link
Contributor Author

Closing this PR. WIll be fixed in 4.5!

@cloudbehl cloudbehl closed this May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. component/ceph Related to ceph-storage-plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants