-
Notifications
You must be signed in to change notification settings - Fork 168
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
Wait for the ceph command to execute successfully in the rolling nodes terminate and rolling nodes restart tests #10915
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unknown PR validation on existing cluster
Cluster Name: ikave-aws418
Cluster Configuration:
PR Test Suite: tier4b
PR Test Path: tests/functional/z_cluster/nodes/test_nodes_restart.py::TestNodesRestart::test_rolling_nodes_restart
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master
Job state: ABORTED.
…r the ceph command to execute successfully after rolling nodes terminate and rolling nodes restart tests Signed-off-by: Itzhak Kave <[email protected]>
f24a29d
to
b01beed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR validation on existing cluster
Cluster Name: ikave-aws418
Cluster Configuration:
PR Test Suite: tier4b
PR Test Path: tests/functional/z_cluster/nodes/test_nodes_restart.py::TestNodesRestart::test_rolling_nodes_restart
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master
Signed-off-by: Itzhak Kave <[email protected]>
38a243e
to
2f2ce3d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR validation on existing cluster
Cluster Name: ikave-aws418
Cluster Configuration:
PR Test Suite: tier4b
PR Test Path: tests/functional/z_cluster/nodes/test_nodes_restart.py::TestNodesRestart::test_rolling_nodes_restart
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR validation on existing cluster
Cluster Name: ikave-aws418
Cluster Configuration:
PR Test Suite: tier4b
PR Test Path: tests/functional/z_cluster/nodes/test_rolling_terminate_and_recovery.py
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master
Job FAILED (installation failed, tests not executed).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR validation on existing cluster
Cluster Name: ikave-aws418
Cluster Configuration:
PR Test Suite: tier4b
PR Test Path: tests/functional/z_cluster/nodes/test_rolling_terminate_and_recovery.py
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good
ocs_ci/ocs/resources/pod.py
Outdated
@@ -3955,3 +3956,66 @@ def get_prometheus_pods( | |||
pods_with_label_match = get_pods_having_label(prometheus_label, namespace) | |||
prometheus_pod_objs = [Pod(**prometheus) for prometheus in pods_with_label_match] | |||
return prometheus_pod_objs | |||
|
|||
|
|||
def get_ceph_tool_pods(ceph_tool_label=constants.TOOL_APP_LABEL, namespace=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar function already exists - https://github.com/red-hat-storage/ocs-ci/blob/master/ocs_ci/ocs/resources/pod.py#L760
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I will change the name prefix. The problem with the function you mentioned is that it performs extra conditions and does not just get all the ceph tool pods.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not fixing/adjusting the existing function? Having 2 functions for similar purpose isn't ideal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can do that. The problem is that we must be more careful as this function is widely used in our tests.
Signed-off-by: Itzhak Kave <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AviadP, yitzhak12 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR validation on existing cluster
Cluster Name: ikave-aws418
Cluster Configuration:
PR Test Suite: tier4b
PR Test Path: tests/functional/z_cluster/nodes/test_nodes_restart.py::TestNodesRestart::test_rolling_nodes_restart
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master
The PR fixes the following issues: