Skip to content
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

Fixes (failed in AWS new images + deprecated gflag) #34

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

FranckPachot
Copy link

The script failed on new Amazon images with:

warning: use_initial_sys_catalog_snapshot
Invalid port: expected port after ':' at position 0 in :7100
```
The error was: `--rpc_bind_addresses=:7100`
The reason was failure to get the IP from AWS metadata

Fix: Use IMDSv2 to get metadata on AWS
https://aws.amazon.com/about-aws/whats-new/2022/10/amazon-machine-images-support-instance-metadata-service-version-2-default/

Also removed `use_initial_sys_catalog_snapshot` which is deprecated

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.

1 participant