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

VMRM #15

Closed
wants to merge 13 commits into from
Closed

VMRM #15

wants to merge 13 commits into from

Conversation

michaelkad
Copy link
Collaborator

@michaelkad michaelkad commented Nov 27, 2023

  • Add VM no storage to deployment type

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX’
=== RUN   TestAccIBMPIInstanceDeploymentTypeNoStorage
--- PASS: TestAccIBMPIInstanceDeploymentTypeNoStorage (482.04s)
PASS
...

@michaelkad michaelkad marked this pull request as ready for review December 7, 2023 20:32
@dhirendersingh19
Copy link
Collaborator

@michaelkad , could you please add a test case for a VM without storage? I believe when we create a VM without storage, its status is set to the Shutoff state. In our logic, the isWaitForPIInstanceAvailablefunction checks for the VM to be in the ACTIVE state. It's important to verify the status of a VM when deploying it without storage to ensure it is in the Shutoff state.

I cannot find the test case TestAccIBMPIInstanceDeploymentTypeNoStorage in the file resource_ibm_pi_instance_test.go.

@michaelkad
Copy link
Collaborator Author

@michaelkad , could you please add a test case for a VM without storage? I believe when we create a VM without storage, its status is set to the Shutoff state. In our logic, the isWaitForPIInstanceAvailablefunction checks for the VM to be in the ACTIVE state. It's important to verify the status of a VM when deploying it without storage to ensure it is in the Shutoff state.

I cannot find the test case TestAccIBMPIInstanceDeploymentTypeNoStorage in the file resource_ibm_pi_instance_test.go.

Yes, you are right. I thought I pushed that code. I just included it.

@michaelkad
Copy link
Collaborator Author

It has been open in the main repo already.

@michaelkad michaelkad closed this Feb 1, 2024
@michaelkad michaelkad deleted the vmrm branch May 28, 2024 18:59
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.

2 participants