Skip to content

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

@hnanduri1

Description

@hnanduri1

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions