Skip to content

Conversation

@JacobCoffee
Copy link
Member

Description

  • i tested it this time 🥲
## with new, working config
 correct state
    loadbalancer:      Started: 17:22:45.765876
    loadbalancer:     Duration: 3.187 ms
    loadbalancer:      Changes:
    loadbalancer: 
    loadbalancer: Summary for local
    loadbalancer: --------------
    loadbalancer: Succeeded: 181 (changed=1)
    loadbalancer: Failed:      0
    loadbalancer: --------------
    loadbalancer: Total states run:     181
    loadbalancer: Total run time:     7.156 s

## With old, broken config:
psf-salt [📝🤷✓] via  pyenv via ⍱ v2.4.3 took 2m27s 
➜ vu loadbalancer
Bringing machine 'loadbalancer' up with 'docker' provider...
==> loadbalancer: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> loadbalancer: flag to force provisioning. Provisioners marked to run always will still run.
==> loadbalancer: Running provisioner: shell...
    loadbalancer: Running: inline script
    loadbalancer: local:
    loadbalancer:     Data failed to compile:
    loadbalancer: ----------
    loadbalancer:     Pillar failed to render with the following messages:
    loadbalancer: ----------
    loadbalancer:     Rendering SLS 'haproxy' failed. Please see master log for details.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

@JacobCoffee JacobCoffee requested a review from ewdurbin as a code owner March 7, 2025 17:24
@JacobCoffee JacobCoffee merged commit a7d9703 into main Mar 7, 2025
2 checks passed
@JacobCoffee JacobCoffee deleted the moin-rate-limit branch March 7, 2025 17:26
@JacobCoffee
Copy link
Member Author

applied well

Summary for lb-1.nyc1.psf.io
--------------
Succeeded: 178 (changed=7)
Failed:      0
--------------
Total states run:     178
Total run time:    51.323 s

Summary for lb-0.nyc1.psf.io
--------------
Succeeded: 178 (changed=7)
Failed:      0
--------------
Total states run:     178
Total run time:    47.300 s

cfg:

coffee@lb-0:~$ sudo grep -i "moin" /etc/haproxy/haproxy.cfg
    # Rate limit config for moin
    acl is_moin hdr(host) -i wiki.python.org wiki.jython.org
    http-request deny deny_status 429 if is_moin { sc_http_req_rate(0) gt 50 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants