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

High Priority: ibm_pi_instance fails to create instance. #4905

Closed
surajsbharadwaj opened this issue Nov 7, 2023 · 7 comments
Closed

High Priority: ibm_pi_instance fails to create instance. #4905

surajsbharadwaj opened this issue Nov 7, 2023 · 7 comments
Labels
service/Power Systems Issues related to Power Systems

Comments

@surajsbharadwaj
Copy link

Hello team,
Since 18 hours all DCs are failing to create an instance.

Please treat this as high priority and fix it in PROD . it has affected all DCs

i am getting the below error for instance creation

module.sap_system.module.pi_hana_instance.module.pi_instance.ibm_pi_instance.instance: Still creating... [12m0s elapsed] 1344 module.sap_system.module.pi_netweaver_instance[0].module.pi_instance.ibm_pi_instance.instance: Still creating... [12m10s elapsed] 1345 module.sap_system.module.pi_hana_instance.module.pi_instance.ibm_pi_instance.instance: Still creating... [12m10s elapsed] 1346 ╷ 1347 │ Error: failed to Update PVM Instance 476f617a-8b8f-4da2-8ae2-52acbb00999f :[PUT /pcloud/v1/cloud-instances/{cloud_instance_id}/pvm-instances/{pvm_instance_id}][400] pcloudPvminstancesPutBadRequest &{Code:0 Description:cloudInitialisation is not supported in this environment Error:bad request Message:} 1348 │ 1349 │ with module.sap_system.module.pi_hana_instance.module.pi_instance.ibm_pi_instance.instance, 1350 │ on .terraform/modules/sap_system.pi_hana_instance/modules/pi-instance/main.tf line 9, in resource "ibm_pi_instance" "instance": 1351 │ 9: resource "ibm_pi_instance" "instance" { 1352 │

@github-actions github-actions bot added the service/Power Systems Issues related to Power Systems label Nov 7, 2023
@surajsbharadwaj
Copy link
Author

jira has been opened internally too : https://jsw.ibm.com/browse/POWERIAAS-10858

@hkantare
Copy link
Collaborator

hkantare commented Nov 7, 2023

@rachari
Can some from powervm team look into this

@surajsbharadwaj
Copy link
Author

Few information from Rene:
1.It might be a create in Terraform but under the covers a PUT operation could be made to the VM somewhere during that create
2. I would guess a hot fix to address that new check in the code.
3. I am not that familiar with that new code but it looks like some code is placed in the wrong place or has wrong logic

@surajsbharadwaj
Copy link
Author

surajsbharadwaj commented Nov 7, 2023

Got some information from Laurent Dufour:
Description:cloudInitialisation is not supported in this environment Error:bad request Message" Sounds that cloudInitialisation option is passed to the PVM modify command. That's surprising since this option is flagged as internal. I'll double check the code to see if this message could be raised unexpectedly.

he is preparing a fix

@michaelkad
Copy link
Collaborator

We are pushing a fix for this internally — This not terraform related issue but power related.
It should be resolved soon. I will update once it is pushed.

@michaelkad
Copy link
Collaborator

@surajsbharadwaj The fix was pushed. Could you please double check?

@surajsbharadwaj
Copy link
Author

I can confirm it is working. Thank you. Closing this issue

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

No branches or pull requests

4 participants