Skip to content

Commit

Permalink
Merge pull request #1643 from GowthamShanmugam/RHSTOR-6558
Browse files Browse the repository at this point in the history
RHSTOR-6558: Enhance the DRPolicy creation page to select client clusters for RDR
  • Loading branch information
openshift-merge-bot[bot] authored Oct 29, 2024
2 parents 9f02793 + a4bb217 commit 3125cfb
Show file tree
Hide file tree
Showing 13 changed files with 1,129 additions and 773 deletions.
46 changes: 28 additions & 18 deletions locales/en/plugin__odf-console.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,29 +41,40 @@
"Create DRPolicy": "Create DRPolicy",
"Get a quick recovery in a remote or secondary cluster with a disaster recovery (DR) policy": "Get a quick recovery in a remote or secondary cluster with a disaster recovery (DR) policy",
"Policy name": "Policy name",
"Enter a policy name": "Enter a policy name",
"Connect clusters": "Connect clusters",
"Enables mirroring/replication between two selected clusters, ensuring failover or relocation between the two clusters in the event of an outage or planned maintenance.": "Enables mirroring/replication between two selected clusters, ensuring failover or relocation between the two clusters in the event of an outage or planned maintenance.",
"Note: If your cluster isn't visible on this list, verify its import status and refer to the steps outlined in the ACM documentation.": "Note: If your cluster isn't visible on this list, verify its import status and refer to the steps outlined in the ACM documentation.",
"Data Foundation {{ version }} or above must be installed on the managed clusters to setup connection for enabling replication/mirroring.": "Data Foundation {{ version }} or above must be installed on the managed clusters to setup connection for enabling replication/mirroring.",
"Selected clusters": "Selected clusters",
"An error occurred": "An error occurred",
"Region": "Region",
"Cluster search": "Cluster search",
"Cluster name": "Cluster name",
"Select cluster list": "Select cluster list",
"You cannot select this cluster as it has multiple storage instances.": "You cannot select this cluster as it has multiple storage instances.",
"Checkbox to select cluster": "Checkbox to select cluster",
"Existing DRPolicy detected": "Existing DRPolicy detected",
"A DRPolicy is already configured for selected managed clusters. You cannot create another DRPolicy using the same pair of clusters.": "A DRPolicy is already configured for selected managed clusters. You cannot create another DRPolicy using the same pair of clusters.",
"1 or more managed clusters are offline": "1 or more managed clusters are offline",
"The status for both the managed clusters must be available for creating a DR policy. To restore a cluster to an available state, refer to the instructions in the ACM documentation.": "The status for both the managed clusters must be available for creating a DR policy. To restore a cluster to an available state, refer to the instructions in the ACM documentation.",
"Cannot proceed with one or more selected clusters": "Cannot proceed with one or more selected clusters",
"We could not retrieve any information about the managed cluster {{names}}. Check the documentation for potential causes and follow the steps mentioned and try again.": "We could not retrieve any information about the managed cluster {{names}}. Check the documentation for potential causes and follow the steps mentioned and try again.",
"{{ names }} has either an unsupported Data Foundation version or the Data Foundation operator is missing, install or update to Data Foundation {{ version }} or the latest version to enable DR protection.": "{{ names }} has either an unsupported Data Foundation version or the Data Foundation operator is missing, install or update to Data Foundation {{ version }} or the latest version to enable DR protection.",
"{{ names }} is not connected to RHCS": "{{ names }} is not connected to RHCS",
"Sync schedule": "Sync schedule",
"Online": "Online",
"Offline": "Offline",
"Not Installed": "Not Installed",
"Unavailable": "Unavailable",
"Replication interval": "Replication interval",
"Replication policy": "Replication policy",
"Unsupported peering configuration.": "Unsupported peering configuration.",
"The clusters you're trying to peer aren't compatible. It could be due to mismatched types (one with a client, the other without) or both using the same Data Foundation provider. Select clusters that are either the same type or have separate providers to continue.": "The clusters you're trying to peer aren't compatible. It could be due to mismatched types (one with a client, the other without) or both using the same Data Foundation provider. Select clusters that are either the same type or have separate providers to continue.",
"Existing DRPolicy detected.": "Existing DRPolicy detected.",
"A DRPolicy is already configured for selected managed clusters. You cannot create another DRPolicy using the same pair of clusters.": "A DRPolicy is already configured for selected managed clusters. You cannot create another DRPolicy using the same pair of clusters.",
"Data foundation must be {{version}} or above.": "Data foundation must be {{version}} or above.",
"Must be connected to RHCS.": "Must be connected to RHCS.",
"The cluster has multiple storage instances.": "The cluster has multiple storage instances.",
"Checks cannot be performed for the {{clusterName}}:": "Checks cannot be performed for the {{clusterName}}:",
"check unsuccessful on the {{clusterName}}:": "check unsuccessful on the {{clusterName}}:",
"checks unsuccessful on the {{clusterName}}:": "checks unsuccessful on the {{clusterName}}:",
"We could not retrieve any information about the managed cluster {{clusterName}}": "We could not retrieve any information about the managed cluster {{clusterName}}",
"Running checks to ensure that the selected managed cluster meets all necessary conditions so it can enroll in a Disaster Recovery policy.": "Running checks to ensure that the selected managed cluster meets all necessary conditions so it can enroll in a Disaster Recovery policy.",
"All disaster recovery prerequisites met for both clusters.": "All disaster recovery prerequisites met for both clusters.",
"Version mismatch across selected clusters": "Version mismatch across selected clusters",
"The selected clusters are running different versions of Data Foundation. Peering clusters with different versions can lead to potential issues and is not recommended. Ensure all clusters are upgraded to the same version before proceeding with peering to avoid operational risks.": "The selected clusters are running different versions of Data Foundation. Peering clusters with different versions can lead to potential issues and is not recommended. Ensure all clusters are upgraded to the same version before proceeding with peering to avoid operational risks.",
"1 or more clusters do not meet disaster recovery cluster prerequisites.": "1 or more clusters do not meet disaster recovery cluster prerequisites.",
"The selected managed cluster(s) does not meet all necessary conditions to be eligible for disaster recovery policy. Resolve the following issues to proceed with policy creation.": "The selected managed cluster(s) does not meet all necessary conditions to be eligible for disaster recovery policy. Resolve the following issues to proceed with policy creation.",
"Information unavailable": "Information unavailable",
"Managed Cluster": "Managed Cluster",
"Availability status": "Availability status",
"Storage clients": "Storage clients",
"Region": "Region",
"Disaster recovery": "Disaster recovery",
"Policies": "Policies",
"Protected applications": "Protected applications",
Expand Down Expand Up @@ -126,7 +137,6 @@
"Define where to sync or replicate your application volumes and Kubernetes object using a disaster recovery policy.": "Define where to sync or replicate your application volumes and Kubernetes object using a disaster recovery policy.",
"Kubernetes object replication interval": "Kubernetes object replication interval",
"Define the interval for Kubernetes object replication": "Define the interval for Kubernetes object replication",
"Replication interval": "Replication interval",
"Cluster:": "Cluster:",
"Namespace:": "Namespace:",
"Name:": "Name:",
Expand Down Expand Up @@ -237,6 +247,7 @@
"Data Foundation status": "Data Foundation status",
"The Data Foundation operator is the primary operator of Data Foundation": "The Data Foundation operator is the primary operator of Data Foundation",
"Running": "Running",
"Cluster name": "Cluster name",
"Used Capacity %": "Used Capacity %",
"Used / Total": "Used / Total",
"Storage System capacity": "Storage System capacity",
Expand Down Expand Up @@ -1218,7 +1229,6 @@
"Unlimited": "Unlimited",
"Edit storage quota": "Edit storage quota",
"Delete storage client": "Delete storage client",
"Storage clients": "Storage clients",
"Generate client onboarding token": "Generate client onboarding token",
"Rotate signing keys": "Rotate signing keys",
"Data Foundation version sync": "Data Foundation version sync",
Expand Down
14 changes: 8 additions & 6 deletions packages/mco/components/create-dr-policy/create-dr-policy.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
.mco-create-data-policy {
.mco-create-data-policy__body {
margin: var(--pf-v5-global--spacer--lg);
max-width: 700px;
.pf-v5-c-form.pf-m-limit-width {
max-width: 33rem;
}
width: 90%;
}

.mco-create-data-policy__action-group {
Expand All @@ -15,7 +12,7 @@
}

.mco-create-data-policy__flex {
margin-right: var(--pf-v5-global--spacer--lg);
margin-right: var(--pf-v5-global--spacer--2xl);
margin-bottom: var(--pf-v5-global--spacer--md);
}

Expand All @@ -27,3 +24,8 @@
margin-bottom: var(--pf-v5-global--spacer--xs);
--pf-v5-global--FontSize--md: 0.8rem;
}

.mco-create-data-policy__text-input {
width: 67%;
}

Loading

0 comments on commit 3125cfb

Please sign in to comment.