terraform-community-modules / tf_aws_openvpn

Terraform module which creates OpenVPN on AWS
Other
33 stars 19 forks source link

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

Open zacharynevin opened 6 years ago

zacharynevin commented 6 years ago

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:

zacharynevin commented 6 years ago

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

antonbabenko commented 6 years ago

@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?