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

GCP - Deployment fails with Error: remote-exec provisioner error #914

Open
hnanduri1 opened this issue Oct 11, 2024 · 0 comments
Open

GCP - Deployment fails with Error: remote-exec provisioner error #914

hnanduri1 opened this issue Oct 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hnanduri1
Copy link

Used cloud platform
GCP

Used SLES4SAP version
SLES12SP4

Used client machine OS
Debian Linux

Expected behaviour vs observed behaviour

I am using the following SUSE guide to deploy a HANA HA cluster on GCP. This document deploy it using terraform.
https://documentation.suse.com/sbp/sap-15/html/TRD-SLES-SAP-HA-automation-quickstart-cloud-gcp/index.html
The terraform script deploys all the required GCP infra resources. However, following that it errors out with the following

module.hana_node.module.hana_provision.null_resource.provision[0] (remote-exec): Thu Oct 10 21:55:18 UTC 2024::demo1010-hana01::[ERROR] os setup failed

│ Error: remote-exec provisioner error

│ with module.hana_node.module.hana_provision.null_resource.provision[0],
│ on ../generic_modules/salt_provisioner/main.tf line 65, in resource "null_resource" "provision":
│ 65: provisioner "remote-exec" {

│ error executing "/tmp/terraform_487280340.sh": Process exited with status 1

How to reproduce

  1. Update the terraform script with the deployment details.
  2. terraform init
  3. terraform plan
  4. terraform apply
  5. After a few minutes, the script will error out.

Used terraform.tfvars
Paste here the used terraform.tfvars file content. If the file has any secret, change them by dummy information.
ha-sap-terraform-deployments.zip
salt-result.log
terraform_487280340.sh.zip

Logs

Uploaded the logs.

Additional logs might be required to deepen the analysis on HANA or NETWEAVER installation. They will be asked specifically in case of need.

@hnanduri1 hnanduri1 added the bug Something isn't working label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants