SUSE / ha-sap-terraform-deployments

Automated SAP/HA Deployments in Public/Private Clouds
GNU General Public License v3.0
120 stars 88 forks source link

GCP fence_gce location constrains #887

Closed ab-mohamed closed 2 years ago

ab-mohamed commented 2 years ago

Used cloud platform GCP

Used SLES4SAP version SLES12|15 SPx

Used client machine OS macOS

Expected behaviour vs observed behaviour fence_gce location constraints are not configured as documented in https://cloud.google.com/solutions/sap/docs/netweaver-ha-config-sles#create_the_fencing_device_resources

How to reproduce

  1. Default deployment
  2. Execute the following commands:
    # crm configure location <FENCING_LOCATION_NAME_PRIMARY_VM> \
    <FENCING_RESOURCE_PRIMARY_VM> -inf: <PRIMARY_VM_NAME>
    # crm configure location <FENCING_LOCATION_NAME_SECONDARY_VM> \
    <FENCING_RESOURCE_SECONDARY_VM> -inf: <SECONDARY_VM_NAME>
yeoldegrove commented 2 years ago

This needs to be fixed in https://github.com/SUSE/saphanabootstrap-formula.

yeoldegrove commented 2 years ago

https://github.com/SUSE/saphanabootstrap-formula/pull/148 will fix this