SUSE / ha-sap-terraform-deployments

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

deployments fail because of missing loki user #806

Closed yeoldegrove closed 2 years ago

yeoldegrove commented 2 years ago

Used cloud platform GCP

Used SLES4SAP version SLES15SP2

Expected behaviour vs observed behaviour When enabling monitoring, all monitoring agents should be successfully deployed. But this here happens:

----------
          ID: loki_systemd_journal_member
    Function: group.present
        Name: systemd-journal
      Result: False
     Comment: The following group attributes are set to be changed:
              addusers: ['loki']
              Some changes could not be applied
     Started: 15:52:11.249462
    Duration: 20.571 ms
     Changes:
              ----------
              Failed:
                  ----------
                  addusers:
                      - loki
----------
          ID: promtail_service
    Function: service.running
        Name: promtail
      Result: False
     Comment: One or more requisite failed: cluster_node.monitoring.loki_systemd_journal_member
     Started: 15:52:12.280697
    Duration: 0.008

The latest changes to the loki rpm might be realted to this: https://build.opensuse.org/package/show/network:ha-clustering:sap-deployments:devel/loki https://build.opensuse.org/request/show/940653

How to reproduce deploy with monitoring_enabled = true and ha_sap_deployment_repo = "https://download.opensuse.org/repositories/network:/ha-clustering:/sap-deployments:/devel/".

yeoldegrove commented 2 years ago

fixed in #807