Skip to content

CON-4502: Fixed issues reported by MCP - #549

Draft
kalikivayi wants to merge 2 commits into
hpe-storage:masterfrom
kalikivayi:master
Draft

CON-4502: Fixed issues reported by MCP#549
kalikivayi wants to merge 2 commits into
hpe-storage:masterfrom
kalikivayi:master

Conversation

@kalikivayi

Copy link
Copy Markdown
Collaborator

This PR contains Fixes reported by the AI.
Analyzed the report and fixed the issues marked for Fixing in the attached Excel sheet.
3par-csi-issues-analysis.xlsx
3par-csp.md

Comment thread pkg/driver/constants.go
// to snake_case for the CSP. They are used to detect when array-based
// replication is requested so that unsupported protocol combinations (e.g.
// NVMe/TCP + replication, CROSS-2) can be rejected early in the driver.
remoteCopyGroupKey = "remoteCopyGroup"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the intent of validating the SC parameters as soon as possible, but this should not be done in the CSI Driver. These parameters are best understood by the CSP and it should be validated in the CSP. Bringing that logic here, will violate the current architecture of keeping CSI Driver generic.
CC: @datamattsson , @dileepds

Comment thread pkg/driver/utils.go
return nil
}

// isReplicationRequested reports whether the supplied StorageClass/PVC create

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CSI Driver is not aware of what Replication is. We should not be doing these validations here. I prefer these to be moved to the CSP.
CC: @datamattsson , @dileepds

@datamattsson datamattsson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we break this down to 53 different PRs instead and start with the most critical issue that we're trying fix?

Submit CSI e2e test results from each supported CSP with each PR.

@kalikivayi
kalikivayi marked this pull request as draft July 14, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants