Skip to content

Conversation

@afreen23
Copy link

@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 Sep 16, 2019
@openshift-ci-robot
Copy link
Contributor

@afreen23: This pull request references Bugzilla bug 1752070, which is invalid:

  • expected the bug to target the "4.2.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.

Details

In response to this:

Bug 1752070: Modify the conditions for health status

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 size/S Denotes a PR that changes 10-29 lines, ignoring generated files. component/noobaa Related to noobaa-storage-plugin approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 16, 2019
@afreen23
Copy link
Author

/bugzilla refresh

@openshift-ci-robot
Copy link
Contributor

@afreen23: This pull request references Bugzilla bug 1752070, which is invalid:

  • expected the bug to target the "4.2.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.

Details

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.

@afreen23
Copy link
Author

/assign cloudbehl

@afreen23
Copy link
Author

/test e2e-aws-console-olm

@afreen23
Copy link
Author

/bugzilla refresh

@openshift-ci-robot
Copy link
Contributor

@afreen23: This pull request references Bugzilla bug 1752070, which is invalid:

  • expected the bug to target the "4.2.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.

Details

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.

Copy link
Contributor

Choose a reason for hiding this comment

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

if noobaPhase is undefined then this will break.

Suggested change
if (!noobaaSystemData || (noobaaPhase && noobaaPhase !== 'Ready')) {
if (!noobaaSystemData || (noobaaPhase !== 'Ready')) {

Copy link
Author

Choose a reason for hiding this comment

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

Will not break actually, put on purpose, but not required now.
I have made status Unavailable when there is error.
Its good to use now noobaaPhase !== 'Ready'.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const noobaaPhase = _.get(noobaaSystemData, 'status.phase');
const noobaaPhase = _.get(noobaaSystemData, 'status.phase', '');

Copy link
Contributor

Choose a reason for hiding this comment

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

Would still give a falsey value. '' is falsey which would make it equivalent to using it as it is since undefined is also a falsey value.

- Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1752070
- Using Phase for the noobaa resource as status for MCG up/down

Signed-off-by: Afreen Rahman <[email protected]>
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 17, 2019
@afreen23
Copy link
Author

/bugzilla refresh

@openshift-ci-robot
Copy link
Contributor

@afreen23: This pull request references Bugzilla bug 1752070, which is invalid:

  • expected the bug to target the "4.2.0" release, but it targets "OCS 4.2.0" 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.

Details

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.

@spadgett
Copy link
Member

/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 Sep 17, 2019
@openshift-ci-robot
Copy link
Contributor

@spadgett: This pull request references Bugzilla bug 1752070, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

Details

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.

@spadgett spadgett added this to the v4.2 milestone Sep 17, 2019
@gnehapk
Copy link
Contributor

gnehapk commented Sep 18, 2019

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 18, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afreen23, gnehapk

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

The pull request process is described here

Details 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-merge-robot openshift-merge-robot merged commit 795f309 into openshift:master Sep 18, 2019
@openshift-ci-robot
Copy link
Contributor

@afreen23: All pull requests linked via external trackers have merged. Bugzilla bug 1752070 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1752070: Modify the conditions for health status

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.

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/noobaa Related to noobaa-storage-plugin lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants