examples icon indicating copy to clipboard operation
examples copied to clipboard

redis-targetgroup and flask-targetgroup fail with InvalidConfigurationRequest: Stickiness type 'lb_cookie' is not supported for target groups with the TCP protocol

Open morganmcel opened this issue 3 years ago • 1 comments

What happened?

Diagnostics: pulumi:pulumi:Stack (voting-app-voting-app): E0501 11:26:51.651192873 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:26:58.558481431 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:26:59.893276229 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:27:00.329287539 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:27:00.555086129 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:27:00.684555188 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:28:55.670594827 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies E0501 11:28:58.884890525 25550 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies

error: update failed

docker:image:Image (flask-dockerimage): warning: WARNING! Your password will be stored unencrypted in /home/user/snap/docker/1767/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store

aws:lb:TargetGroup (flask-targetgroup): error: 1 error occurred: * creating urn:pulumi:voting-app-eadesign::voting-app-eadesign::aws:lb/targetGroup:TargetGroup::flask-targetgroup: 1 error occurred: * error modifying Target Group Attributes: InvalidConfigurationRequest: Stickiness type 'lb_cookie' is not supported for target groups with the TCP protocol status code: 400, request id: 7266ca7f-650c-40ef-b1e5-6235c8241cc1

aws:lb:TargetGroup (redis-targetgroup): error: 1 error occurred: * creating urn:pulumi:voting-app-eadesign::voting-app-eadesign::aws:lb/targetGroup:TargetGroup::redis-targetgroup: 1 error occurred: * error modifying Target Group Attributes: InvalidConfigurationRequest: Stickiness type 'lb_cookie' is not supported for target groups with the TCP protocol status code: 400, request id: 37022cf3-eeec-4e85-91f1-3dac4eb51bb7

Steps to reproduce

pulumi stack init voting-app-eadesign pulumi config set aws:region eu-west-1 pulumi config set redis-password --secret pulumi up

Expected Behavior

Stack should complete

Actual Behavior

Stack fails due to lb_cookie parameter

Versions used

No response

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

morganmcel avatar May 01 '22 11:05 morganmcel

Changing type="lb_cookie" to type="source_ip" removes the error — https://github.com/ansible/ansible/issues/67993#issuecomment-594711100

nonara avatar Mar 08 '23 16:03 nonara