terraform-google-sap icon indicating copy to clipboard operation
terraform-google-sap copied to clipboard

issue with nmcli while deploying recourses in GCP SLES 15 SP6

Open tamal-biswas opened this issue 6 months ago • 0 comments

TL;DR

Thanks for your effort. I'm trying to deploy this in GCP using SLES 15 SP 6 and it shows some nmcli related error and the subsequently all package installations are failed. Later I logged in the VM and check that indeed nmcli is bot available and I had to install NetworkManager to resolve that. However, due to this error the deployment of cluster is failed. Can you please tell me if I can run only the part failed after installing NetwrokManager package or how can I fix this issue? Below logs are from GCP cloud logging.

WARNING 2025-05-18T08:54:21.307686828Z [resource.labels.instanceId: 8201367323245027049] Unable to roll back config for NetworkManager: error reloading NetworkManager config cache: exec: "nmcli": executable file not found in $PATH WARNING 2025-05-18T08:54:23.867815597Z [resource.labels.instanceId: 8201367323245027049] Failed to rollback primary nic (left over) config for NetworkManager: error reloading NetworkManager config cache: exec: "nmcli": executable file not found in $PATH WARNING 2025-05-18T08:54:23.869018617Z [resource.labels.instanceId: 8201367323245027049] Unable to roll back config for NetworkManager: error reloading NetworkManager config cache: exec: "nmcli": executable file not found in $PATH WARNING 2025-05-18T08:54:26.605631092Z [resource.labels.instanceId: 8025494816270065384] Failed to rollback primary nic (left over) config for NetworkManager: error reloading NetworkManager config cache: exec: "nmcli": executable file not found in $PATH WARNING 2025-05-18T08:54:26.608565526Z [resource.labels.instanceId: 8025494816270065384] Unable to roll back config for NetworkManager: error reloading NetworkManager config cache: exec: "nmcli": executable file not found in $PATH WARNING 2025-05-18T08:57:10.015913463Z ascs-pri Deployment "Failed to install libopenssl0_9_8, continuing installation." WARNING 2025-05-18T08:57:16.795373744Z ascs-pri Deployment "Failed to install libopenssl1_0_0, continuing installation." WARNING 2025-05-18T08:57:42.415561149Z ers-sec Deployment "Failed to install libopenssl0_9_8, continuing installation." WARNING 2025-05-18T08:57:44.847817484Z ascs-pri Deployment "Failed to install csh, continuing installation." WARNING 2025-05-18T08:57:49.219195774Z ers-sec Deployment "Failed to install libopenssl1_0_0, continuing installation." WARNING 2025-05-18T08:57:51.588438180Z ascs-pri Deployment "Failed to install python-pip, continuing installation." WARNING 2025-05-18T08:57:58.266847611Z ascs-pri Deployment "Failed to install python-pyasn1-modules, continuing installation." WARNING 2025-05-18T08:58:08.872743563Z ascs-pri Deployment "Failed to install python-oauth2client, continuing installation." WARNING 2025-05-18T08:58:15.562047335Z ascs-pri Deployment "Failed to install python-oauth2client-gce, continuing installation." WARNING 2025-05-18T08:58:19.302255742Z ers-sec Deployment "Failed to install csh, continuing installation."

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

# General settings
  project_id          = "sturdy-ranger-459713-q0"          # example: my-project-x
  machine_type        = "e2-custom-8-16384"        # example: n1-highmem-32
  network             = "vpc-test"             # example: default
  subnetwork          = "subnet1"          # example: default-subnet1
  linux_image         = "sles-15-sp6-sap-v20250409-x86-64"         # example: sles-15-sp2-sap
  linux_image_project = "suse-sap-cloud" # example: suse-sap-cloud

  sap_primary_instance = "ascs-pri" # example: prd-nw1
  sap_primary_zone     = "us-central1-b"     # example: us-central1-b

  sap_secondary_instance = "ers-sec" # example: prd-nw2
  sap_secondary_zone     = "us-central1-c"     # example: us-central1-c

  nfs_path = "10.221.132.194:/nfs_ha" # example: 1.2.3.4:/my_path

  sap_sid = "NWD" # example: PE1

Terraform Version

1.12.0

Terraform Provider Versions

Providers required by configuration:
.
└── module.sap_nw_ha
    └── provider[registry.terraform.io/hashicorp/google] >= 4.0.0, < 6.0.0

Additional information

No response

tamal-biswas avatar May 18 '25 13:05 tamal-biswas