-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment Issue at step 6 #4
Comments
Have you installed the Ansible requirements? cd ansible
ansible-galaxy install -r requirements.yml |
@tinom9 that did the trick., it can't seem to reach the nodes and running
inventory looks okay:
|
Try |
Great, ty! Ping runs but seems like the instances aren't reachable:
I do see them all running in the AWS console though. |
I'd say it's not getting the right You can always test it by connecting to a validator instance with the specified params: ssh -i $SSH_KEY_FILE ubuntu@$VALIDATOR_01_INSTANCE_ID \
-o IdentitiesOnly=yes \
-o StrictHostKeyChecking=no \
-o ProxyCommand="sh -c \"aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'\"" |
What should I use for On a side note, there's a discrepancy in step 7 with the private key location |
@tinom9 can i ask what OS you're using? was just trying our run.sh w/o success:
|
are you still stuck on this? please confirm if |
I am actually stuck at the same place.
Any ideas? |
I was running into the same issue and was able to make some progress. The main issue i found was an AWS permission problem where i had to add a dedicated policy under my AWS IAM user. Its specific permission for the 4 validators and the geth-001 node. I also had to install session manager since along the way i got another error (https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html) { |
It's going to be important to use the full command: In
These can be edited based on your needs, but basically it would tell Ansible where to find your ssh key and also configure Ansible to use SSH over SSM. |
Finally got back to giving this a try, with the latest edge release and additions & changes to the docs. Turned out my aws ssm setup and setting vars (example.env step) was broken. |
Awesome - thanks @aphexyuri - We'll be adding more documentation around tuning, loading testing, and regular operations (e.g. looking at logs, etc). If you have any other thoughts of documentation that would be helpful, feel free to drop us a line. |
Firstly, thanks for the work on the TF/Ansible deployment. I did however run in to an issue at step 6 with the following:
Hoping it's a simple fix or something I'm missing; perhaps some steps required to set up Prometheus. Help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: