charts icon indicating copy to clipboard operation
charts copied to clipboard

[chart/redis-ha][BUG] haproxy seems not to support dual stack

Open pburgisser opened this issue 3 years ago • 2 comments
trafficstars

Describe the bug Since the version 4.16.0, with the support of the dual ipv4 ipv6 stack, ha-proxy doesn't want start (in a argoCD deployment) To Reproduce Steps to reproduce the behavior:

  1. Use Argo-CD Helm chart 4.8.0 and 4.7.0 with dependencies to redis-ha 4.16.0
  2. The 3 haproxy are created with the default haproxy.cfg
  3. See error form the haproxy logs:
Defaulted container "haproxy" out of: haproxy, config-init (init)
[NOTICE]   (1) : haproxy version is 2.4.9-f8dcd9f
[NOTICE]   (1) : path to executable is /usr/local/sbin/haproxy
[ALERT]    (1) : Starting proxy health_check_http_url: cannot create receiving socket (Address family not supported by protocol) [:::8888]
[ALERT]    (1) : Starting frontend ft_redis_master: cannot create receiving socket (Address family not supported by protocol) [:::6379]
[ALERT]    (1) : Starting frontend stats: cannot create receiving socket (Address family not supported by protocol) [:::9101]
[ALERT]    (1) : [haproxy.main()] Some protocols failed to start their listeners! Exiting.
  1. Downgrade Argo-CD helm chart to 4.6.5 to depends on redis-ha 4.15.0 Additional context Argo-CD values file (currated):
argo-cd:
  dex:
    envFrom:
      - secretRef:
          name: dex-ldap-credentials
  redis:
    enabled: false
  redis-ha:
    enabled: true
  controller:
    replicas: 2
    metrics:
      enabled: true
  server:
    replicas: 2
    metrics:
      enabled: true    
    clusterAdminAccess:
      enabled: false
    rbacConfig:
      policy.csv: |
        p, role:none, applications, *, */*, deny
        p, role:none, projects, *, *, deny
        p, role:none, clusters, *, *, deny
      policy.default: 'role:none'
    config:
      admin.enabled: 'false'

Client Version: v1.24.0 Kustomize Version: v4.5.4 Server Version: v1.21.6+vmware.2

pburgisser avatar May 31 '22 12:05 pburgisser

@pburgisser I'll jump on this tomorrow morning.

DandyDeveloper avatar Jun 01 '22 12:06 DandyDeveloper

any updates? We are facing the same issue. While trying to upgrade Argocd with helm deployment.

oujonny avatar Jun 22 '22 14:06 oujonny

This should be resolved already in an adjustment made a while back for dual stack clusters.

DandyDeveloper avatar Aug 26 '22 01:08 DandyDeveloper

actually we are still seeing this error with the 4.22.1 release

patrickshan avatar Sep 06 '22 07:09 patrickshan

@patrickshan Have you tried setting this to false?

https://github.com/DandyDeveloper/charts/blob/master/charts/redis-ha/values.yaml#L201-L202

DandyDeveloper avatar Sep 06 '22 07:09 DandyDeveloper