terraform-community-modules/tf_aws_openvpn

ClientQueryService error (At least one daemon_id must be defined in config profile) when trying to deploy OpenVPN

Opened this issue · 2 comments

Hi there,

When I try to deploy this, I get the following error after the command sudo /usr/local/openvpn_as/scripts/sacli start:

RunStart warm None
{
  "errors": {
    "client_query": [
      [
        "error",
        "ClientQueryService: At least one daemon_id must be defined in config profile: svc/svc:631,sagent/cqsvc:200,web/http:1613,web/http:1339,web/http:1553,web/http:1609,web/http:750,web/server:127,web/server:134,xml/authrpc:87,xml/authrpc:164,internet/defer:102,sagent/runxml:152,sagent/saccess:55,xml/authrpc:244,sagent/saccess:55,sagent/runxml:152,sagent/runxml:161,internet/defer:190,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:664,internet/defer:190,internet/defer:181,internet/defer:323,svc/svc:631,sagent/cqsvc:200,util/error:61,util/error:44 (SVC_RUN_EXCEPT)"
      ]
    ]
  },
  "service_status": {
    "api": "on",
    "auth": "on",
    "bridge": "on",
    "client_query": "on",
    "crl": "on",
    "daemon_pre": "on",
    "db_push": "on",
    "ip6tables_live": "on",
    "ip6tables_openvpn": "on",
    "iptables_live": "on",
    "iptables_openvpn": "on",
    "iptables_web": "on",
    "license": "on",
    "log": "on",
    "openvpn_0": "on",
    "openvpn_1": "on",
    "user": "on",
    "web": "on"
  }
}

My parameters are:

  • vpn_cidr: 0.0.0.0/0
  • ami: ami-d7576bc1
  • region: us-east-1
  • instance_type: t2.micro

Changed the ami to ami-f6eed4e0 (from here) and I still get the same error :|

@kwent couple questions:

  1. Could you look into this issue?
  2. Are you willing to migrate this module to the new https://github.com/terraform-aws-modules organization and eventually publish on the registry?