Skip to content
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

[Resource] Add Volumes Bulk Attach and Detach #5669

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ismirlia
Copy link
Collaborator

@ismirlia ismirlia commented Sep 23, 2024

Output from acceptance testing:

--- PASS: TestAccIBMPIVolumeAttachbasic (757.61s)
PASS
--- PASS: TestAccIBMPIShareableVolumeAttachbasic (1153.82s)
PASS

@ismirlia
Copy link
Collaborator Author

@hkantare @yussufsh Please review as part of power Q3 release.

@ismirlia
Copy link
Collaborator Author

ismirlia commented Oct 1, 2024

Reran acceptance tests

Alexander-Kita
Alexander-Kita previously approved these changes Oct 1, 2024
michaelkad
michaelkad previously approved these changes Oct 1, 2024
@yussufsh
Copy link
Collaborator

Please look at my comment on the similar feature of bulk volume delete. #5672 (comment)

IMO attach and detach should be part of the same resource. The volumes attached should be maintained in the state when the resource is created and removed when the resource is deleted. Having two separate resources would make things worse with errors on the next runs. Imagine you would not want to write attach and detach code in the same flow, that does not make sense OR you would not want to keep attaching or detaching only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/Power Systems Issues related to Power Systems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants