-
Notifications
You must be signed in to change notification settings - Fork 166
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
CNV workload with Discovered Apps #10616
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: prsurve 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.
rdr
marker needs to be added
Signed-off-by: prsurve <prsurve@redhat.com>
Signed-off-by: prsurve <prsurve@redhat.com>
Signed-off-by: prsurve <prsurve@redhat.com>
Signed-off-by: prsurve <prsurve@redhat.com>
e6c5435
to
0963bb9
Compare
skip_replication_resources=skip_replication_resources, | ||
) | ||
|
||
def delete_workload(self, force=False): |
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.
force
parameter is not being used anywhere. Needs to be removed
|
||
class CnvWorkloadDiscoveredApps(DRWorkload): | ||
""" | ||
Class handling everything related to CNV workloads covers Discovered Apps`1 |
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.
is '`1' intentional?
logger = logging.getLogger(__name__) | ||
|
||
|
||
@rdr |
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.
polarion id missing
|
||
|
||
@rdr | ||
@acceptance |
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.
A few questions about acceptance marker usage here:
- Is this in the context of including RDR in the build acceptance pipeline?
- Do we consider this scenario the basic functionality of RDR? or basic RDR+CNV?
- The criteria of the acceptance suite are tests that if fail we do not accept the build. Isi it the case here?
- Is the test stable enough to degree that we are sure it's a product bug every time it fails?
def deploy_workload(self): | ||
""" | ||
Deployment specific to busybox workload for Discovered/Imperative Apps |
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 busybox?
|
||
def create_namespace(self): | ||
""" | ||
Create Namespace for Workload's to run |
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.
Create Namespace for Workload's to run | |
Create namespace for workloads to run |
def factory(pvc_vm=1): | ||
""" | ||
Args: | ||
kubeobject (int): Number if Discovered Apps workload with kube object protection to be created |
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.
kubeobject (int): Number if Discovered Apps workload with kube object protection to be created | |
kubeobject (int): Number of Discovered Apps workload with kube object protection to be created |
kubeobject (int): Number if Discovered Apps workload with kube object protection to be created | ||
Raises: | ||
ResourceNotDeleted: In case workload resources not deleted properly |
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.
ResourceNotDeleted: In case workload resources not deleted properly | |
ResourceNotDeletedException: In case workload resources are not deleted |
""" | ||
Tests to verify cnv application failover and Relocate with Discovered Apps | ||
There are two test cases: | ||
1) Failover to secondary cluster when primary cluster is UP |
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.
With failover, we should test node down scenario for happy path
No description provided.