-
Notifications
You must be signed in to change notification settings - Fork 31
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
Block RDR policy creation for non-DR optimized cluster #1116
Block RDR policy creation for non-DR optimized cluster #1116
Conversation
9418422
to
7a88480
Compare
7a88480
to
49be885
Compare
{errorMessage?.description} | ||
</Alert> | ||
(!!errorMessage.scope | ||
? errorMessage?.scope === replicationType |
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.
? errorMessage?.scope === replicationType | |
? errorMessage.scope === replicationType |
locales/en/plugin__odf-console.json
Outdated
"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 ODF version or the ODF operator is missing, install or update to ODF {{ version }} or the latest version to enable DR protection.": "{{ names }} has either an unsupported ODF version or the ODF operator is missing, install or update to ODF {{ version }} or the latest version to enable DR protection.", | ||
"{{ names }} is not connected to RHCS": "{{ names }} is not connected to RHCS", | ||
"Cluster not pre-configured for Regional-DR": "Cluster not pre-configured for Regional-DR", | ||
"The selected cluster(s)[{{clusters}}] is not pre-configured for a Regional-DR setup. Migrated the cluster's OSD to optimise it for Disaster recovery services. To learn more about OSDs migration best practices and its consequences refer to the documentation.": "The selected cluster(s)[{{clusters}}] is not pre-configured for a Regional-DR setup. Migrated the cluster's OSD to optimise it for Disaster recovery services. To learn more about OSDs migration best practices and its consequences refer to the documentation.", |
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.
"The selected cluster(s)[{{clusters}}] is not pre-configured for a Regional-DR setup. Migrated the cluster's OSD to optimise it for Disaster recovery services. To learn more about OSDs migration best practices and its consequences refer to the documentation.": "The selected cluster(s)[{{clusters}}] is not pre-configured for a Regional-DR setup. Migrated the cluster's OSD to optimise it for Disaster recovery services. To learn more about OSDs migration best practices and its consequences refer to the documentation.", | |
"The selected cluster(s)[{{clusters}}] is not pre-configured for a Regional-DR setup. Migrated the cluster's OSD to optimise it for Disaster recovery services. To learn more about OSDs migration best practices and its consequences refer to the documentation.": "The selected cluster(s)[{{clusters}}] is not pre-configured for a Regional-DR setup. Migrate the cluster's OSD to optimise it for Disaster recovery services. To learn more about OSDs migration best practices and its consequences refer to the documentation.", |
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 this text verified by doc team ??
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.
should also be OSDs
(plural) IMO
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.
not, yet, this description is suggested by UX, but still microscopy is under review. We can't wait for them to come back, because we are near FF
@@ -173,15 +186,19 @@ export const DRReplicationType: React.FC<DRReplicationTypeProps> = ({ | |||
return ( | |||
<> | |||
{!!errorMessage ? ( |
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.
what about just:
!!errorMessage && errorMessage?.scope !== replicationType ? {replicationType && (... : <Alert...
a6e340a
to
5198ce0
Compare
CI un-blocked by: #1125 (PR#1125 is needed because of OCP react-router-dom updates, else components using imports will break). |
ad7c1f1
to
1942efd
Compare
/approve |
/lgtm |
/test odf-console-e2e-aws |
Signed-off-by: Gowtham Shanmugasundaram <[email protected]>
f43c16f
to
5bb9977
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bipuladh, GowthamShanmugam, SanjalKatiyar 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 |
On top of: #1111
Issue: https://issues.redhat.com/browse/RHSTOR-5121