Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cypress/support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ Cypress.Commands.add('install', () => {
cy.get('button').contains('Next').click();
cy.get('button').contains('Next').click();
cy.get('button')
.contains('Create StorageSystem')
.as('Create StorageSystem Button');
cy.get('@Create StorageSystem Button').click();
.contains('Create storage system')
.as('Create storage system Button');
cy.get('@Create storage system Button').click();
// Wait for the storage system to be created.
cy.get('@Create StorageSystem Button', { timeout: 10 * SECOND }).should(
cy.get('@Create storage system Button', { timeout: 10 * SECOND }).should(
'not.exist'
);

Expand Down
24 changes: 11 additions & 13 deletions locales/en/plugin__odf-console.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
"Balanced mode": "Balanced mode",
"Bandwidth": "Bandwidth",
"Before choosing this option, read the section<1>Creating Disaster Recovery Policy on Hub cluster chapter of Regional-DR solution guide</1>to understand the impact and limitations of this feature.": "Before choosing this option, read the section<1>Creating Disaster Recovery Policy on Hub cluster chapter of Regional-DR solution guide</1>to understand the impact and limitations of this feature.",
"Before we can create a StorageSystem, the Local Storage Operator needs to be installed. When installation is finished come back to Data Foundation to create a StorageSystem.<1><0>Install</0></1>": "Before we can create a StorageSystem, the Local Storage Operator needs to be installed. When installation is finished come back to Data Foundation to create a StorageSystem.<1><0>Install</0></1>",
"Before we can create a storage system, the Local Storage Operator needs to be installed. When installation is finished come back to Data Foundation to create a storage system.<1><0>Install</0></1>": "Before we can create a storage system, the Local Storage Operator needs to be installed. When installation is finished come back to Data Foundation to create a storage system.<1><0>Install</0></1>",
"Before you use Third-party storage": "Before you use Third-party storage",
"billions": "billions",
"Block": "Block",
Expand Down Expand Up @@ -563,8 +563,8 @@
"Create a disaster recovery policy": "Create a disaster recovery policy",
"Create a new StorageClass using local storage devices": "Create a new StorageClass using local storage devices",
"Create a secret with the token for every namespace using encrypted PVCs.": "Create a secret with the token for every namespace using encrypted PVCs.",
"Create a storage system to represent your Data Foundation system and all its required storage and computing resources.": "Create a storage system to represent your Data Foundation system and all its required storage and computing resources.",
"Create a StorageClient to connect to a Data Foundation system.": "Create a StorageClient to connect to a Data Foundation system.",
"Create a StorageSystem to represent your Data Foundation system and all its required storage and computing resources.": "Create a StorageSystem to represent your Data Foundation system and all its required storage and computing resources.",
"Create and manage your buckets": "Create and manage your buckets",
"Create BackingStore": "Create BackingStore",
"Create BackingStore ": "Create BackingStore ",
Expand Down Expand Up @@ -600,9 +600,9 @@
"Create Storage Cluster": "Create Storage Cluster",
"Create storage pool": "Create storage pool",
"Create Storage Pool": "Create Storage Pool",
"Create storage system": "Create storage system",
"Create StorageClient": "Create StorageClient",
"Create StorageConsumer": "Create StorageConsumer",
"Create StorageSystem": "Create StorageSystem",
"Create via Object Bucket Claim": "Create via Object Bucket Claim",
"Create via S3 API": "Create via S3 API",
"Created": "Created",
Expand Down Expand Up @@ -1428,7 +1428,7 @@
"Pool {{name}} creation timed out. Please check if Data Foundation operator and Rook operator are running": "Pool {{name}} creation timed out. Please check if Data Foundation operator and Rook operator are running",
"Pool {{name}} was created with errors.": "Pool {{name}} was created with errors.",
"Pool {{name}} was successfully created": "Pool {{name}} was successfully created",
"Pool creation is not supported for Data Foundation's external RHCS StorageSystem.": "Pool creation is not supported for Data Foundation's external RHCS StorageSystem.",
"Pool creation is not supported for Data Foundation's external RHCS storage system.": "Pool creation is not supported for Data Foundation's external RHCS storage system.",
"Pool management tasks are not supported for default pool and Data Foundation's external mode.": "Pool management tasks are not supported for default pool and Data Foundation's external mode.",
"Pool name": "Pool name",
"Pool utilization information": "Pool utilization information",
Expand Down Expand Up @@ -1486,7 +1486,7 @@
"Raw capacity": "Raw capacity",
"Raw Capacity": "Raw Capacity",
"Raw capacity is the absolute total disk space available to the array subsystem.": "Raw capacity is the absolute total disk space available to the array subsystem.",
"Raw capacity shows the total physical capacity from all the storage pools in the StorageSystem.": "Raw capacity shows the total physical capacity from all the storage pools in the StorageSystem.",
"Raw capacity shows the total physical capacity from all the storage pools in the storage system.": "Raw capacity shows the total physical capacity from all the storage pools in the storage system.",
"Read and Write NamespaceStore ": "Read and Write NamespaceStore ",
"Read and write NamespaceStore : ": "Read and write NamespaceStore : ",
"Read NamespaceStores": "Read NamespaceStores",
Expand Down Expand Up @@ -1626,8 +1626,8 @@
"Select a profile to customise the performance of the Data Foundation cluster to meet your requirements.": "Select a profile to customise the performance of the Data Foundation cluster to meet your requirements.",
"Select a recipe": "Select a recipe",
"Select a single NamespaceStore that defines the write targets of the namespace bucket.": "Select a single NamespaceStore that defines the write targets of the namespace bucket.",
"Select a storage system for your workloads.": "Select a storage system for your workloads.",
"Select a StorageClass to continue": "Select a StorageClass to continue",
"Select a StorageSystem for your workloads.": "Select a StorageSystem for your workloads.",
"Select all": "Select all",
"Select an arbiter zone": "Select an arbiter zone",
"Select an existing connection": "Select an existing connection",
Expand Down Expand Up @@ -1769,10 +1769,11 @@
"Storage quota:": "Storage quota:",
"Storage status represents the health status of Data Foundation's StorageCluster.": "Storage status represents the health status of Data Foundation's StorageCluster.",
"Storage system": "Storage system",
"Storage System": "Storage System",
"Storage System capacity": "Storage System capacity",
"Storage System status": "Storage System status",
"Storage Systems": "Storage Systems",
"Storage system capacity": "Storage system capacity",
"Storage system details": "Storage system details",
"Storage system is responsible for ensuring different types of file and block storage availability, storage capacity management and generic operations on storage.": "Storage system is responsible for ensuring different types of file and block storage availability, storage capacity management and generic operations on storage.",
"Storage system status": "Storage system status",
"Storage systems": "Storage systems",
"Storage targets that are used to store chunks of data on Multicloud Object Gateway buckets.": "Storage targets that are used to store chunks of data on Multicloud Object Gateway buckets.",
"StorageClass": "StorageClass",
"StorageClass encryption": "StorageClass encryption",
Expand All @@ -1782,9 +1783,6 @@
"StorageConsumer": "StorageConsumer",
"StorageConsumer Name": "StorageConsumer Name",
"StorageConsumers": "StorageConsumers",
"StorageSystem details": "StorageSystem details",
"StorageSystem is responsible for ensuring different types of file and block storage availability, storage capacity management and generic operations on storage.": "StorageSystem is responsible for ensuring different types of file and block storage availability, storage capacity management and generic operations on storage.",
"StorageSystems": "StorageSystems",
"Stretch Cluster": "Stretch Cluster",
"Subscription": "Subscription",
"Subscription deprecated": "Subscription deprecated",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,13 @@ describe('Test ODF cluster status from different clusters and namespaces', () =>
await user.click(screen.getByText('Systems'));
// Storage system health
// Popover
expect(screen.getByText('Storage System status')).toBeInTheDocument();
expect(screen.getByText('Storage system status')).toBeInTheDocument();
expect(
screen.getByText(
'StorageSystem is responsible for ensuring different types of file and block storage availability, storage capacity management and generic operations on storage.'
'Storage system is responsible for ensuring different types of file and block storage availability, storage capacity management and generic operations on storage.'
)
).toBeInTheDocument();
expect(screen.getByText('Storage System (2)')).toBeInTheDocument();
expect(screen.getByText('Storage system (2)')).toBeInTheDocument();
// Operator status
expect(screen.getAllByText('Warning')).toHaveLength(2);
expect(screen.getByText('Critical')).toBeInTheDocument();
Expand Down Expand Up @@ -317,13 +317,13 @@ describe('Test ODF cluster status from different clusters and namespaces', () =>
await user.click(screen.getByText('Systems'));
// Storage system health
// Popover
expect(screen.getByText('Storage System status')).toBeInTheDocument();
expect(screen.getByText('Storage system status')).toBeInTheDocument();
expect(
screen.getByText(
'StorageSystem is responsible for ensuring different types of file and block storage availability, storage capacity management and generic operations on storage.'
'Storage system is responsible for ensuring different types of file and block storage availability, storage capacity management and generic operations on storage.'
)
).toBeInTheDocument();
expect(screen.getByText('Storage System (2)')).toBeInTheDocument();
expect(screen.getByText('Storage system (2)')).toBeInTheDocument();
// Operator status
expect(screen.getAllByText('Warning')).toHaveLength(3);
expect(screen.getByText('Critical')).toBeInTheDocument();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ export const StorageSystemPopup: React.FC<StorageSystemPopopProps> = ({
size="md"
data-test="storage-system-status-title"
>
{t('Storage System status')}
{t('Storage system status')}
</Title>
<Flex data-test="storage-system-status-description">
{t(
'StorageSystem is responsible for ensuring different types of file and block storage availability, storage capacity management and generic operations on storage.'
'Storage system is responsible for ensuring different types of file and block storage availability, storage capacity management and generic operations on storage.'
)}
</Flex>
<Title headingLevel="h3" size="md" data-test="storage-system-count">
{t('Storage System')}
{t('Storage system')}
{` (${systemHealthMap.length})`}
</Title>
<Flex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ const SystemCapacityCard: React.FC = () => {
>
<FlexItem>
<CardTitle data-test="capacity-card-title">
{t('Storage System capacity')}
{t('Storage system capacity')}
</CardTitle>
</FlexItem>
<FlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const MCODashboard: React.FC = () => {

const SystemDashboard: React.FC<{}> = () => {
const { t } = useCustomTranslation();
const title = t('Storage System');
const title = t('Storage system');
const pages = [
{
href: '',
Expand Down
2 changes: 1 addition & 1 deletion packages/mco/i18n-comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
// t('Relocate application')
// t('Failover application')
// t('DR Status')
// t('Storage System')
// t('Storage system')
// t('Disaster recovery')
// t('Data Services')
2 changes: 1 addition & 1 deletion packages/ocs/dashboards/block-pool/raw-capacity-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const RawCapacityCard: React.FC = () => {
const availableCapacityMetric = getInstantVectorStats(availableData)?.[0]?.y;
const totalCapacityMetric = usedCapacityMetric + availableCapacityMetric;
const description = t(
'Raw capacity shows the total physical capacity from all the storage pools in the StorageSystem.'
'Raw capacity shows the total physical capacity from all the storage pools in the storage system.'
);

const loading = usedCapacityLoading || availableLoading;
Expand Down
4 changes: 2 additions & 2 deletions packages/ocs/dashboards/odf-system-dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ const ODFSystemDashboard: React.FC<{}> = ({}) => {

const breadcrumbs = [
{
name: t('StorageSystems'),
name: t('Storage systems'),
path: '/odf/systems',
},
{
name: t('StorageSystem details'),
name: t('Storage system details'),
path: '',
},
];
Expand Down
2 changes: 1 addition & 1 deletion packages/ocs/storage-class/sc-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const StorageSystemDropdown: React.FC<{
resourceModel={ODFStorageSystem}
/>
<span className="help-block">
{t('Select a StorageSystem for your workloads.')}
{t('Select a storage system for your workloads.')}
</span>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion packages/ocs/storage-pool/CreateStoragePool.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ const CreateStoragePoolForm: React.FC<CreateStoragePoolFormProps> = ({
>
<strong>
{t(
"Pool creation is not supported for Data Foundation's external RHCS StorageSystem."
"Pool creation is not supported for Data Foundation's external RHCS storage system."
)}
</strong>
</Modal>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

OpenShift Data Foundation (ODF) operator supports connecting to an external vendor storage system.

All external vendors can contribute their UI via the `Create storage class` step of `CreateStorageSystem` wizard.
All external vendors can contribute their UI via the `Create storage class` step of `Create storage system` wizard.

#### Prerequisite:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ export const LSOInstallAlert = () => {
isInline
>
<Trans t={t as any} ns="plugin__odf-console">
Before we can create a StorageSystem, the Local Storage Operator needs
Before we can create a storage system, the Local Storage Operator needs
to be installed. When installation is finished come back to Data
Foundation to create a StorageSystem.
Foundation to create a storage system.
<div className="ceph-ocs-install__lso-alert__button">
<Button
type="button"
Expand Down
2 changes: 1 addition & 1 deletion packages/odf/components/create-storage-system/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export const CreateStorageSystemFooter: React.FC<
onClick={handleNext}
>
{stepName === StepsName(t)[Steps.ReviewAndCreate]
? t('Create StorageSystem')
? t('Create storage system')
: t('Next')}
</Button>
{/* Disabling the back button for the first step (Backing storage) in wizard */}
Expand Down
4 changes: 2 additions & 2 deletions packages/odf/components/create-storage-system/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export const CreateStorageSystemHeader: React.FC<
return (
<div className="odf-create-storage-system__header">
<TextContent>
<Text component={TextVariants.h1}>{t('Create StorageSystem')}</Text>
<Text component={TextVariants.h1}>{t('Create storage system')}</Text>
<Text component={TextVariants.small}>
{t(
'Create a StorageSystem to represent your Data Foundation system and all its required storage and computing resources.'
'Create a storage system to represent your Data Foundation system and all its required storage and computing resources.'
)}
</Text>
{!!systemNamespace && (
Expand Down
2 changes: 1 addition & 1 deletion packages/odf/components/odf-dashboard/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const ODFDashboardPage: React.FC<{}> = () => {
{
id: 'systems',
href: 'systems',
name: t('Storage Systems'),
name: t('Storage systems'),
component: StorageSystemListPage,
contextId: ODF_DASHBOARD_CONTEXT,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ export const StatusCard: React.FC = () => {
{healthySystems.length > 0 && (
<GalleryItem>
<HealthItem
title={pluralize(healthySystems.length, t('Storage System'))}
title={pluralize(healthySystems.length, t('Storage system'))}
state={HealthState.OK}
>
<StatusCardPopover
resourceHealthMap={healthySystems}
firstColumnName={t('Storage System')}
firstColumnName={t('Storage system')}
secondColumnName={t('Health')}
/>
</HealthItem>
Expand All @@ -182,13 +182,13 @@ export const StatusCard: React.FC = () => {
{unHealthySystems.length > 0 && (
<GalleryItem>
<HealthItem
title={pluralize(unHealthySystems.length, 'Storage System')}
title={pluralize(unHealthySystems.length, 'Storage system')}
state={HealthState.ERROR}
maxWidth="35rem"
>
<StatusCardPopover
resourceHealthMap={unHealthySystems}
firstColumnName={t('Storage System')}
firstColumnName={t('Storage system')}
secondColumnName={t('Health')}
/>
</HealthItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const StorageSystemList: React.FC<StorageSystemNewPageProps> = (props) => {
return (
<VirtualizedTable
{...props}
aria-label={t('StorageSystems')}
aria-label={t('Storage systems')}
columns={columns}
Row={StorageSystemRow}
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/odf/components/topology/Topology.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ const TopologyViewErrorMessage: React.FC<TopologyViewErrorMessageProps> = ({
t('Set up a storage cluster to view the topology')}
</EmptyStateBody>
{!hideCreateSSOption && (
<Link to={CREATE_SS_PAGE_URL}>{t('Create StorageSystem')} </Link>
<Link to={CREATE_SS_PAGE_URL}>{t('Create storage system')} </Link>
)}
</EmptyState>
);
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/src/models/storage.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { K8sModel } from '@openshift-console/dynamic-plugin-sdk/lib/api/common-types';

export const ODFStorageSystem: K8sModel = {
label: 'Storage System',
labelPlural: 'Storage Systems',
label: 'Storage system',
labelPlural: 'Storage systems',
apiVersion: 'v1alpha1',
apiGroup: 'odf.openshift.io',
plural: 'storagesystems',
Expand Down
2 changes: 1 addition & 1 deletion plugins/mco/console-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"perspective": "acm",
"insertAfter": "mco-disaster-recovery",
"section": "mco-data-services",
"name": "%plugin__odf-multicluster-console~Storage System%",
"name": "%plugin__odf-multicluster-console~Storage system%",
"href": "/multicloud/data-services/storagesystem"
},
"flags": {
Expand Down