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

Add code to allow SAP create with a placement group #3633

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

rmoralesjr
Copy link
Collaborator

Add code to allow SAP create with a placement group
and include document statements with the restrictions
that apply with placement groups on instance deployment

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:

=== RUN TestAccIBMPIPlacementGroupBasic
--- PASS: TestAccIBMPIPlacementGroupBasic (2150.42s)
PASS

@rmoralesjr rmoralesjr requested review from yussufsh and ChaseRun March 3, 2022 05:46
@yussufsh yussufsh added the service/Power Systems Issues related to Power Systems label Mar 3, 2022
Add code to allow SAP create with a placement group
and include document statements with the restrictions
that apply with placement groups on instance deployment
@rmoralesjr rmoralesjr force-pushed the SAPCreatePlacementGroup branch from 9f3e8cc to dad927f Compare March 10, 2022 13:59
@rmoralesjr rmoralesjr requested a review from yussufsh March 10, 2022 14:09
Type: schema.TypeString,
Required: true,
Description: "PI instance image id",
DiffSuppressFunc: flex.ApplyOnce,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is the diff suprress func applied ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@hkantare when using a stock image the result image id from the pvm instance depends on the storage controller used to deploy the image. Here user provided configuration is not always same as the instance image id. Terraform would always show a diff to be applied which was also failing the test cases at some places depending on the storage controller selected automatically by the service provider.

@hkantare hkantare merged commit 2250eba into IBM-Cloud:master Mar 14, 2022
@rmoralesjr rmoralesjr deleted the SAPCreatePlacementGroup branch March 14, 2022 19:56
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