aws-samples / aws-samples/eb-locustio-sample

Sample works great ! But..changes made to code is not good

Open
#6 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
106
Forks
57
PR merge metrics
No merged PRs in 30d

Description

This is a great example and it worked all great !

I have modified the code and checked-in to my repo and started fresh in an instance then I see this problem.

Its not able set the environment name and also couldn't get the master ip table.

When I try to manually set it via elastic beanstalk UI, it still rejects it and throws the same error.

Any help is appreciated.

15:23:29 build.1 | ./build.rb:63:in `+': no implicit conversion of Fixnum into String (TypeError)
15:23:29 build.1 | from ./build.rb:63:in `main'
15:23:29 build.1 | from ./build.rb:173:in `'
15:23:29 build.1 | Error retrieving number of instances in
15:23:29 build.1 | You must specify either EnvironmentName or EnvironmentId.
15:23:29 build.1 | Error writing master IP to
15:23:29 build.1 | undefined method `*' for nil:NilClass
15:23:29 build.1 | We are follower
15:23:29 build.1 | Read Attempt 1
15:23:29 build.1 | Error reading master IP from
15:23:29 build.1 | missing required parameter params[:table_name]
15:23:29 build.1 | Read Attempt 2
15:23:29 build.1 | Error reading master IP from
15:23:29 build.1 | missing required parameter params[:table_name]
15:23:29 build.1 | Read Attempt 3
15:23:29 build.1 | Error reading master IP from
15:23:29 build.1 | missing required parameter params[:table_name]
15:23:29 build.1 | Read Attempt 4
15:23:29 build.1 | Error reading master IP from
15:23:29 build.1 | missing required parameter params[:table_name]
15:23:29 build.1 | Read Attempt 5
15:23:29 build.1 | Error reading master IP from
15:23:29 build.1 | missing required parameter params[:table_name]
15:23:29 build.1 | exited with code 1
15:23:29 system | sending SIGTERM to all processes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.